From 3fe68632dd157f28420eb3f9df8170d43daf32b6 Mon Sep 17 00:00:00 2001 From: Fred-Jan van der Eijken Date: Mon, 14 Aug 2023 10:53:26 +0200 Subject: [PATCH] chore(MOS-855): Add PHP 8.2 support --- .github/workflows/test.yaml | 2 +- composer.json | 2 +- src/Configuration.php | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 19315b2..8aed236 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v3 - uses: shivammathur/setup-php@v2 with: - php-version: 8.1 + php-version: 8.2 coverage: none - uses: ramsey/composer-install@v2 - id: set-php-versions diff --git a/composer.json b/composer.json index 6a13100..99ba209 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "symfony/process": "^5.4 || ^6.0" }, "require-dev": { - "myonlinestore/coding-standard": "dev-doctrine-cs-10", + "myonlinestore/coding-standard": "^4.0", "doctrine/coding-standard": "10.0.x-dev", "phpunit/phpunit": "^9.5", "roave/infection-static-analysis-plugin": "^1.19", diff --git a/src/Configuration.php b/src/Configuration.php index fd35c4a..7203615 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -10,19 +10,19 @@ final class Configuration { private const PHP_VERSIONS = [ - '8.0', '8.1', + '8.2', ]; /** @var array>|null */ - private array|null $enabledTools = null; + private array | null $enabledTools = null; /** @var list|null */ - private array|null $phpVersions = null; + private array | null $phpVersions = null; private string $rootDir; - private string|null $workingDir = null; - private string|null $threads = null; + private string | null $workingDir = null; + private string | null $threads = null; public function __construct() {