Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/accelera.../includes/vendor/tool
File: Attribute.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace AmpProject;
[2] Fix | Delete
[3] Fix | Delete
/**
[4] Fix | Delete
* Interface with constants for the different types of attributes.
[5] Fix | Delete
*
[6] Fix | Delete
* phpcs:disable Generic.Files.LineLength.TooLong
[7] Fix | Delete
*
[8] Fix | Delete
* @package ampproject/amp-toolbox
[9] Fix | Delete
*/
[10] Fix | Delete
interface Attribute
[11] Fix | Delete
{
[12] Fix | Delete
[13] Fix | Delete
const ACTION = 'action';
[14] Fix | Delete
const ALT = 'alt';
[15] Fix | Delete
const AMP = 'amp';
[16] Fix | Delete
const AMP4ADS = 'amp4ads';
[17] Fix | Delete
const AMP4ADS_BOILERPLATE = 'amp4ads-boilerplate';
[18] Fix | Delete
const AMP4ADS_EMOJI = self::AMP_EMOJI . '4ads';
[19] Fix | Delete
const AMP4ADS_EMOJI_ALT = self::AMP_EMOJI_ALT . '4ads';
[20] Fix | Delete
const AMP4EMAIL = 'amp4email';
[21] Fix | Delete
const AMP4EMAIL_BOILERPLATE = 'amp4email-boilerplate';
[22] Fix | Delete
const AMP4EMAIL_EMOJI = self::AMP_EMOJI . '4email';
[23] Fix | Delete
const AMP4EMAIL_EMOJI_ALT = self::AMP_EMOJI_ALT . '4email';
[24] Fix | Delete
const AMP_BOILERPLATE = 'amp-boilerplate';
[25] Fix | Delete
const AMP_CUSTOM = 'amp-custom';
[26] Fix | Delete
const AMP_EMOJI = "\xE2\x9A\xA1";
[27] Fix | Delete
const AMP_EMOJI_ALT = "\xE2\x9A\xA1\xEF\xB8\x8F"; // See https://github.com/ampproject/amphtml/issues/25990.
[28] Fix | Delete
const AMP_ONERROR = 'amp-onerror';
[29] Fix | Delete
const AMP_RUNTIME = 'amp-runtime';
[30] Fix | Delete
const AMP_SCRIPT_SRC = 'amp-script-src';
[31] Fix | Delete
const ARIA_HIDDEN = 'aria-hidden';
[32] Fix | Delete
const ARIA_LABEL = 'aria-label';
[33] Fix | Delete
const AS_ = 'as'; // Underscore needed because 'as' is a PHP keyword.
[34] Fix | Delete
const ASYNC = 'async';
[35] Fix | Delete
const ATTRIBUTION = 'attribution';
[36] Fix | Delete
const AUTOPLAY = 'autoplay';
[37] Fix | Delete
const CHARSET = 'charset';
[38] Fix | Delete
const CLASS_ = 'class'; // Underscore needed because 'class' is a PHP keyword.
[39] Fix | Delete
const CONTENT = 'content';
[40] Fix | Delete
const CROSSORIGIN = 'crossorigin';
[41] Fix | Delete
const CUSTOM_ELEMENT = 'custom-element';
[42] Fix | Delete
const CUSTOM_TEMPLATE = 'custom-template';
[43] Fix | Delete
const DATA = 'data';
[44] Fix | Delete
const DECODING = 'decoding';
[45] Fix | Delete
const DISABLE_INLINE_WIDTH = 'disable-inline-width';
[46] Fix | Delete
const HEIGHT = 'height';
[47] Fix | Delete
const HEIGHTS = 'heights';
[48] Fix | Delete
const HIDDEN = 'hidden';
[49] Fix | Delete
const HOST_SERVICE = 'host-service';
[50] Fix | Delete
const HREF = 'href';
[51] Fix | Delete
const HTTP_EQUIV = 'http-equiv';
[52] Fix | Delete
const I_AMPHTML_BINDING = 'i-amphtml-binding';
[53] Fix | Delete
const I_AMPHTML_NO_BOILERPLATE = 'i-amphtml-no-boilerplate';
[54] Fix | Delete
const I_AMPHTML_SSR = 'i-amphtml-ssr';
[55] Fix | Delete
const I_AMPHTML_VERSION = 'i-amphtml-version';
[56] Fix | Delete
const ID = 'id';
[57] Fix | Delete
const IMAGESRCSET = 'imagesrcset';
[58] Fix | Delete
const IMAGESIZES = 'imagesizes';
[59] Fix | Delete
const IMPORTANCE = 'importance';
[60] Fix | Delete
const INTRINSICSIZE = 'intrinsicsize';
[61] Fix | Delete
const LAYOUT = 'layout';
[62] Fix | Delete
const LIGHTBOX = 'lightbox';
[63] Fix | Delete
const LOADING = 'loading';
[64] Fix | Delete
const LOOP = 'loop';
[65] Fix | Delete
const MEDIA = 'media';
[66] Fix | Delete
const NAME = 'name';
[67] Fix | Delete
const NOLOADING = 'noloading';
[68] Fix | Delete
const NOMODULE = 'nomodule';
[69] Fix | Delete
const OBJECT_FIT = 'object-fit';
[70] Fix | Delete
const OBJECT_POSITION = 'object-position';
[71] Fix | Delete
const ON = 'on';
[72] Fix | Delete
const PLACEHOLDER = 'placeholder';
[73] Fix | Delete
const POSTER = 'poster';
[74] Fix | Delete
const PROFILE = 'profile';
[75] Fix | Delete
const REFERRERPOLICY = 'referrerpolicy';
[76] Fix | Delete
const REL = 'rel';
[77] Fix | Delete
const ROLE = 'role';
[78] Fix | Delete
const SRCSET = 'srcset';
[79] Fix | Delete
const SIZES = 'sizes';
[80] Fix | Delete
const STYLE = 'style';
[81] Fix | Delete
const SRC = 'src';
[82] Fix | Delete
const TABINDEX = 'tabindex';
[83] Fix | Delete
const TEMPLATE = 'template';
[84] Fix | Delete
const TITLE = 'title';
[85] Fix | Delete
const TYPE = 'type';
[86] Fix | Delete
const VALUE = 'value';
[87] Fix | Delete
const VIEWPORT = 'viewport';
[88] Fix | Delete
const WIDTH = 'width';
[89] Fix | Delete
[90] Fix | Delete
const ALL_AMP = [self::AMP, self::AMP_EMOJI, self::AMP_EMOJI_ALT];
[91] Fix | Delete
const ALL_AMP4ADS = [self::AMP4ADS, self::AMP4ADS_EMOJI, self::AMP4ADS_EMOJI_ALT];
[92] Fix | Delete
const ALL_AMP4EMAIL = [self::AMP4EMAIL, self::AMP4EMAIL_EMOJI, self::AMP4EMAIL_EMOJI_ALT];
[93] Fix | Delete
[94] Fix | Delete
const ALL_BOILERPLATES = [self::AMP_BOILERPLATE, self::AMP4ADS_BOILERPLATE, self::AMP4EMAIL_BOILERPLATE];
[95] Fix | Delete
[96] Fix | Delete
const TYPE_HTML = 'text/html';
[97] Fix | Delete
const TYPE_JSON = 'application/json';
[98] Fix | Delete
const TYPE_LD_JSON = 'application/ld+json';
[99] Fix | Delete
const TYPE_PDF = 'application/pdf';
[100] Fix | Delete
const TYPE_MODULE = 'module';
[101] Fix | Delete
const TYPE_TEXT_PLAIN = 'text/plain';
[102] Fix | Delete
[103] Fix | Delete
const REL_AMPHTML = 'amphtml';
[104] Fix | Delete
const REL_CANONICAL = 'canonical';
[105] Fix | Delete
const REL_DNS_PREFETCH = 'dns-prefetch';
[106] Fix | Delete
const REL_ICON = 'icon';
[107] Fix | Delete
const REL_MODULEPRELOAD = 'modulepreload';
[108] Fix | Delete
const REL_NOAMPHTML = 'noamphtml';
[109] Fix | Delete
const REL_NOFOLLOW = 'nofollow';
[110] Fix | Delete
const REL_PRECONNECT = 'preconnect';
[111] Fix | Delete
const REL_PREFETCH = 'prefetch';
[112] Fix | Delete
const REL_PRELOAD = 'preload';
[113] Fix | Delete
const REL_PRERENDER = 'prerender';
[114] Fix | Delete
const REL_STYLESHEET = 'stylesheet';
[115] Fix | Delete
[116] Fix | Delete
const DATA_AMP_STORY_PLAYER_POSTER_IMG = 'data-amp-story-player-poster-img';
[117] Fix | Delete
const DATA_HERO = 'data-hero';
[118] Fix | Delete
const DATA_HERO_CANDIDATE = 'data-hero-candidate';
[119] Fix | Delete
[120] Fix | Delete
const CROSSORIGIN_ANONYMOUS = 'anonymous';
[121] Fix | Delete
}
[122] Fix | Delete
[123] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function