Skip to content

Commit

Permalink
Test with bleeding edge
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed May 12, 2019
1 parent 71fdb4a commit 935fdd0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"require": {
"php": "~7.1",
"phpstan/phpstan": "^0.11",
"phpstan/phpstan": "^0.11.4",
"phpstan/phpdoc-parser": "^0.3",
"nikic/php-parser": "^4.0"
},
Expand Down
1 change: 1 addition & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
5 changes: 5 additions & 0 deletions tests/Mockery/Foo.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ class Foo

public function doFoo(): ?string
{
if (rand(0, 1) === 0) {
return null;
}

return 'foo';
}

}

0 comments on commit 935fdd0

Please sign in to comment.