Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 935fdd0

Browse files
committedMay 12, 2019
Test with bleeding edge
1 parent 71fdb4a commit 935fdd0

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed
 

‎composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"require": {
1919
"php": "~7.1",
20-
"phpstan/phpstan": "^0.11",
20+
"phpstan/phpstan": "^0.11.4",
2121
"phpstan/phpdoc-parser": "^0.3",
2222
"nikic/php-parser": "^4.0"
2323
},

‎phpstan.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ includes:
33
- vendor/phpstan/phpstan-phpunit/extension.neon
44
- vendor/phpstan/phpstan-phpunit/rules.neon
55
- vendor/phpstan/phpstan-strict-rules/rules.neon
6+
- vendor/phpstan/phpstan/conf/bleedingEdge.neon

‎tests/Mockery/Foo.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ class Foo
77

88
public function doFoo(): ?string
99
{
10+
if (rand(0, 1) === 0) {
11+
return null;
12+
}
13+
14+
return 'foo';
1015
}
1116

1217
}

0 commit comments

Comments
 (0)
Please sign in to comment.