DX: ensure PHPCS behaves the same locally as on CI: dev dependency on drupal/coder, exclude `MissingShort`
- CI: `phpcs` is green - locally: not. This slows down both humans _and_ LLMs. ```shell $ composer run phpcs > mkdir -p test-results && mkdir -p .cache/phpcs && composer --working-dir=$(composer run composer-root) exec phpcs -- --standard=$(pwd)/phpcs.xml --report-width=auto --colors -s --report-junit=$(pwd)/test-results/phpcs.xml --report-full --report-summary $(pwd) > d=.; i=0; while [ $i -lt 10 ]; do if [ -f "$d/composer.json" ] && cat "$d/composer.json" | grep -q '"type"' && cat "$d/composer.json" | grep -q '"project"'; then readlink -f "$d"; break; fi; d="../$d"; i=$((i+1)); done FILE: /Users/wim.leers/core/modules/contrib/experience_builder/tests/src/Unit/PropShape/PropShapeNormalizeTest.php ------------------------------------------------------------------------------------------------------------------ FOUND 3 ERRORS AFFECTING 3 LINES ------------------------------------------------------------------------------------------------------------------ 14 | ERROR | Missing short description in doc comment (Drupal.Commenting.DocComment.MissingShort) 64 | ERROR | Missing short description in doc comment (Drupal.Commenting.DocComment.MissingShort) 142 | ERROR | Missing short description in doc comment (Drupal.Commenting.DocComment.MissingShort) ------------------------------------------------------------------------------------------------------------------ FILE: /Users/wim.leers/core/modules/contrib/experience_builder/tests/src/Unit/PropShape/PropShapeIsPlainOrRichProseTest.php --------------------------------------------------------------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 2 LINES --------------------------------------------------------------------------------------------------------------------------- 13 | ERROR | Missing short description in doc comment (Drupal.Commenting.DocComment.MissingShort) 31 | ERROR | Missing short description in doc comment (Drupal.Commenting.DocComment.MissingShort) --------------------------------------------------------------------------------------------------------------------------- FILE: /Users/wim.leers/core/modules/contrib/experience_builder/tests/src/Unit/PropExpressionTest.php ----------------------------------------------------------------------------------------------------- FOUND 9 ERRORS AFFECTING 9 LINES ----------------------------------------------------------------------------------------------------- 207 | ERROR | Missing short description in doc comment (Drupal.Commenting.DocComment.MissingShort) 416 | ERROR | Missing short description in doc comment (Drupal.Commenting.DocComment.MissingShort) 889 | ERROR | Missing short description in doc comment (Drupal.Commenting.DocComment.MissingShort) 1022 | ERROR | Missing short description in doc comment (Drupal.Commenting.DocComment.MissingShort) 1097 | ERROR | Missing short description in doc comment (Drupal.Commenting.DocComment.MissingShort) 1317 | ERROR | Missing short description in doc comment (Drupal.Commenting.DocComment.MissingShort) 1361 | ERROR | Missing short description in doc comment (Drupal.Commenting.DocComment.MissingShort) 1674 | ERROR | Missing short description in doc comment (Drupal.Commenting.DocComment.MissingShort) 1973 | ERROR | Missing short description in doc comment (Drupal.Commenting.DocComment.MissingShort) ----------------------------------------------------------------------------------------------------- FILE: /Users/wim.leers/core/modules/contrib/experience_builder/tests/src/Unit/Twig/CanvasTwigExtensionFiltersTest.php --------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE --------------------------------------------------------------------------------------------------------------------- 27 | ERROR | Missing short description in doc comment (Drupal.Commenting.DocComment.MissingShort) --------------------------------------------------------------------------------------------------------------------- FILE: /Users/wim.leers/core/modules/contrib/experience_builder/src/Plugin/Validation/Constraint/MatchesComponentPropRequirednessConstraintValidator.php ------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 2 LINES ------------------------------------------------------------------------------------------------------------------------------------------------------- 41 | ERROR | Inline doc block comments are not allowed; use "/* Comment */" or "// Comment" instead (Drupal.Commenting.InlineComment.DocBlock) 50 | ERROR | Inline doc block comments are not allowed; use "/* Comment */" or "// Comment" instead (Drupal.Commenting.InlineComment.DocBlock) ------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /Users/wim.leers/core/modules/contrib/experience_builder/src/Plugin/Validation/Constraint/NotNullIfRequiredComponentPropConstraintValidator.php ----------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 2 LINES ----------------------------------------------------------------------------------------------------------------------------------------------------- 35 | ERROR | Inline doc block comments are not allowed; use "/* Comment */" or "// Comment" instead (Drupal.Commenting.InlineComment.DocBlock) 51 | ERROR | Inline doc block comments are not allowed; use "/* Comment */" or "// Comment" instead (Drupal.Commenting.InlineComment.DocBlock) ----------------------------------------------------------------------------------------------------------------------------------------------------- ```
issue