diff --git a/.github/workflows/lint-and-analyse-php.yml b/.github/workflows/lint-and-analyse-php.yml index 76d124a..473f3b1 100644 --- a/.github/workflows/lint-and-analyse-php.yml +++ b/.github/workflows/lint-and-analyse-php.yml @@ -11,10 +11,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Set up PHP 8.1 + - name: Set up PHP 8.2 uses: shivammathur/setup-php@v2 with: - php-version: 8.1 + php-version: 8.2 - name: Validate composer.json and composer.lock run: composer validate --strict @@ -31,7 +31,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-version: [ '8.1' ] + php-version: [ '8.2' ] steps: - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4b8c10d..6c804d7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: continue-on-error: ${{ matrix.experimental }} strategy: matrix: - php-version: ['8.1', '8.2', '8.3'] + php-version: ['8.2', '8.3'] extensions: [':apcu, mbstring', 'apcu, mbstring'] os: [ubuntu-latest] experimental: [false] diff --git a/.scrutinizer.yml b/.scrutinizer.yml index e49692c..a4438e4 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -17,7 +17,7 @@ build: nodes: analysis: environment: - php: 8.1 + php: 8.2 dependencies: before: - composer install diff --git a/composer.json b/composer.json index 6c75e98..abf89de 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ ] }, "require": { - "php": "^8.1", + "php": "^8.2", "symfony/expression-language": "^6.2" }, "require-dev": { diff --git a/psalm-baseline.xml b/psalm-baseline.xml index c7e25bd..c332561 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,19 +1,19 @@ - + - $cached - $msgstr - $msgstr + + + - assert(is_array($translations)) - is_array($translations) + + - string + @@ -21,29 +21,29 @@ - $result + - int + - $data - int[] + + - $evaluatedPlural + pluralCount]]> - $nplurals[1] +