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

Static code analysis: PHPstan level 5 #79

Merged
merged 4 commits into from
Dec 20, 2022

Conversation

roberto-butti
Copy link
Collaborator

Pull request type

Jira Link: INT-

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Other (please describe):

How to test this PR

Fix all warnings for reaching level 5
In phpstan.neon was increased the level to level: 5
Execute composer phpstan

What is the new behavior?

The code solved all warnings about checking types of arguments passed to methods and functions.

@joaokamun joaokamun merged commit ce5990d into storyblok:master Dec 20, 2022
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.

2 participants