Only add AMP scripts to runtime cache in Standard Mode #11641
Annotations
10 errors
Static Analysis (PHPStan):
includes/admin/class-amp-post-meta-box.php#L172
Path in require() "/home/runner/work/amp-wp/amp-wp/assets/js/amp-post-meta-box.asset.php" is not a file or it does not exist.
|
Static Analysis (PHPStan):
includes/admin/class-amp-post-meta-box.php#L243
Path in require() "/home/runner/work/amp-wp/amp-wp/assets/js/amp-block-editor.asset.php" is not a file or it does not exist.
|
Static Analysis (PHPStan):
includes/admin/class-amp-template-customizer.php#L321
Path in require() "/home/runner/work/amp-wp/amp-wp/assets/js/amp-customize-controls.asset.php" is not a file or it does not exist.
|
Static Analysis (PHPStan):
includes/admin/class-amp-template-customizer.php#L573
Path in require() "/home/runner/work/amp-wp/amp-wp/assets/js/amp-customize-controls-legacy.asset.php" is not a file or it does not exist.
|
Static Analysis (PHPStan):
includes/admin/class-amp-template-customizer.php#L635
Path in require() "/home/runner/work/amp-wp/amp-wp/assets/js/amp-customize-preview-legacy.asset.php" is not a file or it does not exist.
|
Static Analysis (PHPStan):
includes/embeds/class-amp-youtube-embed-handler.php#L278
Call to function is_array() with array will always evaluate to true.
|
Static Analysis (PHPStan):
includes/embeds/class-amp-youtube-embed-handler.php#L479
Call to function is_array() with array{0?: string, minutes?: ''|numeric-string, 1?: ''|numeric-string, seconds?: numeric-string, 2?: numeric-string} will always evaluate to true.
|
Static Analysis (PHPStan):
includes/settings/class-amp-customizer-design-settings.php#L233
Path in require() "/home/runner/work/amp-wp/amp-wp/assets/js/amp-customizer-design-preview-legacy.asset.php" is not a file or it does not exist.
|
Static Analysis (PHPStan):
includes/utils/class-amp-dom-utils.php#L376
Offset 'event' on array{0: list<string>, 1: list<non-falsy-string>, event: list<non-empty-string>, 2: list<non-empty-string>, actions: list<non-empty-string>, 3: list<non-empty-string>} in isset() always exists and is not nullable.
|
Static Analysis (PHPStan):
includes/utils/class-amp-dom-utils.php#L394
Offset 'action' on array{0: list<string>, action: list<non-empty-string>, 1: list<non-empty-string>} in isset() always exists and is not nullable.
|
Loading