Follow up from #2066219-9: Decouple image type from image extension.
In https://drupal.org/node/608152#naming it states that methods declared in interfaces must be prefixed with public even if they are already public and PHP doesn't request explicitly to declare them with "public" prefix.
grep -nr " function" core | grep Interface.php | wc -l
34
grep -nr " static function" core | grep Interface.php | wc -l
1
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | public-in-interfaces-2066879-8.patch | 10.41 KB | claudiu.cristea |
| #8 | typed-data-file-image-2015697-28.patch | 55.64 KB | claudiu.cristea |
| #2 | public-in-interfaces-2066879-2.patch | 10.43 KB | claudiu.cristea |
Comments
Comment #1
claudiu.cristeaTagging
Comment #2
claudiu.cristeaHere's a patch.
Drupal\system\Plugin\ImageToolkitInterfaceis left out because is handled in #2066219: Decouple image type from image extension and I want to avoid conflicts.Comment #3
dawehnerAll of them seemed to be helpful as public functions.
Comment #4
jhodgdonNot documentation... I'm not going to touch this one!
Comment #5
claudiu.cristeaWell, this patch doesn't have any effect on coding. It cannot bring any error, bug or change to the way of how Drupal works. It's only about coding standards that's why I moved to documentation.
Comment #6
jhodgdonAh. You can tag an issue "coding standards" to indicate it is about coding standards (which has already been done). But this still isn't documentation, and I am not sure about the assertion that this will not cause any problems, so I am going to let one of the more code-oriented/authorized committers handle this one.
Comment #7
alexpottNeeds a reroll
Comment #8
claudiu.cristeaRerolled.
Comment #9
claudiu.cristeaSorry, attached a wrong patch :)
Comment #10
dawehnerFine!
Comment #11
alexpottCommitted 13ee73e and pushed to 8.x. Thanks!