Commit f463731 1 parent 876bb84 commit f463731 Copy full SHA for f463731
File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -287,15 +287,18 @@ public static function getType() {
287
287
*/
288
288
public function realpath () {
289
289
// XXX: Avoiding spamming via trigger_error() here, as we expect this to be
290
- // called from Drupal.
290
+ // called legitimately, such as from:
291
+ // - https://git.drupalcode.org/project/imagemagick/-/blob/218b8bb59225232eb502862c202a7a3849cf0e6e/src/EventSubscriber/ImagemagickEventSubscriber.php#L136
291
292
return FALSE ;
292
293
}
293
294
294
295
/**
295
296
* {@inheritDoc}
296
297
*/
297
298
public function dirname ($ uri = NULL ) {
298
- trigger_error (__FUNCTION__ . '() not supported for foxml stream wrapper. ' , E_USER_WARNING );
299
+ // XXX: Avoiding spamming via trigger_error() here, as we expect this to be
300
+ // called legitimately, such as from:
301
+ // - https://github.com/discoverygarden/dgi_migrate/blob/a93b0ce642db6f0ecdde4d184a501c280fb9d2ed/src/Plugin/migrate/process/EnsureNonWritableTrait.php#L52-L56
299
302
return FALSE ;
300
303
}
301
304
You can’t perform that action at this time.
0 commit comments