Created
April 6, 2022 11:44
-
-
Save enishant/3c908f16369de344a6f378bebf2c499a to your computer and use it in GitHub Desktop.
Looping phpcbf & phpcs for Magento2 standard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while : | |
do | |
echo "Press [CTRL+C] to stop.." | |
~/magento-coding-standard/vendor/bin/phpcbf --standard=Magento2 . | |
~/magento-coding-standard/vendor/bin/phpcs --standard=Magento2 . | |
sleep 60 | |
clear | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment