You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tom Udding edited this page Jan 1, 2024
·
22 revisions
Makefile
To aid the development process, several development aids are included in the Makefile.
Firstly, make sure your environment is set up correctly by coping .env.dist to .env as described in Docker Deployment.
You can now use the following commands from the Makefile as well:
make phpcbf before committing to beautify your changes according to the PSR1 and PSR12 standards.
make phpcsfix to beatify all project code.
make phpcsfixrisky to beatify all project code and apply functional changes like typing. This may change functionality and/or introduce bugs. Use this with caution.
make phpstan to perform a static code analysis to find probable bugs.
Installing PHP
On Linux or inside WSL, you can run the following to install PHP and all neccesary extensions: