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

Force to Use strict types in PHP code #218

Merged
merged 3 commits into from
Jul 25, 2023

Conversation

plopesc
Copy link
Contributor

@plopesc plopesc commented Jun 21, 2023

Copy link
Member

@justafish justafish left a comment

Choose a reason for hiding this comment

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

Thanks!

@deviantintegral
Copy link
Member

How will this apply to existing code we inherit that doesn't have strict types enabled? Is there a way to get phpstan to only evaluate new or changed files for a tests?

@justafish
Copy link
Member

I guess no differently from code we inherit that violates any other rule - fix it when bringing in this new rule, or disable the test/add exceptions in comments until it can be fixed

@justafish
Copy link
Member

Test isn't passing due to #226

@justafish justafish merged commit a24ca43 into Lullabot:main Jul 25, 2023
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants