This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends 'form_div_layout.html.twig' %} | |
{% block form_row -%} | |
<div class="row{% if (not compound or force_error|default(false)) and not valid %} has-error{% endif %}"> | |
<div class="input-field col s12"> | |
{{- form_widget(form) -}} | |
{{- form_label(form) -}} | |
{{- form_errors(form) -}} | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends 'form_div_layout.html.twig' %} | |
{% block form_row -%} | |
<div class="row{% if (not compound or force_error|default(false)) and not valid %} has-error{% endif %}"> | |
<div class="input-field col s12"> | |
{{- form_widget(form) -}} | |
{{- form_label(form) -}} | |
{{- form_errors(form) -}} | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db/test/drop: | |
symfony/bin/console doctrine:database:drop --env=test --force --if-exists | |
db/test/create: | |
symfony/bin/console doctrine:database:create --env=test --if-not-exists | |
db/test/migrate: | |
symfony/bin/console doctrine:migration:migrate --env=test --no-interaction | |
db/test/fixture: | |
symfony/bin/console hautelook_alice:doctrine:fixtures:load --env=test --no-interaction | |
db/test/reset: | |
make db/test/drop && make db/test/create && make db/test/migrate && make db/test/fixture |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Installation of rabbitmq-cli-consumer | |
To read before the installation: https://github.com/corvus-ch/rabbitmq-cli-consumer | |
On the server install rabbitmq-cli-consumer | |
mkdir -p rabbitmq-cli-consumer | |
cd rabbitmq-cli-consumer/ && wget https://github.com/corvus-ch/rabbitmq-cli-consumer/releases/download/2.2.0/rabbitmq-cli-consumer_2.2.0_linux_amd64.tar.gz | |
tar xfzv rabbitmq-cli-consumer_2.2.0_linux_amd64.tar.gz | |
sudo mv rabbitmq-cli-consumer /usr/local/bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
confirmTrue() { | |
case $1 in | |
[nN]) | |
false | |
;; | |
*) | |
true | |
;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Test\AssuranceVieBundle\Validator\Constraints; | |
use AssuranceVieBundle\Entity\ContractType; | |
use AssuranceVieBundle\Entity\Subscription; | |
use AssuranceVieBundle\Validator\Constraints\AreInformationNoteAndKidAccepted; | |
use AssuranceVieBundle\Validator\Constraints\AreInformationNoteAndKidAcceptedValidator; | |
use Symfony\Component\Validator\Context\ExecutionContext; | |
use Tests\AbstractBaseUnitTestCase; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"lint-staged": { | |
"symfony/**/*.php": [ | |
"./scripts/lint_fix.sh", | |
"git add", | |
"symfony/vendor/bin/phpcs -n --standard=Symfony3Custom", | |
"symfony/vendor/bin/phpstan analyse --level 7" | |
], | |
"symfony/**/*.js": "eslint", | |
"client/**/*.js": "eslint", | |
"symfony/**/*.less": "stylelint" |