@@ -17,7 +17,6 @@ before_script:
static_analysis:
script:
- php --version
- - php -i | grep ini
- php -d memory_limit=-1 vendor/bin/phpstan analyse -c phpstan.neon.dist --error-format gitlab > phpstan.json # Display code quality in MR
artifacts:
when: always
@@ -56,5 +56,11 @@ php -r "if (hash_file('SHA384', 'composer-setup.php') === file_get_contents('ins
php composer-setup.php
php -r "unlink('composer-setup.php'); unlink('installer.sig');"
+# Config php
+touch /usr/local/etc/php/conf.d/additional.ini
+echo "memory_limit=2096M"
+
+php -i | grep ini
# Install modules
HOST=ci php -d memory_limit=-1 composer.phar install --no-interaction --ignore-platform-reqs