File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
tests/PHPStan/Type/Doctrine Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 22<ruleset name =" PHPStan Doctrine extensions" >
33 <rule ref =" vendor/consistence/coding-standard/Consistence/ruleset.xml" />
44 <rule ref =" vendor/slevomat/coding-standard/SlevomatCodingStandard/ruleset.xml" >
5- <exclude name =" SlevomatCodingStandard.Classes.ClassConstantVisibility.MissingConstantVisibility" />
65 <exclude name =" SlevomatCodingStandard.Files.TypeNameMatchesFileName" />
76 <exclude name =" SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameAfterKeyword" />
87 <exclude name =" SlevomatCodingStandard.Namespaces.UseOnlyWhitelistedNamespaces" />
1312 <property name =" usefulAnnotations" type =" array" value ="
1413 @dataProvider
1514 " />
16- <property name =" enableNullableTypeHints" type =" false" />
17- <property name =" enableVoidTypeHint" type =" false" />
1815 </properties >
1916 </rule >
2017</ruleset >
Original file line number Diff line number Diff line change 1212final class EntityManagerFindDynamicReturnTypeExtensionTest extends TestCase
1313{
1414
15- const ENTITY_CLASS_NAME = '\\Foo \\Bar ' ;
15+ private const ENTITY_CLASS_NAME = '\\Foo \\Bar ' ;
1616
1717 /** @var \PHPStan\Type\Doctrine\EntityManagerFindDynamicReturnTypeExtension */
1818 private $ extension ;
@@ -187,7 +187,7 @@ public function testGetTypeFromMethodCallWithScalarString(
187187 string $ entityClassName ,
188188 string $ method ,
189189 string $ expectedTypeDescription
190- )
190+ ): void
191191 {
192192 $ methodReflection = $ this ->mockMethodReflection ($ method );
193193 $ scope = $ this ->mockScope ();
You can’t perform that action at this time.
0 commit comments