-------------------------------------------------------------------------------- Fedora Update Notification FEDORA-2023-d028329e83 2023-07-07 01:28:27.404573 -------------------------------------------------------------------------------- Name : php-cs-fixer Product : Fedora 38 Version : 3.20.0 Release : 1.fc38 URL : https://github.com/FriendsOfPHP/PHP-CS-Fixer Summary : PHP Coding Standards Fixer Description : The PHP Coding Standards Fixer (PHP CS Fixer) tool fixes your code to follow standards; whether you want to follow PHP coding standards as defined in the PSR-1, PSR-2, etc., or other community driven ones like the Symfony one. You can also define your (team's) style through configuration. It can modernize your code (like converting the pow function to the ** operator on PHP 5.6) and (micro) optimize it. If you are already using a linter to identify coding standards problems in your code, you know that fixing them by hand is tedious, especially on large projects. This tool does not only detect them, but also fixes them for you. -------------------------------------------------------------------------------- Update Information: **Changelog for version 3.20.0** * DX: fix priority of `FinalClassFixer` (#7091) * DX: use FAST_LINT_TEST_CASES=1 for CI run on macOS (#7092) * feature: SingleLineEmptyBodyFixer - support interfaces, traits and enums (#7096) * feature: `NullableTypeDeclarationForDefaultNullValue` - support for nullability in union types (#5819) ---- **Changelog for version 3.19.2** * bug: NoMultipleStatementsPerLineFixer must run before CurlyBracesPositionFixer (#7087) * bug: PhpdocAddMissingParamAnnotationFixer - fix for promoted properties (#7090) * DX: fix priority of SingleBlankLineBeforeNamespaceFixer (#7088) * minor: Parse all phpdoc types using full grammar (#7010) ---- **Changelog for version 3.19.1** * bug: CurlyBracesPositionFixer must run before StatementIndentationFixer (#7085) ---- **Changelog for version 3.19.0** * bug: SelfAccessorFixer - fix for union types (#7080) * DX: add `php_unit_data_provider_name` to `@PhpCsFixer:risky` set (#7069) * DX: make data providers return type "iterable" (#7072) * DX: rename tests and data providers (#7070) * feature: Introduce `PhpUnitDataProviderNameFixer` (#7057) ---- **Changelog for version 3.18.0** * bug: Fix tokenizing of type hints (#7054) * bug: CompactNullableTypehintFixer - fix for whitespace between `?` and `static` (#6993) * bug: consider function modifiers for `statement_indentation` (#6978) * bug: Exclude `$this` from `TernaryToNullCoalescingFixer` (#7052) * bug: False positive on used imports when docblock includes it with mismatching case (#6909) * bug: Fix chained calls semicolon indent in switch case (#7045) * bug: Fix multiline_whitespace_before_semicolons for echo tags (#7019) * bug: Fix phpDoc align when there is inconsistent spacing after comment star (#7012) * bug: Fix phpDoc parsing without PCRE JIT (#7031) * bug: Fix PhpdocVarWithoutNameFixer with Closure with $this (#6979) * bug: Fix `return_assignment` not formatting when variables are used in `catch` and `finally` (#6960) * bug: Fix `TypeExpression::allowsNull()` with nullable (#7000) * bug: Improve definition of conflicting fixers (#7066) * bug: LambdaNotUsedImportFixer - fix for anonymous class with a string argument (#6972) * bug: ListFilesCommand - fix computing of relative path (#7028) * bug: make `php_unit_namespaced` less greedy (#6952) * bug: PhpdocToCommentFixer - fix for PHPDoc before fn (#6973) * bug: Restructure PER-CS rule sets (#6707) * bug: SelfStaticAccessor - fix static access inside enums (#7024) * bug: SingleSpaceAroundConstructFixer - fix more cases involving `static` (#6995) * bug: `FullyQualifiedStrictTypesFixer` - fix shortening when namespace is not empty and import exists (#7027) * bug: `NoUnneededControlParenthesesFixer` PHP8.0 null-safe operator (#7056) * bug: `PhpdocToCommentFixer` support for enum cases (#7040) * DX: add more tests to CommentsAnalyzer (#7041) * DX: Cleanup duplicate files in finder (#7042) * DX: ControlCaseStructuresAnalyzerTest - cleanup (#6874) * DX: Fix warning when running test on PHP<8 (#7008) * DX: handle `@` in PR title (#6982) * DX: officially deprecate internal Utils anti- pattern class (#7039) * DX: Remove Fabbot.io conditional configuration (#7038) * DX: rename data providers (#7058) * DX: Use `actions/stale` to handle stale issues and pull requests (#5085) * DX: Use `Utils::naturalLanguageJoin()` in implode calls (#7032) * feature: Add support for custom method placement in `ordered_class_elements` (#6360) * feature: Allow case sensitive order for OrderedClassElementsFixer (#7020) * feature: PHP8.3 - Add CT and block type for `Dynamic class constant fetch` (#7004) * feature: Support attributes in `FinalClassFixer` (#6893) * minor: "Callback" must not be fixed to "callback" by default (#7011) * minor: Add `Util::naturalLanguageJoin()` (#7022) * minor: ClassDefinitionFixer - handle attributes and `readonly` in anonymous class definitions (#7014) * minor: FixerFactory::getFixersConflicts - better type hinting (#7044) * minor: PHP8.3 - Fix TokensAnalyzer::isAnonymousClass support for `readonly` (#7013) * minor: PHP8.3 - Typed class constants - handle nullable by transformer (#7009) * minor: Reduce phpDoc type parser complexity from O(n^2) to O(nlog(n)) (#6988) * minor: ReturnAssignmentFixer - Better handling of anonymous classes (#7015) * minor: Transfer `HelpCommand::toString()` to `Utils` (#7034) * minor: Unify "blank lines before namespace" fixers (#7053) * minor: `SelfStaticAccessorFixer` improvements for enums (#7026) * minor: `SingleSpaceAroundConstructFixer` - support space before `as` (#7029) * minor: `UseArrowFunctionsFixer` - run before `FunctionDeclarationFixer` (#7065) -------------------------------------------------------------------------------- ChangeLog: * Wed Jun 28 2023 Remi Collet <remi@xxxxxxxxxxxx> - 3.20.0-1 - update to 3.20.0 * Mon Jun 26 2023 Remi Collet <remi@xxxxxxxxxxxx> - 3.19.2-1 - update to 3.19.2 * Tue Jun 20 2023 Remi Collet <remi@xxxxxxxxxxxx> - 3.18.0-1 - update to 3.18.0 -------------------------------------------------------------------------------- This update can be installed with the "dnf" update program. Use su -c 'dnf upgrade --advisory FEDORA-2023-d028329e83' 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 -- package-announce@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-announce-leave@xxxxxxxxxxxxxxxxxxxxxxx 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/package-announce@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue