Skip to content

Commit 100b76a

Browse files
committed
uses nette/phpstan-rules
1 parent b447285 commit 100b76a

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

composer.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
"require-dev": {
2323
"nette/tester": "^2.6",
2424
"tracy/tracy": "^2.9",
25-
"phpstan/phpstan": "^2.0@stable"
25+
"phpstan/phpstan": "^2.1@stable",
26+
"phpstan/extension-installer": "^1.4@stable",
27+
"nette/phpstan-rules": "^1.0"
2628
},
2729
"autoload": {
2830
"classmap": ["src/"],
@@ -39,5 +41,10 @@
3941
"branch-alias": {
4042
"dev-master": "4.1-dev"
4143
}
44+
},
45+
"config": {
46+
"allow-plugins": {
47+
"phpstan/extension-installer": true
48+
}
4249
}
4350
}

phpstan.neon

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ parameters:
44
paths:
55
- src
66

7-
checkMissingCallableSignature: true
8-
97
ignoreErrors:
108
-
119
message: '#^Method Nette\\Loaders\\RobotLoader\:\:scanPhp\(\) should return list\<class\-string\> but returns list\<non\-falsy\-string\>\.$#'

0 commit comments

Comments
 (0)