Repository navigation
Document that manual installs need rules.neon for loadInclude() files - #1096
Merged
Merged
Conversation
LoadIncludes and ModuleLoadInclude load the files that loadInclude() and module_load_include() include. A config with only extension.neon reports functions from those files as not found. Fixes #741. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Fixes #741.
The README's manual installation section presented
rules.neonas optional ("To include Drupal specific analysis rules, include this file"). But two of its rules,LoadIncludesandModuleLoadInclude, also load the files thatloadInclude()andmodule_load_include()include. Without them, functions from those files are reported as not found. That's what Drush hit: their config included onlyextension.neon.The section now shows both files in one
includesblock, explains what each one adds, and names the "Function ... not found" error so a search for it lands here. No code changes.🤖 Generated with Claude Code