PluginProbe
Search Atlas SEO – OTTO AI SEO Automation for WordPress / trunk
Search Atlas SEO – OTTO AI SEO Automation for WordPress vtrunk
2.6.26 2.6.25 2.6.24 2.6.23 2.6.22 2.6.21 2.6.20 2.6.19 2.6.18 2.6.17 2.6.16 2.6.15 2.6.14 2.6.13 2.6.12 2.6.11 2.6.10 2.6.9 2.6.8 2.6.7 2.6.6 2.6.5 2.6.4 2.6.3 2.5.23 All 138 releases
metasync / phpstan-stubs / amp-functions.php

amp-functions.php in Search Atlas SEO – OTTO AI SEO Automation for WordPress trunk, at phpstan-stubs/amp-functions.php

22 lines 532 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * PHPStan stubs for optional AMP-plugin functions.
4 *
5 * These functions ship with the AMP plugin and are guarded at runtime via
6 * func_is_available(); PHPStan has no symbol source for them in this repo,
7 * so their declarations are provided here for static analysis only. This
8 * file is never loaded at runtime — phpstan.neon references it via scanFiles.
9 */
10
11 namespace {
12 function amp_is_request(): bool
13 {
14 return false;
15 }
16
17 function is_amp_endpoint(): bool
18 {
19 return false;
20 }
21 }
22