Skip to content

Commit 322d851

Browse files
authored
Patch Release 2.8.13 (#1217)
1 parent b316066 commit 322d851

File tree

11 files changed

+1964
-1245
lines changed

11 files changed

+1964
-1245
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ matrix:
3636

3737
install:
3838
- composer self-update
39-
- composer update -o
39+
- yarn run upgrade:deps
4040
- bash bin/install-wp-tests.sh wordpress_test root '' localhost
41-
- yarn upgrade
4241

4342
script:
4443
# PHPUnit: Run unit tests.

AGENTS.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@ This project is a WordPress plugin designed to enhance website performance throu
66
## Coding Standards
77
- Follow the coding standards defined in the ./phpcs.xml file.
88
- This is a WordPress plugin, so the coding standards must adhere to the WordPress coding standards.
9+
- This plugin must be compatible with PHP 7.2.5 through 8.3, as defined in the main plugin file "w3-total-cache.php" and "readme.txt".
10+
- This plugin must be compatible with WordPress 5.3 and up, as defined in the main plugin file "w3-total-cache.php" and "readme.txt".
911
- Do not use spaces for indentation; use 4-space tabs instead.
1012
- Use single quotes for strings unless double quotes are necessary (e.g., when using variables inside the string).
1113
- Do not make coding standards changes in changed files unless it is directly related to the functionality being modified.
1214
- Opening parenthesis of a multi-line function call must be the last content on the line (PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket).
15+
- Prefix all global namespace functions with a backslash.
1316

1417
## References
1518
- WordPress Coding Standards: https://developer.wordpress.org/coding-standards/
@@ -32,3 +35,7 @@ This project is a WordPress plugin designed to enhance website performance throu
3235
- Internal work may originate from JIRA issues for internal tracking.
3336
- Create a JIRA issue, implement the change in a branch, and open a pull request that references the JIRA issue.
3437
- Ensure each pull request references its originating issue (GitHub or JIRA) and includes a clear description of the change.
38+
39+
## Dependency Management
40+
- Use `yarn run upgrade:deps` to refresh JS packages and Composer libraries in one step; this enforces the PHP 7.2.5–8.3 constraint declared in `composer.json`.
41+
- When running Composer directly, keep `composer update --with-all-dependencies` targeted at the repo root so the generated lock file honors the configured PHP platform (7.2.5).

changelog.txt

Lines changed: 926 additions & 0 deletions
Large diffs are not rendered by default.

composer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"homepage": "https://www.boldgrid.com/w3-total-cache/",
66
"license": "GPL-2.0-or-later",
77
"require": {
8+
"php": ">=7.2.5 <8.4",
89
"aws/aws-sdk-php": "^3.308",
910
"aws/aws-php-sns-message-validator": "^1.9",
1011
"symfony/deprecation-contracts": "^2.5",
@@ -34,6 +35,9 @@
3435
"dealerdirect/phpcodesniffer-composer-installer": true
3536
},
3637
"optimize-autoloader": true,
37-
"COMPOSER_MIRROR_PATH_REPOS": true
38+
"COMPOSER_MIRROR_PATH_REPOS": true,
39+
"platform": {
40+
"php": "7.2.5"
41+
}
3842
}
3943
}

0 commit comments

Comments
 (0)