diff --git a/.github/workflows/analyzers.yaml b/.github/workflows/analyzers.yaml index d32db0f..2088d66 100644 --- a/.github/workflows/analyzers.yaml +++ b/.github/workflows/analyzers.yaml @@ -12,7 +12,7 @@ jobs: strategy: matrix: operating-system: [ubuntu-latest] - php-versions: ['8.1', '8.2'] + php-versions: ['8.1', '8.2', '8.3'] fail-fast: false name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }} steps: @@ -25,6 +25,6 @@ jobs: tools: 'composer:v2' extensions: pcov, mbstring, posix, xdebug, dom, libxml, xml, xsl, xmlreader, xmlwriter - name: Install dependencies - run: composer update --prefer-dist --no-progress --no-suggest ${{ matrix.composer-options }} + run: composer update --ignore-platform-req=php --prefer-dist --no-progress --no-suggest ${{ matrix.composer-options }} - name: Run the tests run: composer run psalm diff --git a/.github/workflows/autoloader.yaml b/.github/workflows/autoloader.yaml index baf74b5..cb69366 100644 --- a/.github/workflows/autoloader.yaml +++ b/.github/workflows/autoloader.yaml @@ -7,7 +7,7 @@ jobs: strategy: matrix: operating-system: [ubuntu-latest] - php-versions: ['8.1', '8.2'] + php-versions: ['8.1', '8.2', '8.3'] fail-fast: false name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }} steps: @@ -20,7 +20,7 @@ jobs: tools: 'composer:v2' extensions: pcov, mbstring, posix - name: Install dependencies - run: composer update --prefer-dist --no-progress --no-suggest ${{ matrix.composer-options }} + run: composer update --ignore-platform-req=php --prefer-dist --no-progress --no-suggest ${{ matrix.composer-options }} - name: Parse autoloader run: composer run autoload - name: Check if the autloader is up to date diff --git a/.github/workflows/code-style.yaml b/.github/workflows/code-style.yaml index ed80b34..af69743 100644 --- a/.github/workflows/code-style.yaml +++ b/.github/workflows/code-style.yaml @@ -1,13 +1,17 @@ name: CodeStyle on: [push, pull_request] + +env: + PHP_CS_FIXER_IGNORE_ENV: 1 + jobs: run: runs-on: ${{ matrix.operating-system }} strategy: matrix: operating-system: [ubuntu-latest] - php-versions: ['8.1', '8.2'] + php-versions: ['8.1', '8.2', '8.3'] fail-fast: false name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }} steps: @@ -20,6 +24,6 @@ jobs: tools: 'composer:v2' extensions: pcov, mbstring, posix - name: Install dependencies - run: composer update --prefer-dist --no-progress --no-suggest ${{ matrix.composer-options }} + run: composer --ignore-platform-req=php update --prefer-dist --no-progress --no-suggest ${{ matrix.composer-options }} - name: Run the tests run: composer run cs diff --git a/.github/workflows/stress.yaml b/.github/workflows/stress.yaml index 6ce8630..744f9ee 100644 --- a/.github/workflows/stress.yaml +++ b/.github/workflows/stress.yaml @@ -7,7 +7,7 @@ jobs: strategy: matrix: operating-system: [ubuntu-latest] - php-versions: ['8.1', '8.2'] + php-versions: ['8.1', '8.2', '8.3'] fail-fast: false name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }} steps: @@ -21,6 +21,6 @@ jobs: tools: 'composer:v2' extensions: pcov, mbstring, posix, dom, libxml, xml, xsl, xmlreader, xmlwriter - name: Install dependencies - run: composer update --prefer-dist --no-progress --no-suggest + run: composer update --ignore-platform-req=php --prefer-dist --no-progress --no-suggest - name: Run the stress tests run: composer run stress diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index af0d0a6..be91503 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -12,7 +12,7 @@ jobs: strategy: matrix: operating-system: [ubuntu-latest] - php-versions: ['8.1', '8.2'] + php-versions: ['8.1', '8.2', '8.3'] experimental: [false] fail-fast: false name: PHP ${{ matrix.php-versions }} @ ${{ matrix.operating-system }} @@ -27,7 +27,7 @@ jobs: ini-values: error_reporting=E_ALL extensions: pcov, mbstring, posix, dom, libxml, xml, xsl, xmlreader, xmlwriter - name: Install dependencies - run: composer update --prefer-dist --no-progress --no-suggest + run: composer update --ignore-platform-req=php --prefer-dist --no-progress --no-suggest - name: Run the tests run: composer run tests - name: Check tests quality diff --git a/composer.json b/composer.json index fe20a91..855257f 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,7 @@ ], "type": "library", "require": { - "php": "~8.1.0 || ~8.2.0", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0", "ext-dom": "*", "ext-libxml": "*", "ext-xml": "*",