diff --git a/Dockerfile b/Dockerfile index 7ffb5c3..08ccb33 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,9 @@ RUN docker-php-ext-install gd bcmath zip intl xsl pdo_mysql soap sockets RUN mkdir /composer COPY composer.json /composer -RUN cd /composer && composer install +RUN cd /composer && \ + composer config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer true && \ + composer install FROM standards-runtime diff --git a/pipe/pipe.py b/pipe/pipe.py index e7a7104..63fc014 100644 --- a/pipe/pipe.py +++ b/pipe/pipe.py @@ -134,6 +134,8 @@ def filter_paths(path): os.mkdir("test-results") phpcs_command = ["/composer/vendor/bin/phpcs", + "-d", + "memory_limit=512M", "--report=junit", f"--standard={self.standards}" ] + changed_files