diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e1a7fb..7b5212a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,6 +46,7 @@ jobs: - 8.2 - 8.3 - 8.4 + - 8.5 dependencies_level: - --prefer-lowest - "" @@ -88,6 +89,7 @@ jobs: - name: Run PHPStan run: vendor/bin/phpstan analyse --no-progress - name: Run psalm + if: ${{!(matrix.php_version == '8.5' && matrix.dependencies_level == '--prefer-lowest')}} run: vendor/bin/psalm - name: Run phan if: ${{ matrix.os != 'windows-latest' && matrix.php_version != '8.1' && matrix.php_version != '8.2' }} diff --git a/MO4/Library/PregLibrary.php b/MO4/Library/PregLibrary.php index e32445e..5925dc0 100644 --- a/MO4/Library/PregLibrary.php +++ b/MO4/Library/PregLibrary.php @@ -16,6 +16,9 @@ use PHP_CodeSniffer\Exceptions\RuntimeException; +/** + * @psalm-api + */ final class PregLibrary { /** diff --git a/composer.json b/composer.json index 51843e5..f9cc6b7 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ "psalm/plugin-phpunit": "^0.19", "sabre/event": ">= 5.1.6", "symfony/filesystem": ">= 5.4.45", - "vimeo/psalm": ">= 6.0.0 < 6.15.0" + "vimeo/psalm": ">= 6.14.3 < 6.15.0" }, "config": { "allow-plugins": {