Skip to content
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

Removed PHPStan stubs #3210

Merged
merged 5 commits into from
Apr 26, 2023
Merged

Removed PHPStan stubs #3210

merged 5 commits into from
Apr 26, 2023

Conversation

fballiano
Copy link
Contributor

A stub is a configuration file for PHPStan that overrides a specific docblock which resides in the vendor folder (which we don't have control on).

We've 2 stubs for PHPStan but I thought it could be a good idea to try to remove them, so I adapted our code to respect the (in this case) ZF1 docblock.

It seems to be working correctly, PHPStan is happy and we removed 2 "overrides".

@github-actions github-actions bot added Component: Captcha Relates to Mage_Captcha Component: Eav Relates to Mage_Eav phpstan labels Apr 22, 2023
Copy link
Collaborator

@luigifab luigifab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not tested but looks good.

@fballiano fballiano merged commit cb6791b into OpenMage:main Apr 26, 2023
@fballiano fballiano deleted the stubs branch April 26, 2023 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Captcha Relates to Mage_Captcha Component: Eav Relates to Mage_Eav phpstan
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants