Closed (fixed)
Project:
Scheduler
Version:
2.x-dev
Component:
Coding Standards
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
2 May 2023 at 10:51 UTC
Updated:
7 Jun 2023 at 12:04 UTC
Jump to comment: Most recent
#3310013: Add sniff to check and fix the order of Use statements is done, so Scheduler needs to have the Use statements ordered properly.
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 #2
jonathan1055 commentedFirst, run with latest coder dev, to demonstrate the problem.
Comment #4
jonathan1055 commentedThe development version of Coder is being fetched successfully. But the list of sniffs read from Coders ruleset.xml is not being refreshed. The output in phpcs_sniffs.txt just has the original two
So how do we refresh this from the newly updated Coder source?
Comment #5
jonathan1055 commentedI failed to get DrupalCI phpcs step to use the new sniff, even though the latest Coder dev version is loaded.
But now that Scheduler runs GitLab-CI pipelines we can see in this pipeline the failing PHPCS job, due to the three incorrectly ordered sniffs.
Comment #8
jonathan1055 commentedFixed in 2.x and 8.x-1.x