-------------------------------------------------------------------------------- Fedora Update Notification FEDORA-2025-bd9725ecc9 2025-09-17 01:24:26.942226+00:00 --------------------------------------------------------------------------------
Name : php-pear-PHP-CodeSniffer Product : Fedora 41 Version : 3.13.4 Release : 1.fc41 URL : https://github.com/PHPCSStandards/PHP_CodeSniffer Summary : PHP coding standards enforcement tool Description : PHP_CodeSniffer provides functionality to verify that code conforms to certain standards, such as PEAR, or user-defined. -------------------------------------------------------------------------------- Update Information: Version 3.13.4 - 2025-09-05 Fixed Fixed bug #1213: ability to run tests for external standards using the PHPCS native test framework was broken. Fixed bug #1214: PHP 8.5 "Using null as an array offset" deprecation notices. Version 3.13.3 - 2025-09-04 Added Tokenizer support for PHP 8.4 dereferencing of new expressions without wrapping parentheses. #1160 Tokenizer support for PHP 8.4 abstract properties. #1183 The File::getMemberProperties() method now also supports abstract properties through a new is_abstract array index in the return value. #1184 Additionally, the following sniffs have been updated to support abstract properties: Generic.PHP.LowerCaseConstant #1185 Generic.PHP.UpperCaseConstant #1185 PSR2.Classes.PropertyDeclaration #1188 Squiz.Commenting.VariableComment #1186 Squiz.WhiteSpace.MemberVarSpacing #1187 Tokenizer support for the PHP 8.4 "exit as a function call" change. #1201 When exit/die is used as a fully qualified "function call", it will now be tokenized as T_NS_SEPARATOR + T_EXIT. Additionally, the following sniff has been updated to handle fully qualified exit/die correctly: Squiz.PHP.NonExecutableCode Changed Tokenizer/PHP: fully qualified true/false/null will now be tokenized as T_NS_SEPARATOR + T_TRUE/T_FALSE/T_NULL. #1201 Previously, these were tokenized as T_NS_SEPARATOR + T_STRING. Additionally, the following sniffs have been updated to handle fully qualified true/false/null correctly: Generic.CodeAnalysis.UnconditionalIfStatement Generic.ControlStructures.DisallowYodaConditions PEAR.Functions.ValidDefaultValue Generic.PHP.Syntax: the sniff is now able to scan input provided via STDIN on non-Windows OSes. #915 PSR2.ControlStructures.SwitchDeclaration: the WrongOpener* error code is now auto-fixable if the identified "wrong opener" is a semi-colon. #1161 The PSR2.Classes.PropertyDeclaration will now check that the abstract modifier keyword is placed before a visibility keyword. #1188 Errors will be reported via a new AbstractAfterVisibility error code. Various housekeeping, including improvements to the tests and documentation. Fixed Fixed bug #1112 : --parallel option fails if PHP_CodeSniffer is invoked via bash and the invokation creates a non-PHPCS-managed process. Fixed bug #1113 : fatal error when the specified "files to scan" would result in the same file being added multiple times to the queue. This error only occured when --parallel scanning was enabled. Fixed bug #1154 : PEAR.WhiteSpace.ObjectOperatorIndent: false positive when checking multiple chained method calls in a multidimensional array. Fixed bug #1193 : edge case inconsistency in how empty string array keys for sniff properties are handled. Fixed bug #1197 : Squiz.Commenting.FunctionComment: return types containing a class name with underscores would be truncated leading to incorrect results. -------------------------------------------------------------------------------- ChangeLog: * Mon Sep 8 2025 Remi Collet <[email protected]> - 3.13.4-1 - update to 3.13.4 -------------------------------------------------------------------------------- This update can be installed with the "dnf" update program. Use su -c 'dnf upgrade --advisory FEDORA-2025-bd9725ecc9' at the command line. For more information, refer to the dnf documentation available at http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label All packages are signed with the Fedora Project GPG key. More details on the GPG keys used by the Fedora Project can be found at https://fedoraproject.org/keys -------------------------------------------------------------------------------- -- _______________________________________________ package-announce mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
