Skip to content

Commit ba9fa80

Browse files
committed
Workflow
1 parent 154f085 commit ba9fa80

4 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/wp-compatibility-test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ jobs:
160160
run: |
161161
# Install PHPCS and WordPress Coding Standards using the dealerdirect installer
162162
composer global config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
163-
composer global require --dev phpcsstandards/php_codesniffer:"^4.0.1"
163+
composer global require --dev squizlabs/php_codesniffer:"^4.0.1"
164164
composer global require --dev wp-coding-standards/wpcs:"^3.3"
165165
composer global require --dev phpcompatibility/php-compatibility:"^9.3"
166166
composer global require --dev phpcompatibility/phpcompatibility-wp:"^2.1"
@@ -215,7 +215,7 @@ jobs:
215215
run: |
216216
# Install PHPCS and WordPress VIP Coding Standards
217217
composer global config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
218-
composer global require --dev phpcsstandards/php_codesniffer:"^4.0.1"
218+
composer global require --dev squizlabs/php_codesniffer:"^4.0.1"
219219
composer global require --dev wp-coding-standards/wpcs:"^3.3"
220220
composer global require --dev automattic/vipwpcs:"^3.0.1"
221221
composer global require --dev dealerdirect/phpcodesniffer-composer-installer:"^1.2"
@@ -683,7 +683,8 @@ jobs:
683683
684684
- name: Verify PHPUnit dependency versions
685685
run: |
686-
composer show phpunit/phpunit yoast/phpunit-polyfills
686+
composer show phpunit/phpunit
687+
composer show yoast/phpunit-polyfills
687688
vendor/bin/phpunit --version | grep -E '^PHPUnit 9\.6\.'
688689
689690
- name: Prepare Database

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
- **Minimum PHP Version**: Raised the supported PHP baseline to 8.2 across plugin metadata, Composer, PHPCS, documentation, and GitHub guidance.
5858
- **CI Compatibility Matrix**: Updated WordPress compatibility testing to cover PHP 8.2, 8.3, 8.4, and 8.5.
5959
- **PHPUnit Tooling**: Updated PHPUnit and Yoast PHPUnit Polyfills constraints for the PHP 8.2+ baseline.
60-
- **QA Tooling Constraints**: Updated PHPCS installs to use `phpcsstandards/php_codesniffer` 4.0.1+, added PHPMD as a Composer-managed dev dependency, and aligned workflow-installed coding standards with current stable package constraints.
60+
- **QA Tooling Constraints**: Updated PHPCS installs to use `squizlabs/php_codesniffer` 4.0.1+, added PHPMD as a Composer-managed dev dependency, and aligned workflow-installed coding standards with current stable package constraints.
6161
- **Type Declarations**: Added parameter types and return types to all functions where deterministic.
6262
- **Short Array Syntax**: Standardized all `array()` constructor calls to short `[]` syntax throughout the plugin.
6363
- **Null Coalescing Assignment**: Replaced explicit null check + assignment pattern with `??=` in `sse_should_exclude_file()` file size cache, and `?:` Elvis operator for the ternary fallback.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"require-dev": {
1717
"phpunit/phpunit": "^11.5 || ^12.0",
1818
"yoast/phpunit-polyfills": "^4.0",
19-
"phpcsstandards/php_codesniffer": "^4.0.1",
19+
"squizlabs/php_codesniffer": "^4.0.1",
2020
"wp-coding-standards/wpcs": "^3.3",
2121
"phpcsstandards/phpcsextra": "^1.5",
2222
"dealerdirect/phpcodesniffer-composer-installer": "^1.2",

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
135135
* **PHP 8.2 Baseline**: Raised the minimum supported PHP version to 8.2 across plugin metadata, Composer, PHPCS, documentation, and GitHub guidance
136136
* **CI Compatibility**: Updated the PHP compatibility matrix to test PHP 8.2, 8.3, 8.4, and 8.5
137137
* **PHPUnit Tooling**: Updated test tooling constraints for the PHP 8.2+ baseline
138-
* **QA Tooling**: Updated PHPCS installs to use `phpcsstandards/php_codesniffer` 4.0.1+, added PHPMD as a Composer-managed dev dependency, and aligned workflow-installed coding standards with current stable package constraints
138+
* **QA Tooling**: Updated PHPCS installs to use `squizlabs/php_codesniffer` 4.0.1+, added PHPMD as a Composer-managed dev dependency, and aligned workflow-installed coding standards with current stable package constraints
139139
* **PHP Syntax**: Added type declarations (parameter and return types) to all functions
140140
* **PHP Syntax**: Standardized all `array()` to short `[]` syntax
141141
* **PHP Syntax**: Applied `??=` null coalescing assignment and `?:` Elvis operator

0 commit comments

Comments
 (0)