Compare commits
5 commits
a2585689f4
...
b018eaa33f
Author | SHA1 | Date | |
---|---|---|---|
Hypolite Petovan | b018eaa33f | ||
Tobias Quathamer | aa8725eb58 | ||
Tobias Quathamer | 733743acca | ||
Hypolite Petovan | 6c94709d77 | ||
Philipp Holzer | 1bf9f63ee8 |
|
@ -2,10 +2,10 @@
|
|||
#
|
||||
# Checks the PHP CS syntax
|
||||
#
|
||||
if ! echo "${CHANGED_FILES}" | grep -qE "^(\\.php_cs(\\.dist)?|composer\\.lock)$"; then
|
||||
if ! echo "${CHANGED_FILES}" | grep -qE "^(\\.php-cs-fixer(\\.dist)?\\.php|composer\\.lock)$"; then
|
||||
EXTRA_ARGS=$(printf -- '--path-mode=intersection\n--\n%s' "${CHANGED_FILES}");
|
||||
else
|
||||
EXTRA_ARGS='';
|
||||
fi
|
||||
|
||||
./bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer fix --config=.php_cs.dist -v --diff --diff-format=udiff --dry-run --using-cache=no ${EXTRA_ARGS}
|
||||
./vendor/bin/php-cs-fixer fix -v --diff --dry-run --stop-on-violation --using-cache=no ${EXTRA_ARGS}
|
||||
|
|
|
@ -15,7 +15,7 @@ RUN set -ex; \
|
|||
apt-get autoremove -y; apt-get autoclean; apt-get clean; \
|
||||
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/*;
|
||||
|
||||
RUN phpenmod curl pdo pdo_mysql xml gd zip opcache mbstring posix ctype json iconv pcntl openssl
|
||||
RUN phpenmod curl pdo pdo_mysql xml gd zip opcache mbstring posix ctype json iconv pcntl openssl intl
|
||||
|
||||
RUN set -ex; \
|
||||
curl -O -L https://phar.phpunit.de/phpunit-9.phar; \
|
||||
|
|
|
@ -15,7 +15,7 @@ RUN set -ex; \
|
|||
apt-get autoremove -y; apt-get autoclean; apt-get clean; \
|
||||
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/*;
|
||||
|
||||
RUN phpenmod curl pdo pdo_mysql xml gd zip opcache mbstring posix ctype json iconv pcntl openssl
|
||||
RUN phpenmod curl pdo pdo_mysql xml gd zip opcache mbstring posix ctype json iconv pcntl openssl intl
|
||||
|
||||
RUN set -ex; \
|
||||
curl -O -L https://phar.phpunit.de/phpunit-9.phar; \
|
||||
|
|
|
@ -15,7 +15,7 @@ RUN set -ex; \
|
|||
apt-get autoremove -y; apt-get autoclean; apt-get clean; \
|
||||
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/*;
|
||||
|
||||
RUN phpenmod curl pdo pdo_mysql xml gd zip opcache mbstring posix ctype iconv
|
||||
RUN phpenmod curl pdo pdo_mysql xml gd zip opcache mbstring posix ctype iconv intl
|
||||
|
||||
RUN set -ex; \
|
||||
curl -O -L https://phar.phpunit.de/phpunit-9.phar; \
|
||||
|
|
|
@ -15,7 +15,7 @@ RUN set -ex; \
|
|||
apt-get autoremove -y; apt-get autoclean; apt-get clean; \
|
||||
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/*;
|
||||
|
||||
RUN phpenmod curl pdo pdo_mysql xml gd zip opcache mbstring posix ctype iconv
|
||||
RUN phpenmod curl pdo pdo_mysql xml gd zip opcache mbstring posix ctype iconv intl
|
||||
|
||||
RUN set -ex; \
|
||||
curl -O -L https://phar.phpunit.de/phpunit-9.phar; \
|
||||
|
|
|
@ -15,7 +15,7 @@ RUN set -ex; \
|
|||
apt-get autoremove -y; apt-get autoclean; apt-get clean; \
|
||||
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/*;
|
||||
|
||||
RUN phpenmod curl pdo pdo_mysql xml gd zip opcache mbstring posix ctype iconv
|
||||
RUN phpenmod curl pdo pdo_mysql xml gd zip opcache mbstring posix ctype iconv intl
|
||||
|
||||
RUN set -ex; \
|
||||
curl -O -L https://phar.phpunit.de/phpunit-9.phar; \
|
||||
|
|
Loading…
Reference in a new issue