-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
phpstan: Sitemap, Newsletter, ... #2823
Conversation
- Mage_Sitemap
- Mage_Sitemap - Mage_Contacts
# Conflicts: # phpstan.dist.baseline.neon
What is the gain from ignoring errors? |
@tmotyl its to much noise at the moment. Some are false positive or go away when underlying errors are fixed. I'll re-add them later. |
Roger! |
can't auto merge to 20.0 because of conflicts |
What is auto-merge? (Btw ... if you have conflicts with baseline file ... ignore them and merge, then rebuild baseline and amend last commit.) |
I meant cherry picking it to 20.0 |
I had an old command to regenerate the baseline, it created a .github/phpstan-baseline.neon file but now that's pushed it doesn't allow me to re-ament it. hate this workflow |
Yep. #2765 was added one day after release. Should be fixed in next release ;) |
@tmotyl Maybe you can check this .... it seems neither phpstorm nor phpstan works correctly for |
@sreichel can you make an issue at https://github.com/macopedia/phpstan-magento1 with some info how to reproduce it? |
I'll do. Mhh, i get no proposals for Mage::app() and also have no correct return value. E.g.
Linux, PhpStorm 2022.2.2 Build #PS-222.4167.33, built on September 15, 2022 |
PhpStorm 2022.3 here. |
Edit: Cleared phpstorm cache and auto-complete works again. Will check phpstan later, |
Description (*)
Some small updates.
Edit: ignore some errors and remove them from baseline.
Contribution checklist (*)