Fix Drupal coding standards violations in custom module and theme#166
Draft
Fix Drupal coding standards violations in custom module and theme#166
Conversation
Agent-Logs-Url: https://github.com/markconroy/markie/sessions/368d5ed2-6c26-4e3e-8d5a-06708b0b4b75 Co-authored-by: markconroy <2183332+markconroy@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
markconroy
April 1, 2026 10:48
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Custom PHP files and theme CSS lacked
@filedoc comments, properusestatements, and minor formatting issues. Nophpcs.xml.distexisted, leaving CSS full of false positives from modern CSS syntax (custom properties, multi-line values,:where()).PHP (
markie.module,markie.install,markconroy.theme)@filedoc comments with descriptions\Symfony\...\AccessDeniedHttpExceptionwith auseimport\fromuse \Drupal\node\Entity\NodeCSS (
breadcrumbs.css,pager.css,base.css,homepage.css,README.md)}in.homepage__nav ulphpcs.xml.dist(new)Adds a project-level PHPCS config so
vendor/bin/phpcsworks without flags:web/modules/custom/andweb/themes/custom/Squiz.CSS.MissingColon,Squiz.CSS.SemicolonSpacing,Squiz.CSS.Indentation,Drupal.CSS.ClassDefinitionNameSpacing.MultipleSelectors)versionkey warning for non-distributed custom theme/module info files