Closed gudmdharalds closed 2 years ago
No issues were found to report when scanning latest commit (commit-ID: 34cff9f34e0c8b88c872315eb45f8dc3f32d758e)
This bot provides automated PHP linting and PHPCS scanning. For more information about the bot and available customizations, see our documentation.
Software versions
Options file (
|
PHP lint optionsPHP lint files enabled:
Lint modified files only:
Directories not PHP linted:
SVG configurationSVG scanning enabled:
Auto-approval configurationAuto-approvals enabled:
Non-functional changes auto-approved:
Auto-approved file-types:
|
PHPCS configurationPHPCS scanning enabled:
PHPCS severity level:
Standard(s) used:
Runtime set:
Custom sniffs included:
Custom sniffs excluded:
Directories not PHPCS scanned:
|
This pull request ensures that all calls to
htmlentities()
are made with default PHP 8.1 parameters. In PHP 8.1, the$flags
parameter is by defaultENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401
, while in PHP 8.0 it is by defaultENT_COMPAT
(see documentation). This project aims to support both PHP 8.0 and 8.1, and so to ensure the code behaves the same with both PHP versions, this change is needed.The incompatibility was discovered while resolving #297.
TODO:
htmlentities()
are made with PHP 8.1 defaults.