Closed (fixed)
Project:
Drupal core
Version:
9.4.x-dev
Component:
other
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Feb 2022 at 12:42 UTC
Updated:
2 Jun 2022 at 09:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
longwaveConfirmed locally that phpcs still runs clean.
Comment #3
andypostit may need release note snippet as 3 new dev-dependency added but good to go
Comment #4
longwaveRerolled.
Comment #5
catchI think we need a basic dependency evaluation for the development dependencies.
Comment #6
ankithashettyRerolled the patch #4, thanks!
Comment #7
longwaveNW for #5
Comment #8
spokjeComment #9
spokjeCoder released 8.3.15 recently: https://www.drupal.org/project/coder/releases/8.3.15
Let's do a reroll for that version.
Comment #10
spokjeStab at dependency evaluation
Note #1: Never done this before
Note #2: After "evaluating the evaluations", they should be added to https://www.drupal.org/about/core/policies/core-dependency-policies/core-dependency-release-cycles-security-information-and-evaluation-criteria#dev
dealerdirect/phpcodesniffer-composer-installer
franck.nijhof [at] dealerdirect.comphpstan/phpdoc-parser
slevomat/coding-standard
Comment #11
spokjeComment #12
longwaveAdded a release note snippet. I assume we want to backport this to 9.5.x as well, and maybe 9.4.x if we are quick enough?
This unblocks #3048495: Fix Drupal.Semantics.FunctionTriggerError coding standard and perhaps some more coding standards issues.
Comment #13
spokjeThanks @longwave
Looking at the changes between the current 8.3.13 and the new 8.3.15 here: https://github.com/pfrenssen/coder/compare/8.3.13...8.3.15, these are the new/improved sniffs:
InlineComment): Allow PHP attributes between docblock and functionFunctionTriggerError): @trigger_error deprecation sniff is too strict - allow the message to start with a variable - Might unblock/help #3048495: Fix Drupal.Semantics.FunctionTriggerError coding standardDeprecated): Deprecation error messages don't allow module:n.n.n versionsInlineComment): cspell configuration comments don't need to end in a dot - Might unblock/help #2719663: Fix 'Drupal.Commenting.InlineComment.InvalidEndChar' coding standardInsecureUnserialize): Add a sniff for insecure use of unserialize(). - Might unblock/help #3046696: Move from serialized columns to JSON encoded data wherever possible, or use allowed_classesFunctionComment): Add support for the "mixed" typeDescriptionSniff): Add sniff for missing / empty descriptions in info files - Might unblock/help #2950031: Missing Description for testing modules in coreVariableComment): Add support for union typesI've added all the d.o. issues that I could find that could be helped by those changes
Comment #14
spokjeComment #15
alexpottCommitted bb0fa10 and pushed to 10.0.x. Thanks!
Committed 91f04e6 and pushed to 9.5.x. Thanks!
Committed 37d6841 and pushed to 9.4.x. Thanks!
Comment #19
alexpottAdded dependencies to https://www.drupal.org/about/core/policies/core-dependency-policies/core...