Sign inSign up

rogersei/super-giggle

By rogersei

•Updated about 4 years ago

All in one pack needed to run super-giggle

Image
0

1.6K

rogersei/super-giggle repository overview

⁠Visual wrapper for Super Giggle and PHPCS

GitHub top language GitHub GitHub code size in bytes GitHub last commit

Super-Giggle allows you to visualize code violations using modern code conventions. Filter results checking only the last changes, unstaged files or a full scan in the project and choose PSR12, Pear, Zend among others popular code conventions.

Super Giggle Demo

⁠Usage

Run the following container inside your working project:

docker container run --rm -p8120:80 -v$(pwd):/host rogersei/super-giggle

Access your browser in the following address http://localhost:8120⁠

⁠Check as bash command

Use check-changes to analyse the modified files in the working directory:

docker container run --rm -v$(pwd):/host rogersei/super-giggle check-changes

Or, to perform a pre-commit:

docker container run --rm -v$(pwd):/host rogersei/super-giggle check-staged

Even a fullscan:

docker container run --rm -v$(pwd):/host rogersei/super-giggle fullscan
⁠Using another standart, other than PSR12
docker container run --rm -v$(pwd):/host rogersei/super-giggle nn --standard=zend
docker container run --rm -v$(pwd):/host rogersei/super-giggle fullscan --standard=pear
⁠Warning

Super Giggle is a PHPCS wrapper, which uses JSON format and loads a report in memory. Full scan option, in a large project, requires a huge amount of memory and may take a couple minutes to complete.

Tag summary

Content type

Image

Digest

Size

175.8 MB

Last updated

over 5 years ago

docker pull rogersei/super-giggle