-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raise Psalm level to 3 and add generics to ClassMetadata #159
Changes from 1 commit
9a56cc0
16e8615
01707f5
5a5e6a3
d8c5f79
6b24d36
4eab605
5893ad2
54d344b
8e6fc2f
a067fdf
07ed4b6
df82d13
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,17 +41,21 @@ | |
</NullArgument> | ||
<PossiblyNullReference> | ||
<errorLevel type="suppress"> | ||
<!-- ReflectionProperty::getType() can return null, but there is ReflectionProperty::hasType() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This has been fixed in Psalm recently: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here is There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh, my mistake then :) |
||
check before --> | ||
<file name="lib/Doctrine/Persistence/Reflection/TypedNoDefaultReflectionProperty.php"/> | ||
</errorLevel> | ||
</PossiblyNullReference> | ||
<ArgumentTypeCoercion> | ||
<errorLevel type="suppress"> | ||
<!-- On purpose to use a non existing class for tests --> | ||
<referencedFunction name="RuntimeReflectionServiceTest::testGetParentClassesForAbsentClass"/> | ||
<file name="tests/Doctrine/Tests/Persistence/Mapping/RuntimeReflectionServiceTest.php"/> | ||
</errorLevel> | ||
</ArgumentTypeCoercion> | ||
<MoreSpecificReturnType> | ||
<errorLevel type="suppress"> | ||
<!-- FileDriver::loadMappingFile() in tests could have a more specific return, but is not needed --> | ||
<file name="tests/Doctrine/Tests/Persistence/Mapping/FileDriverTest.php"/> | ||
</errorLevel> | ||
</MoreSpecificReturnType> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe leave a comment to explain why those couldn't be fixed and had to be ignored? It will be helpful for future contributions