Run PHPStan on add-phpcs-phpstan
#7
Annotations
10 errors
phpstan:
image-sizes/qmx-image-sizes-collector.php#L93
Method QMX_Collector_Image_Sizes::action__plugins_loaded() has no return type specified.
|
phpstan:
image-sizes/qmx-image-sizes-collector.php#L101
Method QMX_Collector_Image_Sizes::action__after_setup_theme() has no return type specified.
|
phpstan:
image-sizes/qmx-image-sizes-collector.php#L120
Access to an undefined property WP_Post|WP_Post_Type|WP_Term|WP_User::$post_content.
|
phpstan:
image-sizes/qmx-image-sizes-collector.php#L141
Method QMX_Collector_Image_Sizes::filter__wp_get_attachment_image_src() has no return type specified.
|
phpstan:
image-sizes/qmx-image-sizes-collector.php#L141
Method QMX_Collector_Image_Sizes::filter__wp_get_attachment_image_src() has parameter $attachment_id with no type specified.
|
phpstan:
image-sizes/qmx-image-sizes-collector.php#L141
Method QMX_Collector_Image_Sizes::filter__wp_get_attachment_image_src() has parameter $image with no type specified.
|
phpstan:
image-sizes/qmx-image-sizes-collector.php#L141
Method QMX_Collector_Image_Sizes::filter__wp_get_attachment_image_src() has parameter $size with no type specified.
|
phpstan:
image-sizes/qmx-image-sizes-collector.php#L161
Method QMX_Collector_Image_Sizes::process_added_image_sizes() has no return type specified.
|
phpstan:
image-sizes/qmx-image-sizes-collector.php#L161
Method QMX_Collector_Image_Sizes::process_added_image_sizes() has parameter $source with no type specified.
|
phpstan:
image-sizes/qmx-image-sizes-collector.php#L224
Method QMX_Collector_Image_Sizes::add_ratio() has no return type specified.
|