A new composer package "spaze/phpstan-disallowed-calls" is added.
This one is a PHPStan extension which will check for forbidden calls.
Those calls need to be defined per project.
We use this to prevent debugging and other none good practices from
showing up in our code base.
We include the pre defined rules from the package.
Those can be argued and adjusted once we hit them.
Resolves: #1158
A new composer package "tomasvotruba/cognitive-complexity" is added.
This one is a PHPStan extension which will check the cognitive
complexity of classes and functions/methods.
We have very low numbers as our examples are not too complex yet.
Real projects adopting the extension might configure higher values in
the beginning or use the baseline approach.
Resolves: #1154
The acceptance tests have not been testing the extension itself,
have not been maintained for quite some time, and do not serve
as a good example anymore.
Until we have a proper set of example acceptance tests, we should
remove them.
Also drop the now-unused dependency on Codeception.
- configure the checked paths via the configuration file
- do not output a progress bar on CI
- add a baseline file and a command for creating it
- cap the number of processes
Fixes#281