Skip to content

Commit 50ec136

Browse files
committed
Psalm fixes
1 parent 19a1f3a commit 50ec136

14 files changed

+185
-97
lines changed

composer-require-config.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"symbol-whitelist" : [
3+
"null", "true", "false",
4+
"static", "self", "parent",
5+
"array", "string", "int", "float", "bool", "iterable", "callable", "void", "object", "XSLTProcessor"
6+
],
7+
"php-core-extensions" : [
8+
"Core",
9+
"pcre",
10+
"Reflection",
11+
"tokenizer",
12+
"SPL",
13+
"standard"
14+
]
15+
}

composer.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,18 @@
77
{
88
"name": "Mike van Riel",
99
"email": "[email protected]"
10+
},
11+
{
12+
"name": "Jaap van Otterdijk",
13+
"email": "[email protected]"
1014
}
1115
],
12-
"minimum-stability": "alpha",
1316
"require": {
14-
"php": ">=7.1",
15-
"phpdocumentor/type-resolver": "^0",
16-
"webmozart/assert": "^1"
17+
"php": "^7.1",
18+
"phpdocumentor/type-resolver": "^1.0",
19+
"webmozart/assert": "^1",
20+
"phpdocumentor/reflection-common": "^2.0",
21+
"ext-filter": "^7.1"
1722
},
1823
"require-dev": {
1924
"mockery/mockery": "^1",

composer.lock

Lines changed: 115 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/DocBlock/ExampleFinder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ private function getExampleFileContents(string $filename) : ?array
122122
}
123123

124124
$lines = $normalizedPath && is_readable($normalizedPath) ? file($normalizedPath) : false;
125-
return $lines !== false ? $lines : null;
125+
return $lines !== false ? $lines : null;
126126
}
127127

128128
/**

0 commit comments

Comments
 (0)