Distro advisory · Fedora 43
php-pear-PHP-CodeSniffer-4.0.4-1.fc43
Description
This is a security release and all users are advised to update their install(s) as soon as possible.
The security issue only affects users of the Gitblame, Hgblame or Svnblame report(s).
(void) cast. [#1325]
The T_VOID_CAST token has been added to the Tokens::CAST_TOKENS array.suggest section to the composer.json file to inform users about the recommended iconv and pcntl PHP extensions. [#1388]
libxml is a required PHP extension. [#1409]$this in static closures. [#1377]WrongOpener*) has been made more informative. [#1358]. Fixes [#1322].
PEAR.Functions.FunctionDeclaration [#1445]
CloseBracketLine error message now exposes 1 data value (previously 0).EmptyLine error message now exposes 1 data value (previously 0).Indent error message now exposes 3 data values (previously 2).PSR12.Classes.AnonClassDeclaration and Squiz.Functions.MultiLineFunctionDeclaration sniffs.PSR2.Classes.ClassDeclaration [#1446]
ExtendsLine and ImplementsLine error messages now…Manual fix · Fedora 43
sudo dnf upgrade php-pear-PHP-CodeSnifferrpm -q php-pear-PHP-CodeSniffer