Problem/Motivation
I noticed the following in .gitlab-ci.yml
changes:
- "**/config/schema/*.schema.yml"
# Modules may alter config schema using hook_config_schema_info_alter().
- "**/*.module"
However, hook_config_schema_info_alter() implementations have increasingly moved to object-oriented (OOP) hooks using PHP classes under src/Hook/.
But hook_config_schema_info_alter implementations have moved to OOP hooks in php files
Steps to reproduce
Proposed resolution
Update the CI rule to also track changes to PHP files in the src/Hook/ directory:
changes:
- "**/config/schema/*.schema.yml"
# Modules may alter config schema using hook_config_schema_info_alter().
- "**/*.module"
- "**/src/Hook/*.php"Remaining tasks
User interface changes
NA
Introduced terminology
NA
API changes
NA
Data model changes
NA
Release notes snippet
Issue fork drupal-3529706
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
annmarysruthy commentedComment #5
annmarysruthy commentedComment #6
smustgrave commentedEven if straight forward issue summary should still be complete.
Comment #7
annmarysruthy commentedComment #8
annmarysruthy commentedComment #9
smustgrave commentedComment #10
alexpottBackported to 11.2.x as a test-only change.
Committed and pushed ec4fdb42579 to 11.x and 248f84d59ab to 11.2.x. Thanks!
Comment #11
alexpott