From the plugin root directory, run the following commands:
$ make install -e SYLIUS_VERSION=XX SYMFONY_VERSION=YY
Default values : XX=1.9.0 and YY=5.2
To be able to setup the plugin database, remember to configure you database credentials
in install/Application/.env.local
and install/Application/.env.test.local
.
To reset test environment:
$ make reset
-
GrumPHP (see configuration grumphp.yml.)
GrumPHP is executed by the Git pre-commit hook, but you can launch it manualy with :
$ make grumphp
-
PHPUnit
$ make phpunit
-
Using
test
environment:$ (cd tests/Application && bin/console server:run -d public -e test)
-
Using
dev
environment:$ (cd tests/Application && bin/console server:run -d public -e dev)