diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2025-02-10 17:15:12 +0000 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2025-02-10 17:15:12 +0000 |
| commit | 0d941f326efaf7da0c81fd753ff3cc6ae5bd3380 (patch) | |
| tree | 792d062e7940304a85ea67f6839bb56277d1f1b4 /composer.json | |
| parent | bcd965a62a48715c708d49473367fb63dc1f5f13 (diff) | |
| download | webtrees-0d941f326efaf7da0c81fd753ff3cc6ae5bd3380.tar.gz webtrees-0d941f326efaf7da0c81fd753ff3cc6ae5bd3380.tar.bz2 webtrees-0d941f326efaf7da0c81fd753ff3cc6ae5bd3380.zip | |
Fix version of phpstan
Diffstat (limited to 'composer.json')
| -rw-r--r-- | composer.json | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/composer.json b/composer.json index cef14b0f4e..9bb285142e 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,10 @@ "php": "8.3.0" }, "sort-packages": true, - "process-timeout": 3600 + "process-timeout": 3600, + "allow-plugins": { + "phpstan/extension-installer": true + } }, "require": { "php": "8.3 - 8.4", @@ -80,6 +83,11 @@ "ext-sqlite3": "*", "league/flysystem-memory": "3.29.0", "php-coveralls/php-coveralls": "2.7.0", + "phpstan/extension-installer": "1.4.3", + "phpstan/phpstan": "2.0.4", + "phpstan/phpstan-deprecation-rules": "2.0.1", + "phpstan/phpstan-phpunit": "2.0.4", + "phpstan/phpstan-strict-rules": "2.0.3", "phpunit/phpunit": "12.0.2", "squizlabs/php_codesniffer": "3.11.3" }, @@ -121,12 +129,10 @@ "vendor/bin/phpcs --colors --extensions=css resources/css" ], "webtrees:phpstan": [ - "@composer global require --quiet phpstan/phpstan=* phpstan/extension-installer=* phpstan/phpstan-deprecation-rules=* phpstan/phpstan-strict-rules=* phpstan/phpstan-phpunit=*", - "~/.composer/vendor/bin/phpstan analyze -v --memory-limit=-1" + "vendor/bin/phpstan analyze -v --memory-limit=-1" ], "webtrees:phpstan-baseline": [ - "@composer global require --quiet phpstan/phpstan=* phpstan/extension-installer=* phpstan/phpstan-deprecation-rules=* phpstan/phpstan-strict-rules=* phpstan/phpstan-phpunit=*", - "~/.composer/vendor/bin/phpstan analyze --memory-limit=-1 --generate-baseline=phpstan-baseline.neon" + "vendor/bin/phpstan analyze --memory-limit=-1 --generate-baseline=phpstan-baseline.neon" ], "webtrees:psalm": [ "@composer global require --quiet vimeo/psalm", |
