diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7dff41460..afb02bcad 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,11 +13,11 @@ jobs: strategy: matrix: image: [ubuntu-20.04] - php: [8.0.23, 8.1.10] + php: [8.0.27, 8.1.14, 8.2.1] steps: - name: Build and prepare PHP cache - uses: pmmp/setup-php-action@82a44d659bf5046612c69f036af3e14dc32e3fa8 + uses: pmmp/setup-php-action@7e0f5f0a95e9d45d1d5fab0e1ee7555fa3b04339 with: php-version: ${{ matrix.php }} install-path: "./bin" @@ -31,13 +31,13 @@ jobs: fail-fast: false matrix: image: [ubuntu-20.04] - php: [8.0.23, 8.1.10] + php: [8.0.27, 8.1.14, 8.2.1] steps: - uses: actions/checkout@v3 - name: Setup PHP - uses: pmmp/setup-php-action@82a44d659bf5046612c69f036af3e14dc32e3fa8 + uses: pmmp/setup-php-action@7e0f5f0a95e9d45d1d5fab0e1ee7555fa3b04339 with: php-version: ${{ matrix.php }} install-path: "./bin" @@ -69,13 +69,13 @@ jobs: fail-fast: false matrix: image: [ubuntu-20.04] - php: [8.0.23, 8.1.10] + php: [8.0.27, 8.1.14, 8.2.1] steps: - uses: actions/checkout@v3 - name: Setup PHP - uses: pmmp/setup-php-action@82a44d659bf5046612c69f036af3e14dc32e3fa8 + uses: pmmp/setup-php-action@7e0f5f0a95e9d45d1d5fab0e1ee7555fa3b04339 with: php-version: ${{ matrix.php }} install-path: "./bin" @@ -107,7 +107,7 @@ jobs: fail-fast: false matrix: image: [ubuntu-20.04] - php: [8.0.23, 8.1.10] + php: [8.0.27, 8.1.14, 8.2.1] steps: - uses: actions/checkout@v3 @@ -115,7 +115,7 @@ jobs: submodules: true - name: Setup PHP - uses: pmmp/setup-php-action@82a44d659bf5046612c69f036af3e14dc32e3fa8 + uses: pmmp/setup-php-action@7e0f5f0a95e9d45d1d5fab0e1ee7555fa3b04339 with: php-version: ${{ matrix.php }} install-path: "./bin" @@ -147,13 +147,13 @@ jobs: fail-fast: false matrix: image: [ubuntu-20.04] - php: [8.0.23, 8.1.10] + php: [8.0.27, 8.1.14, 8.2.1] steps: - uses: actions/checkout@v3 - name: Setup PHP - uses: pmmp/setup-php-action@82a44d659bf5046612c69f036af3e14dc32e3fa8 + uses: pmmp/setup-php-action@7e0f5f0a95e9d45d1d5fab0e1ee7555fa3b04339 with: php-version: ${{ matrix.php }} install-path: "./bin" diff --git a/.github/workflows/update-php-versions.php b/.github/workflows/update-php-versions.php index 7ff798566..92e79a6de 100644 --- a/.github/workflows/update-php-versions.php +++ b/.github/workflows/update-php-versions.php @@ -23,7 +23,8 @@ declare(strict_types=1); const VERSIONS = [ "8.0", - "8.1" + "8.1", + "8.2" ]; $workflowFile = file_get_contents(__DIR__ . '/main.yml'); diff --git a/composer.json b/composer.json index 8c920bc41..41d30efe2 100644 --- a/composer.json +++ b/composer.json @@ -55,7 +55,7 @@ "symfony/filesystem": "^5.4" }, "require-dev": { - "phpstan/phpstan": "1.9.12", + "phpstan/phpstan": "1.9.13", "phpstan/phpstan-phpunit": "^1.1.0", "phpstan/phpstan-strict-rules": "^1.2.0", "phpunit/phpunit": "^9.2" diff --git a/composer.lock b/composer.lock index 73616bcc4..a48d419ba 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d6cafa9f9e236ad8d55c2eebdb51416a", + "content-hash": "19f6b653d5b36e04f2d799de5972e567", "packages": [ { "name": "adhocore/json-comment", @@ -1777,16 +1777,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.9.12", + "version": "1.9.13", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "44a338ff0d5572c13fd77dfd91addb96e48c29f8" + "reference": "a0922426da3a7d0d9334e99a363f7f9f6e23e84f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/44a338ff0d5572c13fd77dfd91addb96e48c29f8", - "reference": "44a338ff0d5572c13fd77dfd91addb96e48c29f8", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/a0922426da3a7d0d9334e99a363f7f9f6e23e84f", + "reference": "a0922426da3a7d0d9334e99a363f7f9f6e23e84f", "shasum": "" }, "require": { @@ -1816,7 +1816,7 @@ ], "support": { "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/1.9.12" + "source": "https://github.com/phpstan/phpstan/tree/1.9.13" }, "funding": [ { @@ -1832,7 +1832,7 @@ "type": "tidelift" } ], - "time": "2023-01-17T10:44:04+00:00" + "time": "2023-01-18T15:26:53+00:00" }, { "name": "phpstan/phpstan-phpunit", diff --git a/src/utils/Terminal.php b/src/utils/Terminal.php index 7144b8a9b..49b4224ec 100644 --- a/src/utils/Terminal.php +++ b/src/utils/Terminal.php @@ -92,7 +92,7 @@ abstract class Terminal{ self::$FORMAT_RESET = "\x1b[m"; - $color = fn(int $code) => "\x1b[38;5;${code}m"; + $color = fn(int $code) => "\x1b[38;5;{$code}m"; self::$COLOR_BLACK = $color(16); self::$COLOR_DARK_BLUE = $color(19); diff --git a/tests/plugins/DevTools b/tests/plugins/DevTools index 29324aad5..ff5a4fb83 160000 --- a/tests/plugins/DevTools +++ b/tests/plugins/DevTools @@ -1 +1 @@ -Subproject commit 29324aad5a1b6e494cf5e09c25bc1d3672340d90 +Subproject commit ff5a4fb83035dc5074162de5ec36185bc11cf9bb