Closed
Description
Describe the bug
Not really a bug... Installation methods do not provide a reproducible installation. I am also not sure how to build the PHAR files - which would also be a possible solution.
Basically about this:
# Or download using wget
wget https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar
wget https://squizlabs.github.io/PHP_CodeSniffer/phpcbf.phar
These files would likely point to the latest version which could potentially breaking something in future.
I've tried to clone down the repo and run the bin/phpcs
file however that requires the whole project present:
~/.local/docker-cicd-build-env/bin/phpcs
PHP Warning: include_once(PHP/CodeSniffer/autoload.php): failed to open stream: No such file or directory in /root/.local/docker-cicd-build-env/bin/phpcs on line 14
Is there a way I can download or build a PHAR with a specific version?