diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 5eeb21f9..cb968ed4 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -9,10 +9,12 @@ jobs: steps: - uses: actions/checkout@master + - name: Delete composer files to avoid installing dependencies run: rm -v composer.json + - name: PHP-CS-Fixer - uses: docker://jakzal/phpqa:1.80.0-php7.4-alpine + uses: docker://jakzal/phpqa:1.96.3-php8.2-alpine with: args: php-cs-fixer --dry-run --diff --no-interaction --ansi fix diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e7d034d4..0f45958d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,20 +10,14 @@ jobs: strategy: fail-fast: false matrix: - # Symfony 5.4 requires PHP >= 7.2, it will be installed on PHP 7.4 - # Symfony 6.4 requires PHP >= 8.0, it will be installed on PHP >= 8.0 - # Symfony 7.0 requires PHP >= 8.2, it will be installed on PHP >= 8.2 - php-version: ['8.2'] + php-version: [''] composer-flags: [''] symfony-version: [''] mysql-client: [ "default-mysql-client" ] include: - - php-version: 7.4 + - php-version: 8.1 # Use "update" instead of "install" since it allows using the "--prefer-lowest" option composer-flags: "update --prefer-lowest" - - php-version: 7.4 - # add a specific job to test 5.4 for all Symfony packages - symfony-version: "^5.4" - php-version: 8.1 # add a specific job to test ^5.4 for all Symfony packages symfony-version: "^5.4" @@ -34,7 +28,6 @@ jobs: - php-version: 8.2 # add a specific job to test ^6.4 for all Symfony packages symfony-version: "^6.4" - - php-version: 8.2 - php-version: 8.2 symfony-version: "^7.0" - php-version: 8.3 diff --git a/composer.json b/composer.json index 55778257..8d92f3aa 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ } ], "require": { - "php": "^7.4 || ^8.0", + "php": "^8.1", "doctrine/common": "^2.13 || ^3.0", "doctrine/persistence": "^1.3.3 || ^2.0 || ^3.0", "symfony/deprecation-contracts": "^2.1 || ^3.0", diff --git a/tests/Test/ConfigMongodbTest.php b/tests/Test/ConfigMongodbTest.php index 2ad83367..7c74c3d3 100755 --- a/tests/Test/ConfigMongodbTest.php +++ b/tests/Test/ConfigMongodbTest.php @@ -50,9 +50,6 @@ protected function setUp(): void if (!class_exists(DoctrineMongoDBBundle::class)) { $this->markTestSkipped('Need doctrine/mongodb-odm-bundle package.'); } - if (version_compare(\PHP_VERSION, '8.1.0') < 0) { - $this->markTestSkipped('MongoDB Tests doesn\'t support Outdated PHP Version. <8.1.0'); - } parent::setUp();