Skip to content

Commit

Permalink
Merge pull request #85 from sectsect/phpstan2
Browse files Browse the repository at this point in the history
Upgrade to PHPStan 1.12 first to migrate to PHPStan 2.0
  • Loading branch information
sectsect authored Nov 27, 2024
2 parents 827c2a3 + 34c55c6 commit 4b99b54
Show file tree
Hide file tree
Showing 7 changed files with 225 additions and 146 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ curl --location --request PUT 'https://your-wordpress-site.com/wp-json/wp-tag-or
"data": {
"status": 200,
"post_id": 123,
"taxonomy": "pickup_tag",
"taxonomy": "post_tag",
"tags": [
5,
3,
Expand Down
27 changes: 18 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,34 @@
{
"name": "sectsect/wp-tag-order",
"description": "Sort the tags manually in individual posts on wordpress.",
"keywords": ["github", "wordpress", "plugin", "tags", "order"],
"keywords": [
"github",
"wordpress",
"plugin",
"tags",
"order"
],
"type": "wordpress-plugin",
"require": {
"php": ">=8.0"
},
"require-dev":{
"require-dev": {
"phpunit/phpunit": "^7.5 || ^9.5",
"yoast/phpunit-polyfills" : "^2.0",
"yoast/phpunit-polyfills": "^2.0",
"squizlabs/php_codesniffer": "^3.7",
"wp-coding-standards/wpcs": "^3.0",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan": "^1.12",
"szepeviktor/phpstan-wordpress": "^1.3",
"phpstan/extension-installer": "^1.3"
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan-deprecation-rules": "^1.2"
},
"license": "GPL-3.0+",
"authors": [{
"name": "SECT WEB INTERACTIVE",
"homepage": "https://www.ilovesect.com/"
}],
"authors": [
{
"name": "sect",
"homepage": "https://github.com/sectsect"
}
],
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
Expand Down
Loading

0 comments on commit 4b99b54

Please sign in to comment.