-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #152 from stuttter/issue/147
Issue/147 - improve compat with PHP 8.1 and newer Includes commits (and reverts) from a previous PR (#147), as well as some opinionated cleanup.
- Loading branch information
Showing
2 changed files
with
114 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "stuttter/ludicrousdb", | ||
"description": "LudicrousDB is a database class that supports replication, failover, load balancing, & partitioning, based on Automattic's HyperDB drop-in.", | ||
"homepage": "https://github.com/stuttter/ludicrousdb", | ||
"type": "wordpress-muplugin", | ||
"type": "wordpress-plugin", | ||
"license" : "GPL-2.0-or-later", | ||
"authors": [ | ||
{ | ||
|
@@ -14,7 +14,7 @@ | |
"email": "[email protected]" | ||
} | ||
], | ||
"support" : { | ||
"support": { | ||
"issues": "https://github.com/stuttter/ludicrousdb/issues", | ||
"source": "https://github.com/stuttter/ludicrousdb" | ||
}, | ||
|
@@ -23,10 +23,10 @@ | |
"composer/installers": "~1.0 || ~2.0" | ||
}, | ||
"require-dev": { | ||
"wp-coding-standards/wpcs": "^2.2", | ||
"dealerdirect/phpcodesniffer-composer-installer": "^0.6.2", | ||
"phpcompatibility/phpcompatibility-wp": "^2.1", | ||
"sirbrillig/phpcs-variable-analysis": "^2.8" | ||
"wp-coding-standards/wpcs": "*", | ||
"dealerdirect/phpcodesniffer-composer-installer": "*", | ||
"phpcompatibility/phpcompatibility-wp": "*", | ||
"sirbrillig/phpcs-variable-analysis": "*" | ||
}, | ||
"scripts": { | ||
"format": [ | ||
|
@@ -35,5 +35,11 @@ | |
"lint": [ | ||
"vendor/bin/phpcs . -v" | ||
] | ||
}, | ||
"config": { | ||
"allow-plugins": { | ||
"composer/installers": true, | ||
"dealerdirect/phpcodesniffer-composer-installer": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters