Uh oh!
There was an error while loading. Please reload this page.
Hello psalm - #21787
Conversation
6696326 to
3f2d081Compare449ef09 to
e39e4c9CompareMorrisJobke
commented
Aug 14, 2020
How nice is this? 😍 👍 |
kesselb
commented
Aug 14, 2020
Yep. PHPStorm is going to add support for Psalm soon: https://blog.jetbrains.com/phpstorm/2020/07/phpstan-and-psalm-support-coming-to-phpstorm/. I'm not sure yet how to continue with this PR. I fixed some errors or added rules to suppress them (like the global template variables There are some false positives left. But others warning are legit. To continue and merge this PR we could set a baseline (https://psalm.dev/docs/running_psalm/dealing_with_code_issues/#using-a-baseline-file) with the current errors. With the risk that no one will fix the existing issues ;) |
MorrisJobke
commented
Aug 14, 2020
I guess that is the only way to go for now. |
Uh oh!
There was an error while loading. Please reload this page.
Ref #21787 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Ref #21787 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Ref #21787 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
MorrisJobke
commented
Aug 17, 2020
Mind to do this now and then we could merge this :) |
skjnldsv
commented
Aug 18, 2020
I thought it was a dashboard widget to display Psalm quotes 😁 |
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
for some reason they are not loaded by default. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Using stubs found some inconsistencies between the stub and the actual implementation:
I will open more PRs there. |
940db3d to
977aaceCompareSigned-off-by: Morris Jobke <hey@morrisjobke.de>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* JetBrains/phpstorm-stubs#893 * JetBrains/phpstorm-stubs#894 * JetBrains/phpstorm-stubs#895 * JetBrains/phpstorm-stubs#896 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
…heck Signed-off-by: Morris Jobke <hey@morrisjobke.de>
810f0f6 to
42bb6cdCompareMorrisJobke
commented
Aug 18, 2020
Here it is - the final rebase that squashed all the fixups into the proper commits. It now also warns about not checked in fixes (so if we fix something it also states that the baseline should be updated). |
| 'ocs', | ||
| 'package-lock.json', | ||
| 'package.json', | ||
| 'psalm.xml', |
There was a problem hiding this comment.
We don't need psalm baseline here?
There was a problem hiding this comment.
No - because it's in the build/ folder which is deleted already. Only new files in the root need to be checked if the release script should either delete them or keep them. I went for the "delete the psalm.xml in the release" way. :)
Ref #21787 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Signed-off-by: Daniel Kesselberg mail@danielkesselberg.de