Problem/Motivation
See https://github.com/mglaman/phpstan-drupal/pull/754
It's not a true issue but more of a warning when folks extend non-API code.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork upgrade_status-3445307
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
mglamanComment #4
bbralaAssuming tests don't fail this is exactly what we need to improve project_analysis.
Comment #5
bbralaTest did fail, guess review bot didnt find this one yet ;p
Comment #6
gorkagr commentedHi!
Before applying the patch, i get the following error in one module:
after applying the patch, i get the following error:
I assume is due to these lines added:
best
Comment #7
gábor hojtsyYeah I am not surprised as that is what this part of the diff would do (the drupal_root key is already added a bit above). The str_replace above this needs to be differently done, I think the drupal part removed from that, then this can add the root.
Comment #8
bbralaFixed the issue, seems like he is happy? :)
Comment #9
gorkagr commentedAll good now, update_status can analise the module and skip the @internal errors :)
Comment #11
gábor hojtsyThanks all, merged.