File tree Expand file tree Collapse file tree 3 files changed +46
-7
lines changed Expand file tree Collapse file tree 3 files changed +46
-7
lines changed Original file line number Diff line number Diff line change 7
7
"prefer-stable" : true ,
8
8
"extra" : {
9
9
"branch-alias" : {
10
- "dev-master" : " 0.11 -dev"
10
+ "dev-master" : " 0.12 -dev"
11
11
},
12
12
"phpstan" : {
13
13
"includes" : [
17
17
},
18
18
"require" : {
19
19
"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 "
23
23
},
24
24
"require-dev" : {
25
25
"consistence/coding-standard" : " ^3.0.1" ,
26
26
"dealerdirect/phpcodesniffer-composer-installer" : " ^0.4.4" ,
27
27
"jakub-onderka/php-parallel-lint" : " ^1.0" ,
28
28
"mockery/mockery" : " ^1.1" ,
29
29
"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 " ,
32
32
"phpunit/phpunit" : " ^7.2" ,
33
33
"slevomat/coding-standard" : " ^4.6.3"
34
34
},
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ includes:
3
3
- vendor/phpstan/phpstan-phpunit/extension.neon
4
4
- vendor/phpstan/phpstan-phpunit/rules.neon
5
5
- vendor/phpstan/phpstan-strict-rules/rules.neon
6
- - vendor/phpstan /phpstan/conf/bleedingEdge.neon
6
+ - phar:/ /phpstan.phar /conf/bleedingEdge.neon
Original file line number Diff line number Diff line change 6
6
use PHPStan \Reflection \ClassReflection ;
7
7
use PHPStan \Reflection \MethodReflection ;
8
8
use PHPStan \Reflection \TrivialParametersAcceptor ;
9
+ use PHPStan \TrinaryLogic ;
9
10
10
11
class StubMethodReflection implements MethodReflection
11
12
{
@@ -62,4 +63,42 @@ public function getVariants(): array
62
63
];
63
64
}
64
65
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
+
65
104
}
You can’t perform that action at this time.
0 commit comments