Skip to content

Commit

Permalink
Format PHP code #39
Browse files Browse the repository at this point in the history
  • Loading branch information
Akihiro Harai committed Nov 9, 2023
1 parent 8a15b5b commit d5ed3e8
Show file tree
Hide file tree
Showing 113 changed files with 3,639 additions and 3,046 deletions.
6 changes: 4 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ indent_size = 2
indent_style = space
trim_trailing_whitespace = true

[**.php]
[*.php]
indent_style = tab

[{composer.json,phpcs.ruleset.xml}]
indent_size = 4
indent_style = space
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
- '6'
- '7'
php-version:
- php: '7.3'
phpunit: 9.3.9
- php: '7.4'
phpunit: 9.3.9
- php: '8.0'
Expand Down
40 changes: 39 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
{
"name": "tarosky/wp-redis-patch",
"type": "wordpress-dropin",
"description": "",
"homepage": "https://github.com/tarosky/wp-redis-patch",
"license": "GPL-2.0",
"authors": [
{
"name": "Harai Akihiro",
"email": "[email protected]",
"homepage": "https://tarosky.co.jp"
}
],
"minimum-stability": "stable",
"require": {
"php": ">=7.4"
},
"require-dev": {
"giorgiosironi/eris": "^0.13.0"
"giorgiosironi/eris": "^0.13.0",
"squizlabs/php_codesniffer": "*",
"wp-coding-standards/wpcs": "*",
"phpcompatibility/php-compatibility": "*",
"dealerdirect/phpcodesniffer-composer-installer": "*",
"phpcompatibility/phpcompatibility-wp": "*"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"lint": [
"phpcs --standard=phpcs.ruleset.xml $(find ./ -name '*.php')"
],
"fix": [
"phpcbf --standard=phpcs.ruleset.xml $(find ./ -name '*.php')"
]
},
"support": {
"issues": "https://github.com/tarosky/wp-redis-patch/issues"
}
}
Loading

0 comments on commit d5ed3e8

Please sign in to comment.