From 6c198953bcd17afe44d303220ec959d88ffc2891 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 12 May 2022 07:29:36 +0200 Subject: update to 5.2.0 (2022-10-12, new features release) --- composer.json | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index c50a703..4726ad0 100644 --- a/composer.json +++ b/composer.json @@ -93,7 +93,7 @@ "php-webdriver/webdriver": "^1.11", "phpmyadmin/coding-standard": "^3.0.0", "phpstan/extension-installer": "^1.1", - "phpstan/phpstan": "^1.3", + "phpstan/phpstan": "^1.4.8", "phpstan/phpstan-phpunit": "^1.0", "phpstan/phpstan-webmozart-assert": "^1.0", "phpunit/phpunit": "^8.5 || ^9.5", @@ -102,7 +102,7 @@ "roave/security-advisories": "dev-latest", "symfony/console": "^5.2.3", "tecnickcom/tcpdf": "^6.4.4", - "vimeo/psalm": "^4.17" + "vimeo/psalm": "^4.22" }, "extra": { "branch-alias": { @@ -110,19 +110,22 @@ } }, "scripts": { - "phpcbf": "phpcbf", - "phpcs": "phpcs", - "phpstan": "phpstan analyse", - "psalm": "psalm --no-diff", - "phpunit": "phpunit --color=always", + "phpcbf": "@php phpcbf", + "phpcs": "@php phpcs", + "phpstan": "@php phpstan analyse", + "psalm": "@php psalm --no-diff", + "phpunit": "@php phpunit --color=always", "test": [ "@phpcs", "@phpstan", "@psalm", "@phpunit" ], - "update:baselines": "phpstan analyse --generate-baseline && psalm --set-baseline=psalm-baseline.xml", - "twig-lint": "php scripts/console lint:twig --ansi --show-deprecations" + "update:baselines": [ + "@php phpstan analyse --generate-baseline", + "@php psalm --set-baseline=psalm-baseline.xml" + ], + "twig-lint": "@php scripts/console lint:twig --ansi --show-deprecations" }, "config":{ "sort-packages": true, -- cgit