Skip to content

Commit f8d3fe6

Browse files
authored
Remove obsolete wp_generate_attachment_metadata() PHPStan ignore entry (#258)
1 parent 8ef2bf4 commit f8d3fe6

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

‎phpstan.neon.dist‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,6 @@ parameters:
2525
identifier: WPCompat.parameterNotAvailable.applyfilters.args
2626
path: src/Media_Command.php
2727

28-
# The WordPress 6.0 change to `wp_generate_attachment_metadata()` added the
29-
# `$filesize` value to the *returned array*. The `$file` parameter itself has been
30-
# there since WordPress 2.1.
31-
-
32-
identifier: WPCompat.parameterNotAvailable.wpgenerateattachmentmetadata.file
33-
path: src/Media_Command.php
34-
3528
# `Media_Command::wp_get_registered_image_subsizes()` only calls its WordPress 5.3
3629
# namesake behind a `wp_version_compare()` check, and reimplements it otherwise.
3730
-

0 commit comments

Comments
 (0)