refactor: make a separated function for thumbnail fetch #1699
Annotations
6 errors
|
PHPStan
Process completed with exit code 1.
|
|
PHPStan:
includes/gutenberg/feedzy-rss-feeds-loop-block.php#L312
Method Feedzy_Rss_Feeds_Loop_Block::get_thumbnail() should return string but returns array<int, bool|int|string>|false.
|
|
PHPStan:
includes/gutenberg/feedzy-rss-feeds-loop-block.php#L142
Undefined variable: $default_thumbnail_img
|
|
PHPStan:
includes/gutenberg/feedzy-rss-feeds-loop-block.php#L141
Undefined variable: $thumb
|
|
PHPStan:
includes/gutenberg/feedzy-rss-feeds-loop-block.php#L0
Ignored error pattern #^Method Feedzy_Rss_Feeds_Loop_Block\:\:render_callback\(\) has parameter \$attributes with no value type specified in iterable type array\.$# in path /home/runner/work/feedzy-rss-feeds/feedzy-rss-feeds/includes/gutenberg/feedzy-rss-feeds-loop-block.php was not matched in reported errors.
|
|
PHPStan:
includes/gutenberg/feedzy-rss-feeds-loop-block.php#L0
Ignored error pattern #^Method Feedzy_Rss_Feeds_Loop_Block\:\:get_value\(\) has parameter \$item with no value type specified in iterable type array\.$# in path /home/runner/work/feedzy-rss-feeds/feedzy-rss-feeds/includes/gutenberg/feedzy-rss-feeds-loop-block.php was not matched in reported errors.
|