bin/build.sh
bin/start.sh
bin/start.sh
- Visit localhost in your browser.
Ctrl+C
orbin/stop.sh
to exit
- Configure server with
localhost
name andlocalhost
host. - See
/docker/docker-compose.yml
to know the volumes for each folder.
bin/static-analysis.sh
We are using this tools to add Static Analysis and Generics to our PHP code:
- Psalm
- PHPStan
- PHP Mess Detector
Note: We don't use the
naming
rule as is incompatible with Harmony
- Prettier with Prettier PHP Note: currently is disabled waiting a fix for PHP 8.0
"lint-staged": {
"**/*.php": "php -l",
"**/*": "prettier --write --ignore-unknown",
"*.{js,css,md}": "prettier --write"
},
bin/test-unit|test-integration.sh
We are using this tools for Unit Test and Coverage: