diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index e24fea4d..ca16bd4e 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -43,7 +43,7 @@ jobs: strategy: fail-fast: ${{ github.event_name == 'pull_request' }} matrix: - php: ['8.1', '8.2', '8.3', '8.4', '8.5'] + php: ['8.2', '8.3', '8.4', '8.5'] postgis: ['3.4', '3.5', '3.6'] postgres: ['16', '17', '18'] exclude: diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 73dcf4c1..0beefc04 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -43,13 +43,10 @@ jobs: strategy: fail-fast: ${{ github.event_name == 'pull_request' }} matrix: - php: ['8.1', '8.2', '8.3', '8.4', '8.5'] + php: ['8.2', '8.3', '8.4', '8.5'] doctrine-lexer: ['2.1', '3.0', 'latest'] doctrine-orm: ['2.14', '2.18', '3.0', 'latest'] include: - - php: '8.1' - doctrine-orm: '2.14' - doctrine-lexer: '1.2' - php: '8.5' # Run coverage report only based on the latest dependencies doctrine-lexer: 'latest' doctrine-orm: 'latest' diff --git a/ci/php-cs-fixer/config.php b/ci/php-cs-fixer/config.php index ddbe3247..96b0911c 100644 --- a/ci/php-cs-fixer/config.php +++ b/ci/php-cs-fixer/config.php @@ -19,6 +19,8 @@ [ '@PSR2' => true, '@PHP7x1Migration' => true, + '@PHP8x1Migration' => true, + '@PHP8x2Migration' => true, '@DoctrineAnnotation' => true, '@PhpCsFixer' => true, 'align_multiline_comment' => false, diff --git a/composer.json b/composer.json index 8792d975..438b610b 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ }, "require": { - "php": "^8.1 <8.6", + "php": "^8.2 <8.6", "ext-ctype": "*", "ext-json": "*", "ext-mbstring": "*", diff --git a/tests/Unit/MartinGeorgiev/Doctrine/DBAL/Types/TextArrayTest.php b/tests/Unit/MartinGeorgiev/Doctrine/DBAL/Types/TextArrayTest.php index f969587c..6c843c26 100644 --- a/tests/Unit/MartinGeorgiev/Doctrine/DBAL/Types/TextArrayTest.php +++ b/tests/Unit/MartinGeorgiev/Doctrine/DBAL/Types/TextArrayTest.php @@ -90,13 +90,13 @@ public static function provideValidTransformations(): array 'some text here', 'and some here', <<<'END' -''"quotes"'' ain't no """worry""", '''right''' Alexander O'Vechkin? -END, + ''"quotes"'' ain't no """worry""", '''right''' Alexander O'Vechkin? + END, 'and "double-quotes"', ], 'postgresValue' => <<<'END' -{1,"2",3.4,"5.6","text","some text here","and some here","''\"quotes\"'' ain't no \"\"\"worry\"\"\", '''right''' Alexander O'Vechkin?","and \"double-quotes\""} -END, + {1,"2",3.4,"5.6","text","some text here","and some here","''\"quotes\"'' ain't no \"\"\"worry\"\"\", '''right''' Alexander O'Vechkin?","and \"double-quotes\""} + END, ], [ 'phpValue' => ['STRING_A', 'STRING_B', 'STRING_C', 'STRING_D'],