Skip to content

Commit

Permalink
fix: #458 Log Cleanup When Log Limit Changed (#489)
Browse files Browse the repository at this point in the history
* fix(deps): Updates development dependencies
  * Updates the minimum PHP version to 7.4.
  * Updates the development PHP version to 8.0.
  * Updates the development dependencies to the latest versions.

* fix: Updates development dependencies & fixes log cleanup
  * Updates additional linting & static analysis dependencies.
  * Fixes newly identified linting & static analysis errors.
  * Fixes #458.
  * Updates the log cleanup handling to properly retain the configured number of log entries.
  * Updates the log display output to reflect the log retention policy.
  • Loading branch information
timnolte authored Jun 23, 2023
1 parent 9363477 commit 4d52d80
Show file tree
Hide file tree
Showing 15 changed files with 1,346 additions and 1,295 deletions.
10 changes: 3 additions & 7 deletions .wp-env.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"core": "./wordpress",
"phpVersion": "7.4",
"plugins": [
"."
],
"phpVersion": "8.0",
"plugins": ["."],
"mappings": {
"wp-content/mu-plugins": "./tools/local-env/mu-plugins"
},
Expand All @@ -19,9 +17,7 @@
]
},
"tests": {
"plugins": [
"."
]
"plugins": ["."]
}
},
"config": {
Expand Down
39 changes: 18 additions & 21 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"config": {
"platform": {
"php": "7.4"
"php": "8.0"
},
"optimize-autoloader": true,
"sort-packages": true,
Expand All @@ -38,30 +38,27 @@
}
},
"require": {
"php": ">=7.1",
"php": ">=7.4",
"composer/installers": "~1.0|~2.0"
},
"require-dev": {
"php": ">=7.1",
"brain/monkey": "^2.4",
"dealerdirect/phpcodesniffer-composer-installer": "~0.7",
"johnpbloch/wordpress-core": "~5.9.0",
"php": ">=7.4",
"brain/monkey": "^2.6",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"johnpbloch/wordpress-core": "~6.2.0",
"johnpbloch/wordpress-core-installer": "^2.0",
"mockery/mockery": "^1.3",
"php-stubs/wordpress-stubs": "~5.9.0",
"phpcompatibility/php-compatibility": "dev-develop as 9.5.3",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpcsstandards/phpcsutils": "1.x-dev as 1.0",
"phpro/grumphp": "^1.5",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.6",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpunit/phpunit": "^7",
"mockery/mockery": "^1.5",
"php-stubs/wordpress-stubs": "~6.2.0",
"phpro/grumphp": "^1.16",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-deprecation-rules": "^1.1",
"phpunit/phpunit": "^9.6.0",
"roave/security-advisories": "dev-master",
"squizlabs/php_codesniffer": "^3.6",
"szepeviktor/phpstan-wordpress": "^1.1",
"wp-coding-standards/wpcs": "^2.2",
"wp-phpunit/wp-phpunit": "~5.9.0"
"squizlabs/php_codesniffer": "^3.7",
"szepeviktor/phpstan-wordpress": "^1.3",
"wp-coding-standards/wpcs": "dev-develop",
"wp-phpunit/wp-phpunit": "~6.2.0"
},
"autoload-dev": {
"classmap": [
Expand All @@ -81,7 +78,7 @@
},
"scripts": {
"install-codestandards": [
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run"
"PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run"
],
"post-install-cmd": [
"@install-codestandards"
Expand Down
Loading

0 comments on commit 4d52d80

Please sign in to comment.