You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
+8-129Lines changed: 8 additions & 129 deletions
Original file line number
Diff line number
Diff line change
@@ -515,19 +515,6 @@ parameters:
515
515
identifier:missingType.iterableValue
516
516
count:1
517
517
path:inc/app_replacer.php
518
-
519
-
-
520
-
message:'#^Method Optml_App_Replacer\:\:get_all_image_sizes\(\) return type has no value type specified in iterable type array\.$#'
521
-
identifier:missingType.iterableValue
522
-
count:1
523
-
path:inc/app_replacer.php
524
-
525
-
-
526
-
message:'#^Method Optml_App_Replacer\:\:get_altered_metadata_for_remote_images\(\) has parameter \$metadata with no value type specified in iterable type array\.$#'
527
-
identifier:missingType.iterableValue
528
-
count:1
529
-
path:inc/app_replacer.php
530
-
531
518
-
532
519
message:'#^Method Optml_App_Replacer\:\:get_media_optimized_url\(\) has parameter \$resize with no value type specified in iterable type array\.$#'
533
520
identifier:missingType.iterableValue
@@ -557,13 +544,6 @@ parameters:
557
544
identifier:missingType.return
558
545
count:1
559
546
path:inc/app_replacer.php
560
-
561
-
-
562
-
message:'#^Method Optml_App_Replacer\:\:parse_dimension_from_optimized_url\(\) return type has no value type specified in iterable type array\.$#'
563
-
identifier:missingType.iterableValue
564
-
count:1
565
-
path:inc/app_replacer.php
566
-
567
547
-
568
548
message:'#^Method Optml_App_Replacer\:\:parse_dimensions_from_filename\(\) return type has no value type specified in iterable type array\.$#'
569
549
identifier:missingType.iterableValue
@@ -1541,19 +1521,6 @@ parameters:
1541
1521
identifier:missingType.iterableValue
1542
1522
count:1
1543
1523
path:inc/dam.php
1544
-
1545
-
-
1546
-
message:'#^Method Optml_Dam\:\:get_all_image_sizes\(\) return type has no value type specified in iterable type array\.$#'
1547
-
identifier:missingType.iterableValue
1548
-
count:1
1549
-
path:inc/dam.php
1550
-
1551
-
-
1552
-
message:'#^Method Optml_Dam\:\:get_altered_metadata_for_remote_images\(\) has parameter \$metadata with no value type specified in iterable type array\.$#'
1553
-
identifier:missingType.iterableValue
1554
-
count:1
1555
-
path:inc/dam.php
1556
-
1557
1524
-
1558
1525
message:'#^Method Optml_Dam\:\:get_dam_imported_attachments\(\) has parameter \$images with no value type specified in iterable type array\.$#'
1559
1526
identifier:missingType.iterableValue
@@ -1601,13 +1568,6 @@ parameters:
1601
1568
identifier:missingType.iterableValue
1602
1569
count:1
1603
1570
path:inc/dam.php
1604
-
1605
-
-
1606
-
message:'#^Method Optml_Dam\:\:parse_dimension_from_optimized_url\(\) return type has no value type specified in iterable type array\.$#'
1607
-
identifier:missingType.iterableValue
1608
-
count:1
1609
-
path:inc/dam.php
1610
-
1611
1571
-
1612
1572
message:'#^Method Optml_Dam\:\:replace_dam_url_args\(\) has parameter \$args with no value type specified in iterable type array\.$#'
1613
1573
identifier:missingType.iterableValue
@@ -1773,43 +1733,43 @@ parameters:
1773
1733
-
1774
1734
message:'#^Method Optml_Lazyload_Replacer\:\:size_to_dimension\(\) has parameter \$image_meta with no value type specified in iterable type array\.$#'
1775
1735
identifier:missingType.iterableValue
1776
-
count:1
1736
+
count:2
1777
1737
path:inc/lazyload_replacer.php
1778
1738
1779
1739
-
1780
1740
message:'#^Method Optml_Lazyload_Replacer\:\:size_to_dimension\(\) return type has no value type specified in iterable type array\.$#'
1781
1741
identifier:missingType.iterableValue
1782
-
count:1
1742
+
count:2
1783
1743
path:inc/lazyload_replacer.php
1784
1744
1785
1745
-
1786
1746
message:'#^Method Optml_Lazyload_Replacer\:\:to_map_values\(\) has parameter \$map with no value type specified in iterable type array\.$#'
1787
1747
identifier:missingType.iterableValue
1788
-
count:1
1748
+
count:2
1789
1749
path:inc/lazyload_replacer.php
1790
1750
1791
1751
-
1792
1752
message:'#^Method Optml_Lazyload_Replacer\:\:to_optml_crop\(\) has parameter \$crop_args with no value type specified in iterable type array\.$#'
1793
1753
identifier:missingType.iterableValue
1794
-
count:1
1754
+
count:2
1795
1755
path:inc/lazyload_replacer.php
1796
1756
1797
1757
-
1798
1758
message:'#^Method Optml_Lazyload_Replacer\:\:to_optml_crop\(\) return type has no value type specified in iterable type array\.$#'
1799
1759
identifier:missingType.iterableValue
1800
-
count:1
1760
+
count:2
1801
1761
path:inc/lazyload_replacer.php
1802
1762
1803
1763
-
1804
1764
message:'#^Method Optml_Lazyload_Replacer\:\:to_optml_watermark\(\) has parameter \$watermark_args with no value type specified in iterable type array\.$#'
1805
1765
identifier:missingType.iterableValue
1806
-
count:1
1766
+
count:2
1807
1767
path:inc/lazyload_replacer.php
1808
1768
1809
1769
-
1810
1770
message:'#^Method Optml_Lazyload_Replacer\:\:to_optml_watermark\(\) return type has no value type specified in iterable type array\.$#'
1811
1771
identifier:missingType.iterableValue
1812
-
count:1
1772
+
count:2
1813
1773
path:inc/lazyload_replacer.php
1814
1774
1815
1775
-
@@ -1821,7 +1781,7 @@ parameters:
1821
1781
-
1822
1782
message:'#^Property Optml_Lazyload_Replacer\:\:\$dimension_cache type has no value type specified in iterable type array\.$#'
1823
1783
identifier:missingType.iterableValue
1824
-
count:1
1784
+
count:2
1825
1785
path:inc/lazyload_replacer.php
1826
1786
1827
1787
-
@@ -2159,19 +2119,6 @@ parameters:
2159
2119
identifier:missingType.iterableValue
2160
2120
count:1
2161
2121
path:inc/media_offload.php
2162
-
2163
-
-
2164
-
message:'#^Method Optml_Media_Offload\:\:get_all_image_sizes\(\) return type has no value type specified in iterable type array\.$#'
2165
-
identifier:missingType.iterableValue
2166
-
count:1
2167
-
path:inc/media_offload.php
2168
-
2169
-
-
2170
-
message:'#^Method Optml_Media_Offload\:\:get_altered_metadata_for_remote_images\(\) has parameter \$metadata with no value type specified in iterable type array\.$#'
2171
-
identifier:missingType.iterableValue
2172
-
count:1
2173
-
path:inc/media_offload.php
2174
-
2175
2122
-
2176
2123
message:'#^Method Optml_Media_Offload\:\:get_image_id_from_content\(\) return type has no value type specified in iterable type array\.$#'
2177
2124
identifier:missingType.iterableValue
@@ -2339,13 +2286,6 @@ parameters:
2339
2286
identifier:missingType.parameter
2340
2287
count:1
2341
2288
path:inc/media_offload.php
2342
-
2343
-
-
2344
-
message:'#^Method Optml_Media_Offload\:\:parse_dimension_from_optimized_url\(\) return type has no value type specified in iterable type array\.$#'
2345
-
identifier:missingType.iterableValue
2346
-
count:1
2347
-
path:inc/media_offload.php
2348
-
2349
2289
-
2350
2290
message:'#^Method Optml_Media_Offload\:\:pre_filter_rest_content\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
2351
2291
identifier:missingType.generics
@@ -2561,13 +2501,6 @@ parameters:
2561
2501
identifier:missingType.return
2562
2502
count:1
2563
2503
path:inc/media_rename/attachment_edit.php
2564
-
2565
-
-
2566
-
message:'#^Method Optml_Attachment_Model\:\:get_all_image_sizes\(\) return type has no value type specified in iterable type array\.$#'
2567
-
identifier:missingType.iterableValue
2568
-
count:1
2569
-
path:inc/media_rename/attachment_model.php
2570
-
2571
2504
-
2572
2505
message:'#^Method Optml_Attachment_Model\:\:get_all_image_sizes_paths\(\) return type has no value type specified in iterable type array\.$#'
2573
2506
identifier:missingType.iterableValue
@@ -2579,13 +2512,6 @@ parameters:
2579
2512
identifier:missingType.iterableValue
2580
2513
count:1
2581
2514
path:inc/media_rename/attachment_model.php
2582
-
2583
-
-
2584
-
message:'#^Method Optml_Attachment_Model\:\:get_altered_metadata_for_remote_images\(\) has parameter \$metadata with no value type specified in iterable type array\.$#'
2585
-
identifier:missingType.iterableValue
2586
-
count:1
2587
-
path:inc/media_rename/attachment_model.php
2588
-
2589
2515
-
2590
2516
message:'#^Method Optml_Attachment_Model\:\:get_attachment_metadata\(\) return type has no value type specified in iterable type array\.$#'
2591
2517
identifier:missingType.iterableValue
@@ -2603,13 +2529,6 @@ parameters:
2603
2529
identifier:missingType.return
2604
2530
count:1
2605
2531
path:inc/media_rename/attachment_model.php
2606
-
2607
-
-
2608
-
message:'#^Method Optml_Attachment_Model\:\:parse_dimension_from_optimized_url\(\) return type has no value type specified in iterable type array\.$#'
2609
-
identifier:missingType.iterableValue
2610
-
count:1
2611
-
path:inc/media_rename/attachment_model.php
2612
-
2613
2532
-
2614
2533
message:'#^Method Optml_Attachment_Model\:\:size_to_dimension\(\) has parameter \$image_meta with no value type specified in iterable type array\.$#'
2615
2534
identifier:missingType.iterableValue
@@ -3041,19 +2960,6 @@ parameters:
3041
2960
identifier:missingType.iterableValue
3042
2961
count:1
3043
2962
path:inc/tag_replacer.php
3044
-
3045
-
-
3046
-
message:'#^Method Optml_Tag_Replacer\:\:get_all_image_sizes\(\) return type has no value type specified in iterable type array\.$#'
3047
-
identifier:missingType.iterableValue
3048
-
count:1
3049
-
path:inc/tag_replacer.php
3050
-
3051
-
-
3052
-
message:'#^Method Optml_Tag_Replacer\:\:get_altered_metadata_for_remote_images\(\) has parameter \$metadata with no value type specified in iterable type array\.$#'
3053
-
identifier:missingType.iterableValue
3054
-
count:1
3055
-
path:inc/tag_replacer.php
3056
-
3057
2963
-
3058
2964
message:'#^Method Optml_Tag_Replacer\:\:init\(\) has no return type specified\.$#'
3059
2965
identifier:missingType.return
@@ -3065,13 +2971,6 @@ parameters:
3065
2971
identifier:missingType.parameter
3066
2972
count:1
3067
2973
path:inc/tag_replacer.php
3068
-
3069
-
-
3070
-
message:'#^Method Optml_Tag_Replacer\:\:parse_dimension_from_optimized_url\(\) return type has no value type specified in iterable type array\.$#'
3071
-
identifier:missingType.iterableValue
3072
-
count:1
3073
-
path:inc/tag_replacer.php
3074
-
3075
2974
-
3076
2975
message:'#^Method Optml_Tag_Replacer\:\:parse_dimensions_from_tag\(\) has parameter \$args with no value type specified in iterable type array\.$#'
3077
2976
identifier:missingType.iterableValue
@@ -3173,19 +3072,6 @@ parameters:
3173
3072
identifier:missingType.iterableValue
3174
3073
count:1
3175
3074
path:inc/url_replacer.php
3176
-
3177
-
-
3178
-
message:'#^Method Optml_Url_Replacer\:\:get_all_image_sizes\(\) return type has no value type specified in iterable type array\.$#'
3179
-
identifier:missingType.iterableValue
3180
-
count:1
3181
-
path:inc/url_replacer.php
3182
-
3183
-
-
3184
-
message:'#^Method Optml_Url_Replacer\:\:get_altered_metadata_for_remote_images\(\) has parameter \$metadata with no value type specified in iterable type array\.$#'
3185
-
identifier:missingType.iterableValue
3186
-
count:1
3187
-
path:inc/url_replacer.php
3188
-
3189
3075
-
3190
3076
message:'#^Method Optml_Url_Replacer\:\:init\(\) has no return type specified\.$#'
3191
3077
identifier:missingType.return
@@ -3215,13 +3101,6 @@ parameters:
3215
3101
identifier:missingType.parameter
3216
3102
count:1
3217
3103
path:inc/url_replacer.php
3218
-
3219
-
-
3220
-
message:'#^Method Optml_Url_Replacer\:\:parse_dimension_from_optimized_url\(\) return type has no value type specified in iterable type array\.$#'
3221
-
identifier:missingType.iterableValue
3222
-
count:1
3223
-
path:inc/url_replacer.php
3224
-
3225
3104
-
3226
3105
message:'#^Method Optml_Url_Replacer\:\:size_to_dimension\(\) has parameter \$image_meta with no value type specified in iterable type array\.$#'
0 commit comments