Skip to content

Commit f81c687

Browse files
committed
dev: revert PHPStan to v1.x
1 parent d746b35 commit f81c687

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"squizlabs/php_codesniffer": "3.10.3",
2424
"wp-coding-standards/wpcs": "~3.1.0",
2525
"phpcompatibility/phpcompatibility-wp": "~2.1.3",
26-
"phpstan/phpstan": "^2.1.2",
26+
"phpstan/phpstan": "~1.12.27",
2727
"yoast/phpunit-polyfills": "^1.1.0"
2828
},
2929
"config": {

tests/phpstan/base.neon

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
# https://phpstan.org/config-reference
66

77
parameters:
8+
# Cache is stored locally, so it's available for CI.
9+
tmpDir: ../../.cache
10+
11+
# The Minimum PHP Version
12+
phpVersion: 70224
13+
814
# What directories and files should be scanned.
915
paths:
1016
- ../../src

0 commit comments

Comments
 (0)