Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency friendsofphp/php-cs-fixer to v3 #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Nov 1, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
friendsofphp/php-cs-fixer ^2.16 -> ^3.0 age adoption passing confidence

Release Notes

PHP-CS-Fixer/PHP-CS-Fixer (friendsofphp/php-cs-fixer)

v3.63.2

Compare Source

  • fix: FullyQualifiedStrictTypesFixer - reset cache even if there is no use (#​8183)

v3.63.1

Compare Source

  • dummy release

v3.63.0

Compare Source

  • feat: Add array_destructuring as option for trailing_comma_in_multiline (#​8172)
  • feat: remove braces even for single import (#​8156)
  • feat: TrailingCommaInMultilineFixer - dynamically evaluate config against PHP version (#​8167)
  • fix: Do not shorten FQN for class resolution if imported symbol is not a class (#​7705)
  • fix: Ensure PHP binary path is used as a single CLI argument in parallel worker process (#​8180)
  • fix: PhpUnitAttributesFixer - fix priorities with PhpUnitDataProvider(.+)Fixer (#​8169)
  • chore: add tags for data providers that will change PHPStan's baseline (#​8178)
  • chore: add @return tags for data providers already having PHPDoc (#​8176)
  • chore: add @return tags for data providers that do not have array in data (#​8179)
  • chore: remove duplicates from data providers (#​8164)
  • chore: remove duplicates from data providers that are copies in code (#​8145)
  • chore: remove beStrictAboutTodoAnnotatedTests from PHPUnit's config (#​8160)
  • CI: Update PHPStan to 1.11.10 (#​8163)
  • CI: Update PHPStan to 1.11.11 and fix error that changed (#​8174)
  • docs: fix indent on rule date_time_create_from_format_call (#​8173)

v3.62.0

Compare Source

  • feat: set new_with_parentheses for anonymous_class to false in PER-CS2.0 (#​8140)
  • chore: NewWithParenthesesFixer - create TODO to change the default configuration to match PER-CS2 (#​8148)

v3.61.1

Compare Source

  • fix: NoSuperfluousPhpdocTagsFixer - fix "Undefined array key 0" error (#​8150)

v3.61.0

Compare Source

  • feat: no_superfluous_phpdoc_tags - also cover ?type (#​8125)
  • feat: support PHPUnit v9.1 naming for some asserts (#​7997)
  • fix: Do not mangle non-whitespace token in PhpdocIndentFixer (#​8147)
  • DX: add more typehints for class-string (#​8139)
  • DX: refactor ProjectCodeTest::provideDataProviderMethodCases (#​8138)

v3.60.0

Compare Source

  • feat: Add sprintf in the list of compiler optimized functions (#​8092)
  • feat: PhpUnitAttributesFixer - add option to keep annotations (#​8090)
  • chore: cleanup tests that had @requires PHP 7.4 ages ago (#​8122)
  • chore: cleanup TokensAnalyzerTest (#​8123)
  • chore: fix example issue reported by reportPossiblyNonexistentGeneralArrayOffset from PHPStan (#​8089)
  • chore: NoSuperfluousPhpdocTagsFixer - no need to call heavy toComparableNames method to add null type (#​8132)
  • chore: PHPStan 11 array rules (#​8011)
  • chore: PhpUnitSizeClassFixerTest - solve PHP 8.4 issues (#​8105)
  • chore: reduce PHPStan errors in PhpUnitAttributesFixer (#​8091)
  • chore: reuse test methods (#​8119)
  • CI: check autoload (#​8121)
  • CI: Update PHPStan to 1.11.8 (#​8133)
  • deps: upgrade dev-tools (#​8102)
  • DX: check for duplicated test data (#​8131)
  • DX: check for duplicated test methods (#​8124)
  • DX: check for duplicated test methods (as AutoReview test) (#​8134)
  • DX: do not exclude duplicates that are clearly mistakes (#​8135)
  • DX: Dump offsetAccess.notFound errors to baseline (#​8107)
  • fix: Better way of walking types in TypeExpression (#​8076)
  • fix: CI for PHP 8.4 (#​8114)
  • fix: update TokensTest to shrink PHPStan's baseline (#​8112)
  • fix: no_useless_concat_operator - do not break variable (2) (#​7927)
  • fix: NullableTypeDeclarationFixer - don't convert standalone null into nullable union type (#​8098)
  • fix: NullableTypeDeclarationFixer - don't convert standalone NULL into nullable union type (#​8111)
  • fix: NullableTypeDeclarationFixer - insert correct token (#​8118)
  • fix: PhpUnitAttributesFixer - handle multiple annotations of the same name (#​8075)

v3.59.3

Compare Source

  • refactor: refactor to templated trait+interface (#​7988)

v3.59.2

Compare Source

  • fix: "list" is reserved type (#​8087)
  • chore: add missing type in method prototype (#​8088)
  • CI: bump Ubuntu version (#​8086)
  • deps: bump infection to unblock PHPUnit 11, and few more as chore (#​8083)

v3.59.1

Compare Source

  • fix: Bump React's JSON decoder buffer size (#​8068)
  • docs: options - handle enums in dicts (#​8082)

v3.59.0

Compare Source

  • feat(Docker): Multi-arch build (support for arm64) (#​8079)
  • feat: @PhpCsFixer ruleset - normalise implicit backslashes in single quoted strings (#​7965)
  • feat: SimpleToComplexStringVariableFixer - support variable being an array (#​8064)
  • fix: Look up for PHPDoc's variable name by only chars allowed in the variables (#​8062)
  • fix: Update PhpUnitTestCaseStaticMethodCallsFixer::STATIC_METHODS (#​8073)
  • fix: native_constant_invocation - array constants with native constant names (#​8008)
  • chore: update PHPStan (#​8060)
  • CI: Update PHPStan to 1.11.4 (#​8074)
  • docs: don't expose list as config type for dicts (#​8081)
  • docs: Make wording in final_class docs less dismissive (#​8065)
  • docs: Update 1-bug_report.yml (#​8067)
  • DX: Remove version from Docker Compose files (#​8061)

v3.58.1

Compare Source

  • fix: ConstantCaseFixer - do not change class constant usages (#​8055)
  • fix: PhpUnitTestClassRequiresCoversFixer - do not add annotation when attribute with leading slash present (#​8054)

v3.58.0

Compare Source

  • chore(doc): Use FQCN for parallel config in documentation (#​8029)
  • chore: fix typo in PhpUnitTestClassRequiresCoversFixerTest (#​8047)
  • chore: RandomApiMigrationFixer - do not modify configuration property (#​8033)
  • chore: Tokens::setCode - further improvements to cache (#​8053)
  • chore: update PHPStan (#​8045)
  • docs: Add missing imports in a cookbook about creating custom rules (#​8031)
  • docs: fix deprecated string interpolation style (#​8036)
  • docs: global_namespace_import - simplify allowed config types (#​8023)
  • feat(GroupImportFixer): Ability to configure which type of imports should be grouped (#​8046)
  • fix: clear Tokens::$blockStartCache and Tokens::$blockEndCache when calling Tokens::setCode (#​8051)
  • fix: correctly handle PHP closing tag with simplified_null_return (#​8049)
  • fix: ConstantCaseFixer - do not change namespace (#​8004)
  • fix: PhpUnitAttributesFixer - do not add attribute if already present (#​8043)
  • fix: PhpUnitSizeClassFixer - do not add annotation when there are attributes (#​8044)
  • fix: PhpUnitTestClassRequiresCoversFixer - attribute detection when class is readonly (#​8042)

v3.57.2

Compare Source

  • docs: better ConfigurableFixer allowed types (#​8024)
  • docs: Improve Docker usage example (#​8021)
  • feat: Report used memory to 2 decimal digits only (#​8017)
  • fix: Support named args in ParallelConfigFactory::detect() (#​8026)
  • fix: php_unit_test_class_requires_covers Attribute detection when class is final (#​8016)

v3.57.1

Compare Source

  • chore: update PHPDoc in Preg::matchAll (#​8012)
  • fix: Runner - handle no files while in parallel runner (#​8015)

v3.57.0

Compare Source

  • feat: Ability to run Fixer with parallel runner 🎉 (#​7777)

v3.56.2

Compare Source

  • chore: update PHPStan (#​8010)
  • DX: Fix Mess Detector violations (#​8007)
  • DX: Install PCov extension for local Docker (#​8006)

v3.56.1

Compare Source

  • chore: improve PHPDoc typehints (#​7994)
  • CI: Allow any integer in PHPStan error for Token's constructor (#​8000)
  • fix: Better array shape in PhpUnitDedicateAssertFixer (#​7999)
  • fix: ConstantCaseFixer - do not touch typed constants (#​7998)

v3.56.0

Compare Source

  • feat: TrailingCommaInMultilineFixer - handle trailing comma in language constructs (#​7989)
  • fix: TrailingCommaInMultilineFixer - language constructs should be covered by arguments, not parameters (#​7990)
  • chore: remove invalid comment (#​7987)
  • DX: Cache optimisation (#​7985)

v3.55.0

Compare Source

  • feat: Introduce OrderedAttributesFixer (#​7395)
  • chore: few SCA fixes and dev-tools update (#​7969)
  • chore: fix phpdoc types (#​7977)
  • chore: narrow PHPDoc types (#​7979)
  • chore: Normalize implicit backslahes in single quoted strings internally (#​7786)
  • chore: phpdoc - rely on strict list/tuple/assoc instead of array (#​7978)
  • chore: PhpUnitDataProviderNameFixer - follow config creation pattern (#​7980)
  • chore: Preg - drop half-support for array-pattern (#​7976)
  • chore: re-use CodeHasher (#​7984)
  • chore: RuleSetsTest - assert that Fixer is configurable (#​7961)
  • chore: sugar syntax (#​7986)
  • chore: Tokens should be always a list (#​7698)
  • CI: Ad-hoc fix for MacOS jobs (#​7970)
  • CI: Fix calculating diff between branches in PRs (#​7973)
  • DX: allow to enforce cache mechanism by env var (#​7983)
  • DX: do not typehint fixed-length arrays as lists (#​7974)
  • DX: Prevent having deprecated fixers listed as successors of other deprecated fixers (#​7967)
  • DX: Resolve/Ignore PHPStan issues on level 6 + bump to level 7 with new baseline (#​7971)
  • DX: use list type in PHPDoc (#​7975)
  • fix: PhpUnitAttributesFixer - fix for #[RequiresPhp] exceeding its constructor parameters (#​7966)
  • test: don't count comment after class as another classy element (#​7982)

v3.54.0

Compare Source

  • feat: introduce PhpUnitAttributesFixer (#​7831)
  • chore: Properly determine self-approval trigger commit (#​7936)
  • chore: Revert ref for self-approval Git checkout (#​7944)
  • CI: check if proper array key is declared (#​7912)
  • DX: cleanup FullyQualifiedStrictTypesFixerTest (#​7954)
  • DX: cleanup PhpdocNoAccessFixerTest (#​7933)
  • DX: cleanup PhpUnitMethodCasingFixerTest (#​7948)
  • DX: cleanup PhpUnitStrictFixerTest (#​7938)
  • DX: Improve internal dist config for Fixer (#​7952)
  • DX: Improve issue templates (#​7942)
  • DX: there is no namespace if there is no PHP code (#​7953)
  • DX: update .gitattributes (#​7931)
  • fix: Remove Infection during Docker release (#​7937)
  • fix: FullyQualifiedStrictTypesFixer - do not add imports before PHP opening tag (#​7955)
  • fix: PhpUnitMethodCasingFixer - do not double underscore (#​7949)
  • fix: PhpUnitTestClassRequiresCoversFixer - do not add annotation when there are attributes (#​7880)
  • test: Ignore PHP version related mutations (#​7935)

v3.53.0

Compare Source

  • chore: Use list over array in more places (#​7905)
  • CI: allow for self-approvals for maintainers (#​7921)
  • CI: Improve Infection setup (#​7913)
  • CI: no need to trigger enable auto-merge when self-approve (#​7929)
  • DX: reduce array_filter function usages (#​7923)
  • DX: remove duplicated character from trim call (#​7930)
  • DX: update actions producing warnings (#​7925)
  • DX: update actions producing warnings (#​7928)
  • DX: update phpstan/phpstan-strict-rules (#​7924)
  • feat: Add trailing comma in multiline to PER-CS 2.0 (#​7916)
  • feat: Introduce AttributeAnalysis (#​7909)
  • feat: @PHP84Migration introduction (#​7774)
  • fix: Constant invocation detected in typed constants (#​7892)
  • fix: PhpdocArrayTypeFixer - JIT stack limit exhausted (#​7895)
  • test: Introduce Infection for mutation tests (#​7874)

v3.52.1

Compare Source

  • fix: StatementIndentationFixer - do not crash on ternary operator in class property (#​7899)
  • fix: PhpCsFixer\Tokenizer\Tokens::setSize return type (#​7900)

v3.52.0

Compare Source

  • chore: fix PHP 8.4 deprecations (#​7894)
  • chore: fix PHPStan 1.10.60 issues (#​7873)
  • chore: list over array in more places (#​7876)
  • chore: replace template with variable in Preg class (#​7882)
  • chore: update PHPStan (#​7871)
  • depr: nullable_type_declaration_for_default_null_value - deprecate option that is against @PHP84Migration (#​7872)
  • docs: Fix typo (#​7889)
  • feat: Add support for callable template in PHPDoc parser (#​7084)
  • feat: Add array_indentation to PER-CS2.0 ruleset (#​7881)
  • feat: @Symfony:risky - add no_unreachable_default_argument_value (#​7863)
  • feat: PhpCsFixer ruleset - enable nullable_type_declaration_for_default_null_value (#​7870)
  • fix: Constant invocation detected in DNF types (#​7869)
  • fix: Correctly indent multiline constants and properties (#​7875)
  • fix: no_useless_concat_operator - do not break variable (#​7827)
  • fix: TokensAnalyzer - handle unary operator in arrow functions (#​7862)
  • fix: TypeExpression - fix "JIT stack limit exhausted" error (#​7843)

v3.51.0

Compare Source

  • chore: add missing tests for non-documentation classes (#​7848)
  • chore: do not perform type analysis in tests (#​7852)
  • chore: list over array in more places (#​7857)
  • chore: tests documentation classes (#​7855)
  • feat: @Symfony - add nullable_type_declaration (#​7856)
  • test: fix wrong type in param annotation (#​7858)

v3.50.0

Compare Source

  • chore: add missing types (#​7842)
  • chore: BlocksAnalyzer - raise exception on invalid index (#​7819)
  • chore: DataProviderAnalysis - expect list over array (#​7800)
  • chore: do not use @large on method level (#​7832)
  • chore: do not use @medium on method level (#​7833)
  • chore: Fix typos (#​7835)
  • chore: rename variables (#​7847)
  • chore: some improvements around array typehints (#​7799)
  • CI: fix PHP 8.4 job (#​7829)
  • DX: Include symfony/var-dumper in dev tools (#​7795)
  • feat: Ability to remove unused imports from multi-use statements (#​7815)
  • feat: allow PHPUnit 11 (#​7824)
  • feat: Allow shortening symbols from multi-use statements (only classes for now) (#​7816)
  • feat: introduce PhpdocArrayTypeFixer (#​7812)
  • feat: PhpUnitTestCaseStaticMethodCallsFixer - cover PHPUnit v11 methods (#​7822)
  • feat: Support for multi-use statements in NamespaceUsesAnalyzer (#​7814)
  • feat: MbStrFunctionsFixer - add support for mb_trim, mb_ltrim and mb_rtrim functions (#​7840)
  • feat: NoEmptyPhpdocFixer - do not leave empty line after removing PHPDoc (#​7820)
  • feat: no_superfluous_phpdoc_tags - introduce allow_future_params option (#​7743)
  • fix: do not use wrongly named arguments in data providers (#​7823)
  • fix: Ensure PCNTL extension is always installed in Docker (#​7782)
  • fix: PhpdocListTypeFixer - support key types containing <…> (#​7817)
  • fix: Proper build target for local Docker Compose (#​7834)
  • fix: union PHPDoc support in fully_qualified_strict_types fixer (#​7719)
  • fix: ExecutorWithoutErrorHandler - remove invalid PHP 7.4 type (#​7845)
  • fix: fully_qualified_strict_types must honor template/local type identifiers (#​7724)
  • fix: MethodArgumentSpaceFixer - do not break heredoc/nowdoc (#​7828)
  • fix: NumericLiteralSeparatorFixer - do not change float to int when there is nothing after the dot (#​7805)
  • fix: PhpUnitStrictFixer - do not crash on property having the name of method to fix (#​7804)
  • fix: SingleSpaceAroundConstructFixer - correctly recognise multiple constants (#​7700)
  • fix: TypeExpression - handle array shape key with dash (#​7841)

v3.49.0

Compare Source

  • chore(checkbashisms): update to 2.23.7 (#​7780)
  • chore: add missing key types in PHPDoc types (#​7779)
  • chore: Exclude topic/core issues/PRs from Stale Bot (#​7788)
  • chore: DescribeCommand - better handling of deprecations (#​7778)
  • docs: docker - use gitlab reporter in GitLab integration example (#​7764)
  • docs: docker in CI - don't suggest command that overrides path from config file (#​7763)
  • DX: check deprecations exactly (#​7742)
  • feat: Add ordered_types to @Symfony (#​7356)
  • feat: introduce PhpdocListTypeFixer (#​7796)
  • feat: introduce string_implicit_backslashes as escape_implicit_backslashes replacement (#​7669)
  • feat: update Symfony.nullable_type_declaration_for_default_null_value config (#​7773)
  • feat: @PhpCsFixer ruleset - enable php_unit_data_provider_static (#​7685)
  • fix: Allow using cache when running in Docker distribution (#​7769)
  • fix: ClassDefinitionFixer for anonymous class with phpdoc/attribute on separate line (#​7546)
  • fix: ClassKeywordFixer must run before FullyQualifiedStrictTypesFixer (#​7767)
  • fix: function_to_constant get_class() replacement (#​7770)
  • fix: LowercaseStaticReferenceFixer - do not change typed constants (#​7775)
  • fix: PhpdocTypesFixer - handle more complex types (#​7791)
  • fix: TypeExpression - do not break type using walkTypes method (#​7785)

v3.48.0

Compare Source

  • chore: FullyQualifiedStrictTypesFixer must run before OrderedInterfacesFixer (#​7762)
  • docs: Add PHP-CS-Fixer integration in a GitHub Action step (#​7757)
  • feat: PhpdocTypesOrderFixer Support DNF types (#​7732)
  • fix: Support shebang in fixers operating on PHP opening tag (#​7687)
  • fix: work correctly for a switch/case with ternary operator (#​7756)
  • fix: NoUselessConcatOperatorFixer - do not remove new line (#​7759)

v3.47.1

Compare Source

  • fix: Do not override short name with relative reference (#​7752)
  • fix: make BinaryOperatorSpacesFixer work as pre-v3.47 (#​7751)
  • fix: Proper Docker image name suffix (#​7739)
  • fix: FullyQualifiedStrictTypesFixer - do not change case of the symbol when there's name collision between imported class and imported function (#​7750)
  • fix: FullyQualifiedStrictTypesFixer - do not modify statements with property fetch and :: (#​7749)

v3.47.0

Compare Source

  • chore: better identify EXPERIMENTAL rules (#​7729)
  • chore: fix issue detected by unlocked PHPStan + upgrade dev-tools (#​7678)
  • chore: handle extract() (#​7684)
  • chore: Mention contributors in app info (#​7668)
  • chore: no need to mark private methods as internal (#​7715)
  • chore: ProjectCodeTests - dry for function usage extractions (#​7690)
  • chore: reduce PHPStan baseline (#​7644)
  • chore: use numeric literal separator for PHP version IDs (#​7712)
  • chore: use numeric_literal_separator for project (#​7713)
  • chore: Utils::sortElements - better typing (#​7646)
  • CI: Allow running Stale Bot on demand (#​7711)
  • CI: Fix PHP 8.4 (#​7702)
  • CI: Give write permissions to Stale Bot (#​7716)
  • CI: Use actions/stale v9 (#​7710)
  • docs: Add information about allowing maintainers to update PRs (#​7683)
  • docs: CONTRIBUTING.md - update Opening a PR (#​7691)
  • docs: Display/include tool info/version by default in commands and reports (#​7733)
  • DX: fix deprecation tests warnings for PHP 7.4 (#​7725)
  • DX: update host.docker.internal in Compose override template (#​7661)
  • DX: NumericLiteralSeparatorFixer - change default strategy to use_separator (#​7730)
  • feat: Add support for official Docker images of Fixer (#​7555)
  • feat: Add spacing option to PhpdocAlignFixer (#​6505)
  • feat: Add union_types option to phpdoc_to_param_type, phpdoc_to_property_type, and phpdoc_to_return_type fixers (#​7672)
  • feat: Introduce heredoc_closing_marker fixer (#​7660)
  • feat: Introduce multiline_string_to_heredoc fixer (#​7665)
  • feat: Introduce NumericLiteralSeparatorFixer (#​6761)
  • feat: no_superfluous_phpdoc_tags - support for arrow function (#​7666)
  • feat: Simplify closing marker when possible in heredoc_closing_marker fixer (#​7676)
  • feat: Support typed properties and attributes in fully_qualified_strict_types (#​7659)
  • feat: @PhpCsFixer ruleset - enable no_whitespace_before_comma_in_array.after_heredoc (#​7670)
  • fix: Improve progress bar visual layer (#​7708)
  • fix: indentation of control structure body without braces (#​7663)
  • fix: make sure all PHP extensions required by PHPUnit are installed (#​7727)
  • fix: PhpdocToReturnTypeFixerTest - support for arrow functions (#​7645)
  • fix: Several improvements for fully_qualified_strict_types (respect declared symbols, relative imports, leading backslash in global namespace) (#​7679)
  • fix: SimplifiedNullReturnFixer - support array return typehint (#​7728)
  • fix: Support numeric values without leading zero in numeric_literal_separator (#​7735)
  • fix: BinaryOperatorSpacesFixer - align correctly when multiple shifts occurs in single line (#​7593)
  • fix: ClassReferenceNameCasingFixer capitalizes the property name after the nullsafe operator (#​7696)
  • fix: fully_qualified_strict_types with leading_backslash_in_global_namespace enabled - handle reserved types in phpDoc (#​7648)
  • fix: NoSpaceAroundDoubleColonFixer must run before MethodChainingIndentationFixer (#​7723)
  • fix: no_superfluous_phpdoc_tags must honor multiline docs (#​7697)
  • fix: numeric_literal_separator - Handle zero-leading floats properly (#​7737)
  • refactor: increase performance by ~7% thanks to Tokens::block*Cache hit increased by ~12% (#​6176)
  • refactor: Tokens - fast check for non-block in 'detectBlockType', evaluate definitions only once in 'getBlockEdgeDefinitions' (#​7655)
  • refactor: Tokens::clearEmptyTokens - play defensive with cache clearing (#​7658)
  • test: ensure we do not forget to test any short_open_tag test (#​7638)

v3.46.0

Compare Source

  • chore: fix internal typehints in Tokens (#​7656)
  • chore: reduce PHPStan baseline (#​7643)
  • docs: Show class with unit tests and BC promise info (#​7667)
  • feat: change default ruleset to @PER-CS (only behind PHP_CS_FIXER_FUTURE_MODE=1) (#​7650)
  • feat: Support new/instanceof/use trait in fully_qualified_strict_types (#​7653)
  • fix: FQCN parse phpdoc using full grammar regex (#​7649)
  • fix: Handle FQCN properly with leading_backslash_in_global_namespace option enabled (#​7654)
  • fix: PhpdocToParamTypeFixerTest - support for arrow functions (#​7647)
  • fix: PHP_CS_FIXER_FUTURE_MODE - proper boolean validation (#​7651)

v3.45.0

Compare Source

  • feat: Enable symbol importing in @PhpCsFixer ruleset (#​7629)
  • fix: NoUnneededBracesFixer - improve handling of global namespace (#​7639)
  • test: run tests with "short_open_tag" enabled (#​7637)

v3.44.0

Compare Source

  • feat: Introduce percentage bar as new default progress output (#​7603)

v3.43.1

Compare Source

  • fix: Import only unique symbols' short names (#​7635)

v3.43.0

Compare Source

  • chore: change base of @Symfony set to @PER-CS2.0 (#​7627)
  • chore: PHPUnit - allow for v10 (#​7606)
  • chore: Preg - rework catching the error (#​7616)
  • chore: Revert unneeded peer-dep-pin and re-gen lock file (#​7618)
  • docs: drop extra note about 8.0.0 bug in README.md (#​7614)
  • feat: add cast_spaces into @PER-CS2.0 (#​7625)
  • feat: Configurable phpDoc tags for FQCN processing (#​7628)
  • feat: StatementIndentationFixer - introduce stick_comment_to_next_continuous_control_statement config (#​7624)
  • feat: UnaryOperatorSpacesFixer - introduce only_dec_inc config (#​7626)
  • fix: FullyQualifiedStrictTypesFixer - better support annotations in inline {} (#​7633)
  • fix: Improve how FQCN is handled in phpDoc (#​7622)
  • fix: phpdoc_align - fix multiline tag alignment issue (#​7630)

v3.42.0

Compare Source

  • chore: aim to not rely on internal array pointer but use array_key_first (#​7613)
  • chore: deprecate Token::isKeyCaseSensitive (#​7599)
  • chore: deprecate Token::isKeyCaseSensitive, 2nd part (#​7601)
  • chore: do not check PHP_VERSION_ID (#​7602)
  • chore: FileFilterIteratorTest - more accurate type in docs (#​7542)
  • chore: minor code cleanup (#​7607)
  • chore: more types (#​7598)
  • chore: PHPDoc key-value spacing (#​7592)
  • chore: PHPUnit - run defects first (#​7570)
  • chore: ProjectCodeTest - DRY on Tokens creation (#​7574)
  • chore: ProjectCodeTest - prepare for symfony/console v7 (#​7605)
  • chore: ProjectCodeTest::provide*ClassCases to return iterable with key for better tests execution log (#​7572)
  • chore: ProjectCodeTest::testDataProvidersDeclaredReturnType - use better DataProvider to simplify test logic (#​7573)
  • chore: TokensAnalyzer - string-enum for better typehinting (#​7571)
  • chore: unify tests not agnostic of PHP version (#​7581)
  • chore: use ::class more (#​7545)
  • CI: Introduce composer-unused (#​7536)
  • DX: add types to anonymous functions (#​7561)
  • DX: Allow running smoke tests within Docker runtime (#​7608)
  • DX: check fixer's options for wording (#​7543)
  • DX: cleanup deprecation message (#​7576)
  • DX: do not allow overriding constructor of PHPUnit\Framework\TestCase (#​7563)
  • DX: do not import ExpectDeprecationTrait in UtilsTest (#​7562)
  • DX: Enforce consistent naming in tests (#​7556)
  • DX: fix checking test class extends PhpCsFixer\Tests\TestCase (#​7567)
  • DX: make sure that exceptions in AbstractFixerTestCase::testProperMethodNaming are not already fixed (#​7588)
  • DX: remove recursion from AbstractIntegrationTestCase::testIntegration (#​7577)
  • DX: remove PhpUnitNamespacedFixerTest::testClassIsFixed (#​7564)
  • DX: remove symfony/phpunit-bridge (#​7578)
  • DX: replace fixture classes with anonymous ones (#​7533)
  • DX: Unify Docker mount points and paths (#​7549)
  • DX: unify fixer's test method names - quick wins (#​7584)
  • DX: unify tests for casing fixers (#​7558)
  • DX: use anonymous function over concrete classes (#​7553)
  • feat(EXPERIMENTAL): ClassKeywordFixer (#​2918)
  • feat(EXPERIMENTAL): ClassKeywordFixer, part 2 (#​7550)
  • feat(PhpdocToCommentFixer): Add option to handle return as valid docblock usage (#​7401) (#​7402)
  • feat: Ability to import FQCNs found during analysis (#​7597)
  • feat: add phpDoc support for fully_qualified_strict_types fixer (#​5620)
  • feat: Handle deprecated rule sets similarly to deprecated fixers (#​7288)
  • feat: PhpUnitTestCaseStaticMethodCallsFixer - cover PHPUnit v10 methods (#​7604)
  • feat: Support more FQCNs cases in fully_qualified_strict_types (#​7459)
  • fix: AbstractFixerTestCase - fix checking for correct casing (#​7540)
  • fix: Better OS detection in integration tests (#​7547)
  • fix: NativeTypeDeclarationCasingFixe - handle static property without type (#​7589)
  • test: AutoReview - unify data provider returns (#​7544)
  • test: check to have DataProviders code agnostic of PHP version (#​7575)

v3.41.1

Compare Source

  • DX: Change @testWith to @dataProvider (#​7535)
  • DX: Introduce Markdownlint (#​7534)
  • fix: NativeTypeDeclarationCasingFixer - do not crash on var keyword (#​7538)

v3.41.0

Compare Source

  • chore: Move mb_str_functions PHP 8.3 cases to separ

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

sonarcloud bot commented Nov 1, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants