Skip to content

Commit 985be61

Browse files
authored
Merge pull request #56 from viniciusbordinhao-redstage/codesniffer
Magento coding standard has already a Code Sniffer executable
2 parents 29728d8 + 9988495 commit 985be61

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ RUN composer global require hirak/prestissimo
7676

7777
# Install Code Sniffer
7878

79-
RUN composer global require "squizlabs/php_codesniffer=*"
8079
RUN git clone https://github.com/magento/marketplace-eqp.git ~/.composer/vendor/magento/marketplace-eqp
81-
RUN ~/.composer/vendor/bin/phpcs --config-set installed_paths ~/.composer/vendor/magento/marketplace-eqp
82-
RUN ln -s ~/.composer/vendor/bin/phpcs /usr/local/bin;
80+
RUN cd ~/.composer/vendor/magento/marketplace-eqp && composer install
81+
RUN ln -s ~/.composer/vendor/magento/marketplace-eqp/vendor/bin/phpcs /usr/local/bin;
82+
8383
ENV PATH="/var/www/.composer/vendor/bin/:${PATH}"
8484

8585
# Install XDebug

0 commit comments

Comments
 (0)