Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
PHPStorm is complaining about needed parameter in getAnalyzerResult(). Seems like a bug in ProcessorResultInterface.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#8 | remove_topic_from-2817027-8.patch | 1.33 KB | toncic |
| |||
#6 | interdiff-2817027-4-7.txt | 1.63 KB | toncic |
#6 | remove_topic_from-2817027-6.patch | 1.33 KB | toncic |
| |||
#4 | interdiff-2817027-2-4.txt | 906 bytes | toncic |
#4 | remove_topic_from-2817027-4.patch | 1.86 KB | toncic |
|
Comments
Comment #2
toncic CreditAttribution: toncic at MD Systems GmbH commentedRefactor getAnalyzerResult function.
Comment #3
mbovan CreditAttribution: mbovan at MD Systems GmbH commentedI meant to fix the method signature and its documentation:
ProcessorResultInterface::getAnalyzerResult
.Comment #4
toncic CreditAttribution: toncic at MD Systems GmbH commentedYes of course.
Comment #5
mbovan CreditAttribution: mbovan at MD Systems GmbH commentedAs discussed, we should just synchronize the method signatures (base implementation and the interface representation).
You did a good part of #2770567: Remove ability to extend results by "topic" now that there are contexts. So you can upload a patch there.
Edit: Please update the issue title to describes to needed change.
Comment #6
toncic CreditAttribution: toncic at MD Systems GmbH commentedAdded default parameter in getAnalyzerResult in ProcessorResultInterface.
Comment #8
toncic CreditAttribution: toncic at MD Systems GmbH commentedRe based patch.
Comment #10
mbovan CreditAttribution: mbovan at MD Systems GmbH commentedFixed. :)