Rasmus Lerdorf
|
32a9acc62e
|
Add a .phan config file and stubs for Phan static analysis
I fixed some small inconsistencies here and there. There are still
a little over 200 to go. This time against the 1.7 branch.
To try it, checkout this PR and run:
composer require phan/phan
It doesn't have to be in the Grav tree. You can install it anywhere.
Then from the top-level Grav dir:
/vendor/bin/phan -p
You can see the ones that are left to address here:
https://gist.github.com/69eac9b37ced1cadc08ed4be0ee84f40
Also, and the main reason I added it, was to get some nice
dependency graphs from Phan to help me understand the Grav code. Some
examples:
http://pdep.lerdorf.com/?mode=class&node=\Grav\Common\File\CompiledFile&d=3
http://pdep.lerdorf.com/?mode=class&node=\Grav\Common\Filesystem\Folder&d=1
http://pdep.lerdorf.com/?mode=class&node=\Doctrine\Common\Cache\Cache&d=2
http://pdep.lerdorf.com/?mode=class&node=\RocketTheme\Toolbox\ArrayTraits\Export&d=1
Move the slider to change the number of dependency levels shown.
|
2019-10-16 10:38:08 -07:00 |
|
Rasmus Lerdorf
|
d568ddfa5c
|
Merge pull request #1 from getgrav/1.7
1.7
|
2019-10-16 09:02:17 -07:00 |
|
Matias Griese
|
1656f0160b
|
Enabled preview for pages
|
2019-10-16 14:01:48 +03:00 |
|
Matias Griese
|
14b33824b1
|
Added mime support for file formatters
|
2019-10-16 14:01:30 +03:00 |
|
Matias Griese
|
7902912269
|
Added template_from_string() twig function
|
2019-10-16 14:00:37 +03:00 |
|
Matias Griese
|
2db04e43d1
|
Hide accounts and pages from flex types page (frontend)
|
2019-10-16 12:00:43 +03:00 |
|
Matias Griese
|
467c33d3e1
|
More phpstan issues
|
2019-10-16 09:48:22 +03:00 |
|
Matias Griese
|
87f17d296d
|
More phpstan issues
|
2019-10-15 19:40:57 +03:00 |
|
Matias Griese
|
7ba964f161
|
One more PHP 7.1 issue
|
2019-10-15 18:57:15 +03:00 |
|
Matias Griese
|
77205fb3d8
|
More phpstan fixes
|
2019-10-15 18:49:24 +03:00 |
|
Patric Johansson
|
4bba284bf5
|
Update Core to follow PSR-2 standard
|
2019-10-15 13:33:48 +03:00 |
|
Matias Griese
|
a6e78de197
|
Fixed multi-language saving issues with default language in Flex Pages
|
2019-10-14 11:11:00 +03:00 |
|
Matias Griese
|
8fc7755e90
|
Flex page: fixed filtering where route has been defined but is null
|
2019-10-14 10:53:46 +03:00 |
|
Matias Griese
|
fdfb5bb8ac
|
Updated clockwork and debugbar
|
2019-10-14 10:19:50 +03:00 |
|
Andy Miller
|
d0800136b7
|
Cache tag: key is no longer required + lifetime optional
|
2019-10-13 17:10:41 -06:00 |
|
Andy Miller
|
d368aeafd4
|
Removed need for unique ID
|
2019-10-13 17:02:07 -06:00 |
|
Matias Griese
|
e59c596886
|
Fixed PageTranslateTrait::getAllLanguages() and getAllLanguages() to include default language
|
2019-10-11 13:43:14 +03:00 |
|
Matias Griese
|
411656a9d6
|
Added array_diff() twig function
|
2019-10-11 13:39:59 +03:00 |
|
Matias Griese
|
8599faaf3b
|
Regression: getFlexFeatures() filtering issues after moving classes
|
2019-10-11 11:07:56 +03:00 |
|
Matias Griese
|
90e55ead29
|
Fixed regression in storage filename matching
|
2019-10-11 10:39:23 +03:00 |
|
Matias Griese
|
f85c94b403
|
Fixed type hint in SelfUpgradeCommand
|
2019-10-11 07:41:01 +03:00 |
|
Djamil Legato
|
b4fa7e38b9
|
Selfupgrade CLI: Fixed broken selfupgrade assets reference (fixes #2681)
|
2019-10-10 12:25:28 -07:00 |
|
Matias Griese
|
411871f636
|
Fixed phpstan bugs in Framework
|
2019-10-10 18:15:27 +03:00 |
|
Matias Griese
|
b01d1baa53
|
Improved Flex to support custom site template paths
|
2019-10-10 16:16:54 +03:00 |
|
Matias Griese
|
c3c33e954c
|
Composer update
|
2019-10-10 16:07:03 +03:00 |
|
Matias Griese
|
edd0bc25a2
|
Added Utils::simpleTemplate() method for very simple variable templating
|
2019-10-10 16:06:39 +03:00 |
|
Matias Griese
|
6c57104658
|
Grav 1.7: Fixed PHP 7.1 compatibility issues
|
2019-10-10 16:05:21 +03:00 |
|
Matias Griese
|
26d7181eca
|
Fixed fatal error if there are numeric folders in Flex Pages
|
2019-10-10 14:01:48 +03:00 |
|
Matias Griese
|
1fb611655f
|
Bug fix on page admin being disabled
|
2019-10-09 15:44:10 +03:00 |
|
Matias Griese
|
b561c2b47c
|
Improved Flex Users: obey blueprints and allow Flex to be used in admin only
|
2019-10-09 15:29:09 +03:00 |
|
Matias Griese
|
9beefb3162
|
Allow Flex Pages to be initialized separately in site and admin, remove Flex Objects plugin dependency
|
2019-10-09 15:24:26 +03:00 |
|
Matias Griese
|
41851b73b9
|
Fixed issue with duplicate configuration settings in Flex Directory
|
2019-10-09 15:20:20 +03:00 |
|
Matias Griese
|
c325c24897
|
Fixed phpstan issues in Framework up to level 6
|
2019-10-09 10:41:15 +03:00 |
|
Matias Griese
|
efd4e52571
|
Added Flex Pages classes
|
2019-10-08 21:42:22 +03:00 |
|
Matias Griese
|
565f26db8e
|
Code quality improvements
|
2019-10-08 16:58:59 +03:00 |
|
Matias Griese
|
b641b0e442
|
Fixed Flex Pages not calling onPageProcessed event when cached
|
2019-10-07 13:45:49 +03:00 |
|
Matias Griese
|
2a6276a941
|
Fixed Page::untranslatedLanguages() not being symmetrical to Page::translatedLanguages()
|
2019-10-07 12:36:50 +03:00 |
|
Andy Miller
|
7dafa2a207
|
prepare for beta.10 release
1.7.0-beta.10
|
2019-10-03 14:31:28 -06:00 |
|
Matias Griese
|
5253aa6aef
|
Fixed user avatar file is not being randomized
|
2019-10-03 22:40:03 +03:00 |
|
Matias Griese
|
1b34530a4a
|
Merge remote-tracking branch 'origin/1.7' into 1.7
|
2019-10-03 22:11:24 +03:00 |
|
Matias Griese
|
ae41b6f5ff
|
Fixed Flex User Avatar not fully backwards compatible with old user
|
2019-10-03 22:11:13 +03:00 |
|
Andy Miller
|
4d09a345a4
|
Merge branch 'develop' into 1.7
# Conflicts:
# CHANGELOG.md
|
2019-10-03 13:06:45 -06:00 |
|
Matias Griese
|
8ac3451fbc
|
Revert chReverted setting language for every page during initialization
|
2019-10-03 21:41:58 +03:00 |
|
Matias Griese
|
15f1f2a03d
|
Revert chReverted setting language for every page during initialization
|
2019-10-03 19:17:22 +03:00 |
|
Matias Griese
|
ffa9ef6a7e
|
Grav 1.7: Fixed prev/next page missing pages if pagination was turned on in page header
|
2019-10-03 15:16:11 +03:00 |
|
Matias Griese
|
a75c0cbe62
|
Fixed wrong Grav param separator when using Route class
|
2019-10-03 10:56:05 +03:00 |
|
Andy Miller
|
c795ead402
|
Updated changelog
|
2019-10-01 17:52:14 -06:00 |
|
Andy Miller
|
91270c9c66
|
CSVFormatter null char support
|
2019-10-01 17:51:29 -06:00 |
|
Andy Miller
|
9259c2f660
|
Updated changelog
|
2019-10-01 17:51:17 -06:00 |
|
Andy Miller
|
138d1e93e3
|
CSVFormatter null char support
|
2019-10-01 17:51:02 -06:00 |
|