Back in July, in #3446713: Drupal 11 compatibility, .gitlab-ci.yml was modified to use the CORE phpcs sniffs instead of the default sniffs.
Core is much more permissive that the sniffs that run by default on contrib, so potentially we are missing a lot of coding standards problems.
I have been wondering why certain things in the codebase that I know to be wrong don't show up as errors in the test cases (for example, using public function setUp() in test cases instead of protected function setUp(): void.
Rather than stumbling upon these things and opening up individual issues, I'm going to turn on the default phpcs testing here and see what gets called out.
Issue fork flag-3486902
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
tr commentedWell, that identified absolutely nothing, so perhaps it's best to just use the default .gitlab-ci.yml configuration for phpcs rather than modify it?
Comment #4
ivnishYes, let's use default configuration
Comment #6
ivnish