diff options
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/composer.json b/composer.json index 3c08e1f..ad66e1a 100644 --- a/composer.json +++ b/composer.json @@ -35,8 +35,8 @@ "psr/http-client": "^1.0", "psr/http-server-handler": "^1.0", "psr/http-server-middleware": "^1.0", - "psr/log": "^1.0.0", - "psr/simple-cache": "^1.0.0" + "psr/log": "^1.0 || ^2.0", + "psr/simple-cache": "^1.0 || ^2.0" }, "replace": { "cakephp/cache": "self.version", @@ -69,7 +69,10 @@ }, "config": { "process-timeout": 900, - "sort-packages": true + "sort-packages": true, + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true + } }, "autoload": { "psr-4": { @@ -111,7 +114,7 @@ "@psalm" ], "stan-tests": "phpstan.phar analyze -c tests/phpstan.neon", - "stan-setup": "cp composer.json composer.backup && composer require --dev symfony/polyfill-php81 phpstan/phpstan:~1.0.0 psalm/phar:~4.11.0 && mv composer.backup composer.json", + "stan-setup": "cp composer.json composer.backup && composer require --dev symfony/polyfill-php81 phpstan/phpstan:~1.4.0 psalm/phar:~4.19.0 && mv composer.backup composer.json", "lowest": "validate-prefer-lowest", "lowest-setup": "composer update --prefer-lowest --prefer-stable --prefer-dist --no-interaction && cp composer.json composer.backup && composer require --dev dereuromark/composer-prefer-lowest && mv composer.backup composer.json", "test": "phpunit", |