Skip to content

Commit 3d7c893

Browse files
committed
Fixing PHPStan
1 parent 627e674 commit 3d7c893

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

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.2.3",
2424
"phpstan/phpstan": "^0.10.3",
2525
"maglnet/composer-require-checker": "^1.0",
26-
"thecodingmachine/phpstan-strict-rules": "^0.10.3",
26+
"thecodingmachine/phpstan-strict-rules": "^0.11.0",
2727
"symfony/cache": "^4.1.4"
2828
},
2929
"autoload": {

phpstan.neon

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#parameters:
2-
# ignoreErrors:
3-
# - "#Instantiated class WeakRef not found.#"
1+
parameters:
2+
ignoreErrors:
3+
- "/Parameter #1 $directory of function chdir expects string, string|false given./"
44
includes:
55
- vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon

src/Glob/GlobClassExplorer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class GlobClassExplorer implements ClassExplorerInterface
4949
*/
5050
private $recursive;
5151
/**
52-
* @var string|null
52+
* @var string
5353
*/
5454
private $rootPath;
5555

0 commit comments

Comments
 (0)