diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 5d28c145..5e3d1ba2 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -7,7 +7,7 @@ jobs: steps: - uses: actions/checkout@master - name: PHPStan - uses: docker://jakzal/phpqa:php8.0 + uses: docker://jakzal/phpqa:php8.2 with: args: phpstan analyze --no-progress @@ -18,5 +18,6 @@ jobs: - uses: actions/checkout@master - name: PHP-CS-Fixer uses: docker://jakzal/phpqa:php8.0 + # TODO change to php 8.2, after PHP-CS-Fixer support is implemented with: args: php-cs-fixer fix --config=.php_cs.dist.php --dry-run diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ddc5d574..c00b4208 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,18 +14,18 @@ jobs: matrix: include: - php: '7.4' - symfony-require: 4.4.* + symfony-require: 5.4.* - php: '8.0' - symfony-require: 5.3.* + symfony-require: 5.4.* - php: '8.0' symfony-require: 6.0.* - stability: dev - php: '8.1' + - php: '8.2' fail-fast: false steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/.gitignore b/.gitignore index d4e9ee90..65648777 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ /.idea/ /.php_cs.cache +/.php-cs-fixer.cache /.phpunit.result.cache /composer.lock /composer.phar diff --git a/CHANGELOG.md b/CHANGELOG.md index a64dd371..cf6eb112 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +- Remove support for Symfony 4.4 + ## [3.9.1] - 2023-01-16 ### Fixed diff --git a/composer.json b/composer.json index 0d4200f2..9a7f689d 100644 --- a/composer.json +++ b/composer.json @@ -14,18 +14,18 @@ "require": { "php": ">=7.4", "giggsey/libphonenumber-for-php": "^8.0", - "symfony/framework-bundle": "^4.4|^5.3|^6.0", - "symfony/intl": "^4.4|^5.3|^6.0" + "symfony/framework-bundle": "^5.4|^6.0", + "symfony/intl": "^5.4|^6.0" }, "require-dev": { "doctrine/doctrine-bundle": "^1.12|^2.0", "phpspec/prophecy-phpunit": "^2.0", "phpunit/phpunit": "^9.5", - "symfony/form": "^4.4|^5.3|^6.0", - "symfony/property-access": "^4.4|^5.3|^6.0", - "symfony/serializer": "^4.4|^5.3|^6.0.1", - "symfony/twig-bundle": "^4.4|^5.3|^6.0", - "symfony/validator": "^4.4|^5.3|^6.0" + "symfony/form": "^5.4|^6.0", + "symfony/property-access": "^5.4|^6.0", + "symfony/serializer": "^5.4|^6.0.1", + "symfony/twig-bundle": "^5.4|^6.0", + "symfony/validator": "^5.4|^6.0" }, "suggest": { "doctrine/doctrine-bundle": "Add a DBAL mapping type", diff --git a/phpstan.neon.dist b/phpstan.neon.dist index e34a993a..f5d1335a 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -9,3 +9,4 @@ parameters: message: "#^Attribute class Symfony\\\\Component\\\\Validator\\\\Attribute\\\\HasNamedArguments does not exist\\.$#" count: 1 path: src/Validator/Constraints/PhoneNumber.php + reportUnmatched: false diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 6bb3cb6f..77ad57d7 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,14 +1,19 @@ + + + + + src + + + + + + tests + + - - - - tests - - - - - src - -