Skip to content

Commit

Permalink
Support PHP 8.3 #45
Browse files Browse the repository at this point in the history
  • Loading branch information
harai committed May 2, 2024
1 parent 0247e99 commit 7abe5f3
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ trim_trailing_whitespace = true
[*.php]
indent_style = tab

[{composer.json,phpcs.ruleset.xml}]
[{composer.json,phpcs.xml}]
indent_size = 4
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ jobs:
- php: '8.0'
phpunit: 9.3.9
- php: '8.1'
phpunit: 9.6.13
phpunit: 9.6.19
- php: '8.2'
phpunit: 9.6.19
- php: '8.3'
phpunit: 9.6.19
steps:
- uses: actions/checkout@v2
- name: Set PHP_VERSION
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
},
"scripts": {
"lint": [
"phpcs --standard=phpcs.ruleset.xml $(find ./ -name '*.php')"
"phpcs --standard=phpcs.xml $(find ./ -name '*.php')"
],
"fix": [
"phpcbf --standard=phpcs.ruleset.xml $(find ./ -name '*.php')"
"phpcbf --standard=phpcs.xml $(find ./ -name '*.php')"
]
},
"support": {
Expand Down
3 changes: 3 additions & 0 deletions object-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,9 @@ class WP_Object_Cache { // phpcs:ignore
public $retry_interval;
public $max_retries;

private $multisite;
private $global_prefix;

/**
* Sets the list of global groups.
*
Expand Down
File renamed without changes.

0 comments on commit 7abe5f3

Please sign in to comment.