You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One can attempt to define a regular property and a promoted property with the same name (side by side) and no error is being reported while it should be: https://psalm.dev/r/7efdfcb849
The text was updated successfully, but these errors were encountered:
Psalm output (using commit fd43ba7):
INFO: PossiblyUnusedParam - 4:44 - Param #1 is never referenced in this method
INFO: PossiblyUnusedParam - 4:63 - Param #2 is never referenced in this method
https://psalm.dev/r/7efdfcb849
<?phpclass Test {
publicint$id;
publicfunction__construct(publicint$id) {}
}
newTest(1);
Psalm output (using commit fd43ba7):
INFO: PossiblyUnusedParam - 5:44 - Param #1 is never referenced in this method
INFO: PossiblyUnusedProperty - 5:44 - Cannot find any references to property Test::$id
There are a few cases which are not detected or incorrectly reported as errors:
The text was updated successfully, but these errors were encountered: