From 6aaa011e732bb0bd07fb28944638177e6f2aa926 Mon Sep 17 00:00:00 2001 From: core23 Date: Wed, 1 Dec 2021 12:40:37 +0100 Subject: [PATCH] Update build tools --- .github/workflows/continuous-integration.yml | 2 +- phpstan.neon.dist | 2 +- vendor-bin/tools/composer.json | 28 +++++++++++--------- 3 files changed, 17 insertions(+), 15 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index d827a86..cd8c5e4 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -60,7 +60,7 @@ jobs: php${{ matrix.php-version }}-php-cs-fixer- - name: "Run friendsofphp/php-cs-fixer" - run: composer cs-diff + run: PHP_CS_FIXER_IGNORE_ENV=1 && composer cs-diff static-code-analysis: name: "Static Code Analysis" diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 9483883..6942426 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -2,7 +2,7 @@ includes: - phpstan-baseline.neon parameters: - level: max + level: 8 treatPhpDocTypesAsCertain: false diff --git a/vendor-bin/tools/composer.json b/vendor-bin/tools/composer.json index 9047195..60b0188 100644 --- a/vendor-bin/tools/composer.json +++ b/vendor-bin/tools/composer.json @@ -3,23 +3,25 @@ "type": "project", "description": "Development tools that do not conflict the project dependencies", "require-dev": { - "friendsofphp/php-cs-fixer": "^3.0", + "friendsofphp/php-cs-fixer": "^3.3", "infection/infection": "^0.25", - "jangregor/phpstan-prophecy": "^0.8", - "maglnet/composer-require-checker": "^3.1", - "matthiasnoback/symfony-dependency-injection-test": "^4.0", - "phpmd/phpmd": "^2.9", - "phpspec/prophecy-phpunit": "^2.0", + "maglnet/composer-require-checker": "^3.5", + "matthiasnoback/symfony-dependency-injection-test": "^4.3", + "phpmd/phpmd": "^2.10", "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-webmozart-assert": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpstan/phpstan-strict-rules": "^0.12", - "phpstan/phpstan-symfony": "^0.12", - "phpunit/phpunit": "^8.5 || ^9.0", + "phpstan/phpstan": "^1.0", + "phpstan/phpstan-phpunit": "^1.0", + "phpstan/phpstan-strict-rules": "^1.0", + "phpstan/phpstan-symfony": "^1.0", + "phpunit/phpunit": "^9.5", "psalm/plugin-phpunit": "^0.16", "psalm/plugin-symfony": "^3.0", "symfony/phpunit-bridge": "^6.0", - "vimeo/psalm": "^4.5" + "vimeo/psalm": "^4.13" + }, + "config": { + "platform": { + "php": "8.0" + } } }