|
@@ -20,10 +20,9 @@
|
|
|
"ext-dom": "*",
|
|
|
"ext-libxml": "*",
|
|
|
"symfony/polyfill-mbstring": "~1.20",
|
|
|
- "symfony/polyfill-iconv": "^1.23",
|
|
|
- "symfony/polyfill-php74": "^1.23",
|
|
|
- "symfony/polyfill-php80": "^1.23",
|
|
|
- "symfony/polyfill-php81": "^1.23",
|
|
|
+ "symfony/polyfill-iconv": "^1.20",
|
|
|
+ "symfony/polyfill-php74": "^1.20",
|
|
|
+ "symfony/polyfill-php80": "^1.20",
|
|
|
"psr/simple-cache": "^1.0",
|
|
|
"psr/http-message": "^1.0",
|
|
|
"psr/http-server-middleware": "^1.0",
|
|
@@ -56,16 +55,17 @@
|
|
|
"miljar/php-exif": "^0.6",
|
|
|
"composer/ca-bundle": "^1.2",
|
|
|
"dragonmantank/cron-expression": "^1.2",
|
|
|
+ "phive/twig-extensions-deferred": "^1.0",
|
|
|
"willdurand/negotiation": "^3.0",
|
|
|
"itsgoingd/clockwork": "^5.0",
|
|
|
+ "enshrined/svg-sanitize": "~0.13",
|
|
|
"symfony/http-client": "^4.4",
|
|
|
- "composer/semver": "^1.4",
|
|
|
- "rhukster/dom-sanitizer": "^1.0"
|
|
|
+ "composer/semver": "^1.4"
|
|
|
},
|
|
|
"require-dev": {
|
|
|
"codeception/codeception": "^4.1",
|
|
|
- "phpstan/phpstan": "^1.0",
|
|
|
- "phpstan/phpstan-deprecation-rules": "^1.0",
|
|
|
+ "phpstan/phpstan": "^0.12",
|
|
|
+ "phpstan/phpstan-deprecation-rules": "^0.12",
|
|
|
"phpunit/php-code-coverage": "~9.2",
|
|
|
"getgrav/markdowndocs": "^2.0",
|
|
|
"codeception/module-asserts": "^1.3",
|
|
@@ -93,8 +93,7 @@
|
|
|
},
|
|
|
"autoload": {
|
|
|
"psr-4": {
|
|
|
- "Grav\\": "system/src/Grav",
|
|
|
- "Twig\\": "system/src/Twig"
|
|
|
+ "Grav\\": "system/src/Grav"
|
|
|
},
|
|
|
"files": [
|
|
|
"system/defines.php"
|
|
@@ -108,8 +107,8 @@
|
|
|
"scripts": {
|
|
|
"api-17": "vendor/bin/phpdoc-md generate system/src > user/pages/14.api/default.17.md",
|
|
|
"post-create-project-cmd": "bin/grav install",
|
|
|
- "phpstan": "vendor/bin/phpstan analyse -l 1 -c ./tests/phpstan/phpstan.neon --memory-limit=520M system/src",
|
|
|
- "phpstan-framework": "vendor/bin/phpstan analyse -l 3 -c ./tests/phpstan/phpstan.neon --memory-limit=480M system/src/Grav/Framework system/src/Grav/Events system/src/Grav/Installer",
|
|
|
+ "phpstan": "vendor/bin/phpstan analyse -l 1 -c ./tests/phpstan/phpstan.neon --memory-limit=480M system/src",
|
|
|
+ "phpstan-framework": "vendor/bin/phpstan analyse -l 1 -c ./tests/phpstan/phpstan.neon --memory-limit=480M system/src/Grav/Framework system/src/Grav/Events system/src/Grav/Installer",
|
|
|
"phpstan-plugins": "vendor/bin/phpstan analyse -l 1 -c ./tests/phpstan/plugins.neon --memory-limit=400M user/plugins",
|
|
|
"test": "vendor/bin/codecept run unit",
|
|
|
"test-windows": "vendor\\bin\\codecept run unit"
|