Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
@Legion112
Legion112 / composer-install.sh
Last active December 24, 2020 15:42
Install composer
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && php composer-setup.php && php -r "unlink('composer-setup.php');" && mv composer.phar /usr/local/bin/composer && composer self-update 1.10.19 && composer global require hirak/prestissimo
@Legion112
Legion112 / gist:decd4733b4918533f62f02ba9ffe904d
Last active September 30, 2020 15:23
Установка русского словаря для PhpStorm
@Legion112
Legion112 / gist:e1e64c751e4d35d90d236aa94a2212fd
Last active March 31, 2021 10:42
Run symfony test with dropping and creating test database and running migrations
bin/console do:da:dr --env=test --force --if-exists && \
bin/console do:da:cr --env=test && \
bin/console doctrine:migrations:migrate --no-interaction --env test && \
vendor/bin/codecept run
@Legion112
Legion112 / test.sh
Created September 27, 2021 10:47
Run test till it fail
while true; do
docker-compose exec clients_back vendor/bin/codecept run tests/api/Buyer/StatusChangeCest.php:closed
if [ $? -ne 0 ]; then
break
fi
done