diff --git a/.github/workflows/reusable-validate.yml b/.github/workflows/reusable-validate.yml index bc246cf..20cbfe0 100644 --- a/.github/workflows/reusable-validate.yml +++ b/.github/workflows/reusable-validate.yml @@ -30,7 +30,7 @@ jobs: strategy: fail-fast: true matrix: - php: ['5.4', 'latest'] + php: ['7.2', 'latest'] name: PHP ${{ matrix.php }} runs-on: ubuntu-latest diff --git a/CHANGELOG.md b/CHANGELOG.md index 96cb907..f2fb390 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a CHANGELOG](https://keepachangelog.com/). +## [2.0.0-alpha2] - 2026-11-17 + +* The documentation has been updated to align with the recently released [PHPCompatibility 10.0.0-alpha3] version. +* Support for PHP < 7.2 has been (soft) dropped. +* Support for PHP_CodeSniffer 3.x has been (soft) dropped. + +[10.0.0-alpha3]: https://github.com/PHPCompatibility/PHPCompatibility/releases/tag/10.0.0-alpha3 + ## [2.0.0-alpha1] - 2025-10-22 * Composer: All PHPCompatibility dependencies have been updated to the recently released PHPCompatibility 10.0.0-alpha1 based versions. @@ -62,6 +70,7 @@ Initial release containing the PHPCompatibility, PHPCompatibilityJoomla and PHPC [Composer PHPCS plugin]: https://github.com/PHPCSStandards/composer-installer/ +[2.0.0-alpha2]: https://github.com/PHPCompatibility/PHPCompatibilityAll/compare/2.0.0-alpha1...2.0.0-alpha2 [2.0.0-alpha1]: https://github.com/PHPCompatibility/PHPCompatibilityAll/compare/1.1.5...2.0.0-alpha1 [1.1.5]: https://github.com/PHPCompatibility/PHPCompatibilityAll/compare/1.1.4...1.1.5 [1.1.4]: https://github.com/PHPCompatibility/PHPCompatibilityAll/compare/1.1.3...1.1.4 diff --git a/README.md b/README.md index 0968fe5..6710ef1 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,8 @@ If you use PHPCompatibility, please fund this work by setting up a monthly contr ## Requirements -* PHP > 5.4 -* [PHP_CodeSniffer] > 3.13.3. +* PHP > 7.2 +* [PHP_CodeSniffer] > 4.0.2. Use the latest stable release of PHP_CodeSniffer for the best results. * [Composer] @@ -110,13 +110,6 @@ vendor/bin/phpcs -p . --standard=PHPCompatibilityParagonieSodiumCompat,PHPCompat For more detailed information, see the README of the main [PHPCompatibility][PHPCompatibility-testVersion] standard. -### Testing PHP files only - -By default PHP_CodeSniffer will analyse PHP, JavaScript and CSS files. As the PHPCompatibility sniffs only target PHP code, you can make the run slightly faster by telling PHP_CodeSniffer to only check PHP files, like so: -```bash -vendor/bin/phpcs -p . --standard=PHPCompatibilitySymfonyPolyfillPHP56 --extensions=php --runtime-set testVersion 5.3- -``` - ## License All code within the PHPCompatibility organisation is released under the GNU Lesser General Public License (LGPL).