storyblok / storyblok-php-client

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

Watch phpstan command (+docs) #95

Closed pscheit closed 6 months ago

pscheit commented 1 year ago

Small trick so that you can run that and don't have to run the analyse command by hand. It watches all phpstan files.

You need https://github.com/clibs/entr

Pull request type

How to test this PR

composer watch-phpstan change a php file (analysis should repeat)

What is the new behavior?

Speeds up and improves developer DX

pscheit commented 1 year ago

needs https://github.com/storyblok/storyblok-php-client/pull/96 to be merged

roberto-butti commented 6 months ago

Closing this, thank you, i didn't know the entr package, usually i use chokidar for "watching" features. But thank you for mention this. For the v2 of php client we still rely on the manual execution of composer run all-check for executing: cs fixer, static code analysis, and testing.

Thank you