0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-11-09 15:28:40 +00:00
htmlpurifier/library/HTMLPurifier
David Rans 1dd3e52365
PHP 8.1: fix various deprecations/errors in newest version of PHP (#310)
* Test on PHP 8.1

* PHP 8.1: fix deprecated NULL param to glob()

* PHP 8.1: fix PHP error when passing NULL to rawurlencode()

* PHP 8.1: calling ctype_lower with FALSE is deprecated

* PHP 8.1: passing NULL to setAttribute() is deprecated

* PHP 8.1: passing NULL to str_replace() is an error

* PHP 8.1: fix error passing NULL to str_replace()

* PHP 8.1: fix return type deprecation with backwards compatible attribute

* Revert typo
2022-04-08 13:48:12 -04:00
..
AttrDef CSS: Add "background-size" tag support (#289) 2021-04-22 10:01:00 -04:00
AttrTransform Refactor HTML.Noopener to HTML.TargetNoopener so that it behaves like HTML.TargetNoreferrer and is active by default if a target is set 2017-02-03 16:54:51 -08:00
ChildDef Fixed Issue #264: <thead> element removed from <table> if there are no <tbody> or <tr> elements (#283) 2021-01-26 11:11:50 -05:00
ConfigSchema Add %HTML.Forms config directive (#260) 2020-06-28 20:26:33 -04:00
DefinitionCache Fix E_WARNING when cache directory exists 2017-06-20 09:53:14 +02:00
EntityLookup Fix missing numeric entities (shows up when DirectLexing). 2011-02-27 11:58:37 +00:00
Filter Comment on why it's a non-greedy match. 2017-03-06 23:27:30 -08:00
HTMLModule feat: transform deprecated width attribute (#306) 2021-12-23 21:26:14 -05:00
Injector Fix "Parameter must be an array or an object that implements Countable" (#285) 2021-02-27 20:42:20 -05:00
Language/messages Delete language tests that are interfering with PSR-0 compatibility 2020-06-28 20:38:16 -04:00
Lexer PHP 8.1: fix various deprecations/errors in newest version of PHP (#310) 2022-04-08 13:48:12 -04:00
Node Rewrite FixNesting implementation to be tree-based. 2013-10-20 22:37:01 -07:00
Printer Correct implode() params for php74 compliance (#243) 2020-01-21 11:17:18 -05:00
Strategy Document skips in more detail, #116. 2017-03-06 20:31:28 -08:00
TagTransform Replace curly braces with square brackets in string offsets (#224) 2019-07-30 22:50:43 -04:00
Token Add conversion functions for our own tree format. 2013-10-20 15:05:11 -07:00
URIFilter PHP 8.1: fix various deprecations/errors in newest version of PHP (#310) 2022-04-08 13:48:12 -04:00
URIScheme avoid exif_imagetype exception with small files/corrupt data URI 2016-07-16 05:23:17 -07:00
VarParser Fixed reserved words in constants for PHP 7 as per https://www.php.net/manual/en/reserved.other-reserved-words.php (#222) 2019-07-10 22:24:27 -04:00
Arborize.php Delete asserts, fixes #97. 2016-10-02 00:14:41 -07:00
AttrCollections.php Update to work with Git version of SimpleTest. 2016-03-24 00:08:03 -07:00
AttrDef.php Better regex for mungeRgb 2017-02-10 00:40:56 +01:00
AttrTransform.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
AttrTypes.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
AttrValidator.php Remove some unnecessary pass-by-reference. 2013-10-16 18:55:23 -07:00
Bootstrap.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
ChildDef.php Rewrite FixNesting implementation to be tree-based. 2013-10-20 22:37:01 -07:00
Config.php Release 4.14.0 2021-12-24 20:21:49 -05:00
ConfigSchema.php Update reference to the valid types to refer to HTMLPurifier_VarParser::types (#189) 2018-11-11 16:23:01 -05:00
ContentSets.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
Context.php Properly handle context variables that are NULL. 2013-10-13 13:21:02 -07:00
CSSDefinition.php CSS: Add "background-size" tag support (#289) 2021-04-22 10:01:00 -04:00
Definition.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
DefinitionCache.php Fix #49; prevent readdir infinite loop when cache directory not listable. 2016-03-27 14:53:31 -07:00
DefinitionCacheFactory.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
Doctype.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
DoctypeRegistry.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
ElementDef.php PHP 8.1: fix various deprecations/errors in newest version of PHP (#310) 2022-04-08 13:48:12 -04:00
Encoder.php Replace curly braces with square brackets in string offsets (#224) 2019-07-30 22:50:43 -04:00
EntityLookup.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
EntityParser.php Don't use @ warning suppression. 2018-11-11 18:20:33 -05:00
ErrorCollector.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
ErrorStruct.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
Exception.php Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
Filter.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
Generator.php Mod: using stdClass instead of stdclass 2017-06-02 09:55:46 +08:00
HTMLDefinition.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
HTMLModule.php issue-256: Fix PHP 7.3 compatibility issues (#266) 2020-09-15 12:38:39 -04:00
HTMLModuleManager.php Refactor HTML.Noopener to HTML.TargetNoopener so that it behaves like HTML.TargetNoreferrer and is active by default if a target is set 2017-02-03 16:54:51 -08:00
IDAccumulator.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
Injector.php Skip counting currentNesting if null 2017-12-30 00:23:44 -05:00
Language.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
LanguageFactory.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
Length.php PHP 8.1: fix various deprecations/errors in newest version of PHP (#310) 2022-04-08 13:48:12 -04:00
Lexer.php PHP 8.1: fix various deprecations/errors in newest version of PHP (#310) 2022-04-08 13:48:12 -04:00
Node.php Rewrite FixNesting implementation to be tree-based. 2013-10-20 22:37:01 -07:00
PercentEncoder.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
Printer.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
PropertyList.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
PropertyListIterator.php PHP 8.1: fix various deprecations/errors in newest version of PHP (#310) 2022-04-08 13:48:12 -04:00
Queue.php Fix quadratic behavior in DOMLex due to array_shift. 2013-09-17 00:48:42 -07:00
Strategy.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
StringHash.php PHP 8.1: fix various deprecations/errors in newest version of PHP (#310) 2022-04-08 13:48:12 -04:00
StringHashParser.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
TagTransform.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
Token.php Document skips in more detail, #116. 2017-03-06 20:31:28 -08:00
TokenFactory.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
UnitConverter.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
URI.php Allow %URI.DefaultScheme to be null. 2016-10-27 17:30:44 -07:00
URIDefinition.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
URIFilter.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
URIParser.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
URIScheme.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
URISchemeRegistry.php PSR-2 reformatting PHPDoc corrections 2013-08-17 22:27:26 -04:00
VarParser.php Fixed reserved words in constants for PHP 7 as per https://www.php.net/manual/en/reserved.other-reserved-words.php (#222) 2019-07-10 22:24:27 -04:00
VarParserException.php Add vim modelines to all files. 2008-12-06 04:24:59 -05:00
Zipper.php Use a Zipper to process MakeWellFormed, removing quadratic behavior. 2013-10-13 13:21:02 -07:00