Update to PHP 8.4 compatible

This commit is contained in:
crazywhalecc
2025-03-10 11:05:30 +08:00
committed by Jerry Ma
parent 4c37294275
commit 2da5ef3db1
4 changed files with 8 additions and 4 deletions

View File

@@ -39,7 +39,7 @@
"jangregor/phpstan-prophecy": "^1.0",
"jetbrains/phpstorm-attributes": "^1.0",
"mikey179/vfsstream": "^1.6",
"phpspec/prophecy-phpunit": "^2.0",
"phpspec/prophecy-phpunit": "^2.3",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.1",
"phpstan/phpstan-deprecation-rules": "^1.0",
@@ -99,7 +99,7 @@
},
"scripts": {
"analyse": "phpstan analyse --memory-limit 300M",
"cs-fix": "PHP_CS_FIXER_FUTURE_MODE=1 php-cs-fixer fix",
"cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix",
"test": "bin/phpunit-zm --no-coverage"
}
}