GravityKit / GravityView

The best and easiest way to display Gravity Forms entries on your website.
https://www.gravitykit.com/products/gravityview/
245 stars 63 forks source link

Add PHP_CodeSniffer and configure a pre-commit hook #1968

Closed mrcasual closed 8 months ago

mrcasual commented 8 months ago

I fixed all (most?) issues that could be resolved automatically. Bringing the entire codebase to 100% compliance will take quite an effort, but it can be done incrementally as we commit changes.

To prevent phpcs from running during the pre-commit stage, use the --no-verify flag with the git commit command.

Make sure to run npm i && composer install.

mrcasual commented 8 months ago

@zackkatz, merging? :)