storyblok / storyblok-php-client

Storyblok - PHP Client
https://www.storyblok.com
MIT License
33 stars 37 forks source link

Feature: Introducing Static Code Analysis, PHPStan and refactor #75

Closed roberto-butti closed 1 year ago

roberto-butti commented 1 year ago

Pull request type

Jira Link: INT-

Due to the changes needed to reach level 0 of static code analysis, I'm creating this PR to introduce phpstan and add some refactoring.

The refactor was:

I have some proposals (not yet included in this PR): creating Traits to group methods and attributes related to specific functionality, for example: