#5843 - Replace CQC with PHPStan+PHP-Code-Sniffer

Identifier #5843
Issue type Feature request or suggestion
Title Replace CQC with PHPStan+PHP-Code-Sniffer
Status Open
Tags

Roadmap: Over the horizon (custom)

Handling member Deleted
Addon General / Uncategorised
Description PHPStan has grown up as an excellent PHP linter along similar lines to the CQC. PHP-Code-Sniffer, similarly for code formatting.
We could get rid of the CQC at this point and integrate with these tools, to remove a lot of code we really do not need to be maintaining. If there is stuff the CQC does that PHPStan does not then we could contribute to improving PHPStan.

I would say we could change our Java frontend to be a PHPStan frontend, but really we should be doing a modern CI/CD approach, in which case the merge request pipeline would be showing linting for changed files as part of a merge requirement check.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated