We have a long-tested codestyle for the CMS which we hesitated so far to adopt. The new codestyle is a lot stricter and this results in several errors.
To finally adopt this new codestyle, #25447 sets up our CI system to run both the old and the new codestyle in parallel. This PR is the eigth PR in a series to patch the codestyle 20 files at a time. There should be 319 files with issues. All PRs will be based on each other to finally have a passing PR. I guess the best solution would be to wait until I'm done and then go through these PRs starting with #25447 and merge them one by one. The prior PR is #25458
This PR removes the old codestyle rules and phpcs step from drone, since the changes in this PR fail on the old styles, but pass on the new ones.
Thanks!