Skip to content

Commit 52d0e2d

Browse files
committed
Open 0.12-dev
1 parent 8f3f0dc commit 52d0e2d

File tree

3 files changed

+46
-7
lines changed

3 files changed

+46
-7
lines changed

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"prefer-stable": true,
88
"extra": {
99
"branch-alias": {
10-
"dev-master": "0.11-dev"
10+
"dev-master": "0.12-dev"
1111
},
1212
"phpstan": {
1313
"includes": [
@@ -17,18 +17,18 @@
1717
},
1818
"require": {
1919
"php": "~7.1",
20-
"phpstan/phpstan": "^0.11.4",
21-
"phpstan/phpdoc-parser": "^0.3",
22-
"nikic/php-parser": "^4.0"
20+
"phpstan/phpstan": "^0.12",
21+
"phpstan/phpdoc-parser": "^0.4",
22+
"nikic/php-parser": "^4.3"
2323
},
2424
"require-dev": {
2525
"consistence/coding-standard": "^3.0.1",
2626
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.4",
2727
"jakub-onderka/php-parallel-lint": "^1.0",
2828
"mockery/mockery": "^1.1",
2929
"phing/phing": "^2.16.0",
30-
"phpstan/phpstan-strict-rules": "^0.11",
31-
"phpstan/phpstan-phpunit": "^0.11",
30+
"phpstan/phpstan-strict-rules": "^0.12",
31+
"phpstan/phpstan-phpunit": "^0.12",
3232
"phpunit/phpunit": "^7.2",
3333
"slevomat/coding-standard": "^4.6.3"
3434
},

phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +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
6+
- phar://phpstan.phar/conf/bleedingEdge.neon

src/Mockery/Reflection/StubMethodReflection.php

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use PHPStan\Reflection\ClassReflection;
77
use PHPStan\Reflection\MethodReflection;
88
use PHPStan\Reflection\TrivialParametersAcceptor;
9+
use PHPStan\TrinaryLogic;
910

1011
class StubMethodReflection implements MethodReflection
1112
{
@@ -62,4 +63,42 @@ public function getVariants(): array
6263
];
6364
}
6465

66+
/**
67+
* @return string|false
68+
*/
69+
public function getDocComment()
70+
{
71+
return false;
72+
}
73+
74+
public function isDeprecated(): \PHPStan\TrinaryLogic
75+
{
76+
return TrinaryLogic::createNo();
77+
}
78+
79+
public function getDeprecatedDescription(): ?string
80+
{
81+
return null;
82+
}
83+
84+
public function isFinal(): \PHPStan\TrinaryLogic
85+
{
86+
return TrinaryLogic::createNo();
87+
}
88+
89+
public function isInternal(): \PHPStan\TrinaryLogic
90+
{
91+
return TrinaryLogic::createNo();
92+
}
93+
94+
public function getThrowType(): ?\PHPStan\Type\Type
95+
{
96+
return null;
97+
}
98+
99+
public function hasSideEffects(): \PHPStan\TrinaryLogic
100+
{
101+
return TrinaryLogic::createNo();
102+
}
103+
65104
}

0 commit comments

Comments
 (0)