diff --git a/CHANGELOG.md b/CHANGELOG.md index e05343c..a397fca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] +### Fixed +- Exclude `vendor/` from the PHPCS ruleset so PHPCompatibility no longer reports issues in third-party dependencies (`nikic/php-parser`, `hamcrest/hamcrest-php`) on PHP 8.2+ +- Switch `testVersion` in the PHPCS ruleset from exact `7.4` to open range `7.4-` so the standard targets the minimum supported PHP and above + ## [1.1.1](https://github.com/10up/wp_mock/compare/1.1.0...1.1.1) - 2025-12-03 ### Fixed - Address PHP deprecation warnings about implicitly nullable parameters diff --git a/phpcs.xml b/phpcs.xml index e18853e..6087a32 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -1,8 +1,10 @@ + WP_Mock PHPCS ruleset. Scans project source only; vendor/ is excluded so third-party code is never reported. ./php ./tests + */vendor/* - - \ No newline at end of file + +