diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 82843af..ace2e77 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Install PHP uses: shivammathur/setup-php@v2 @@ -31,4 +31,4 @@ jobs: uses: ramsey/composer-install@v3 - name: Run PHP CS Fixer - run: 'PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --dry-run --format=checkstyle | cs2pr' + run: 'vendor/bin/php-cs-fixer fix --dry-run --format=checkstyle | cs2pr' diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index e7e2120..f342505 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -16,10 +16,11 @@ jobs: php-version: - '8.3' - '8.4' + - '8.5' steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Install PHP with pcov uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 411a38e..c48a7e7 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Install PHP uses: shivammathur/setup-php@v2 diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 327653e..b235030 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -8,6 +8,8 @@ ; return (new PhpCsFixer\Config()) + ->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect()) + ->setUnsupportedPhpVersionAllowed(true) ->setRiskyAllowed(true) ->setRules([ '@Symfony' => true, diff --git a/composer.json b/composer.json index 9620ed0..cb906f6 100644 --- a/composer.json +++ b/composer.json @@ -27,11 +27,11 @@ "microsoft/microsoft-graph": "^1.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.69.0", - "phpstan/phpstan-deprecation-rules": "^2.0.1", - "phpstan/phpstan": "^2.1.5", - "phpunit/phpunit": "^12.0.3", - "symfony/var-dumper": "^7.2" + "friendsofphp/php-cs-fixer": "^3.86.0", + "phpstan/phpstan-deprecation-rules": "^2.0.3", + "phpstan/phpstan": "^2.1.22", + "phpunit/phpunit": "^12.3.7", + "symfony/var-dumper": "^7.3 || ^8.0" }, "scripts": { "ci": [ @@ -39,8 +39,8 @@ "@phpstan", "vendor/bin/phpunit --colors=auto" ], - "cs:dry": "PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --diff --dry-run --no-interaction --ansi", - "cs:fix": "PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --ansi", + "cs:dry": "vendor/bin/php-cs-fixer fix --diff --dry-run --no-interaction --ansi", + "cs:fix": "vendor/bin/php-cs-fixer fix --ansi", "phpstan": "vendor/bin/phpstan analyse --ansi" }, "autoload": {