Skip to content

Commit

Permalink
update dependencies for php 8.2 (#59)
Browse files Browse the repository at this point in the history
* update dependencies for php 8.2

* fix deprications

* fix phpcs not running
  • Loading branch information
menno-ll authored May 23, 2024
1 parent 39615ba commit 426738a
Show file tree
Hide file tree
Showing 6 changed files with 480 additions and 36 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ composer.lock
/bin/php-doc-check.phar.asc
/.travis/php-doc-check-phar-private.pem
/.travis/secrets.tar
.vscode/
.vscode/
.phpunit.cache
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"require": {
"nikic/php-parser": "^4.2",
"wp-cli/php-cli-tools": "^0.11.11",
"ulrichsg/getopt-php": "^3.2",
"ulrichsg/getopt-php": "^4.0",
"phpdocumentor/reflection-docblock": "^4.3|^5.0"
},
"bin": [
Expand All @@ -22,10 +22,10 @@
"scripts":{
"test": [
"composer validate",
"vendor/bin/phpunit",
"vendor/bin/phpcs",
"vendor/bin/phpmd ./ text cleancode,codesize,controversial,design,naming,unusedcode --exclude vendor/",
"vendor/bin/phpstan analyse src --level 7",
"phpunit",
"phpcs",
"phpmd ./ text cleancode,codesize,controversial,design,naming,unusedcode --exclude vendor/",
"phpstan analyse src --level 7",
"./bin/php-doc-check --exclude vendor/ ./"
]
},
Expand All @@ -36,9 +36,9 @@
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.4",
"humbug/box": "^3.4",
"humbug/box": "^4.6",
"phpmd/phpmd": "^2.6",
"phpstan/phpstan": "^0.11.1",
"phpunit/phpunit": "^7.5"
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^10.5"
}
}
Loading

0 comments on commit 426738a

Please sign in to comment.