-
Notifications
You must be signed in to change notification settings - Fork 568
For Developer
Here you will find information about our development tools and how to use them.
Please make sure your editor uses our .editorconfig file. It contains rules about our coding styles.
We use GitHub Actions to run our continuous integration as well as other tasks after pushing changes.
You will find related files in .github/workflows/.
Our test related files are located in tests folder.
Tests are written using PHPUnit.
To install (and update) development tools like PHPUnit or PHP-CS-Fixer run:
make install-dev-toolsDevelopment tools are getting installed in dev-tools/vendor.
Please check dev-tools/composer.json for more information about versions etc.
To run a tool manually, you use dev-tools/vendor/bin, for instance:
dev-tools/vendor/bin/php-cs-fixer fix --verbose --dry-runBelow are a few shortcuts to improve your developer experience.
To run all tests run:
make run-phpunitTo check coding styles, run:
make run-php-cs-fixerTo run a static code analysis, use:
make run-phpstan