We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71fdb4a commit 935fdd0Copy full SHA for 935fdd0
composer.json
@@ -17,7 +17,7 @@
17
},
18
"require": {
19
"php": "~7.1",
20
- "phpstan/phpstan": "^0.11",
+ "phpstan/phpstan": "^0.11.4",
21
"phpstan/phpdoc-parser": "^0.3",
22
"nikic/php-parser": "^4.0"
23
phpstan.neon
@@ -3,3 +3,4 @@ includes:
3
- vendor/phpstan/phpstan-phpunit/extension.neon
4
- vendor/phpstan/phpstan-phpunit/rules.neon
5
- vendor/phpstan/phpstan-strict-rules/rules.neon
6
+ - vendor/phpstan/phpstan/conf/bleedingEdge.neon
tests/Mockery/Foo.php
@@ -7,6 +7,11 @@ class Foo
7
8
public function doFoo(): ?string
9
{
10
+ if (rand(0, 1) === 0) {
11
+ return null;
12
+ }
13
+
14
+ return 'foo';
15
}
16
0 commit comments