Update dependency friendsofphp/php-cs-fixer to v3 #7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~1.12
->~3.0
Release Notes
PHP-CS-Fixer/PHP-CS-Fixer (friendsofphp/php-cs-fixer)
v3.64.0
Compare Source
single_space_around_construct
config (#8171)v3.63.2
Compare Source
FullyQualifiedStrictTypesFixer
- reset cache even if there is nouse
(#8183)v3.63.1
Compare Source
v3.63.0
Compare Source
array_destructuring
as option fortrailing_comma_in_multiline
(#8172)PhpUnitAttributesFixer
- fix priorities withPhpUnitDataProvider(.+)Fixer
(#8169)@return
tags for data providers already having PHPDoc (#8176)@return
tags for data providers that do not have array in data (#8179)beStrictAboutTodoAnnotatedTests
from PHPUnit's config (#8160)date_time_create_from_format_call
(#8173)v3.62.0
Compare Source
v3.61.1
Compare Source
NoSuperfluousPhpdocTagsFixer
- fix "Undefined array key 0" error (#8150)v3.61.0
Compare Source
PhpdocIndentFixer
(#8147)class-string
(#8139)ProjectCodeTest::provideDataProviderMethodCases
(#8138)v3.60.0
Compare Source
PhpUnitAttributesFixer
- add option to keep annotations (#8090)@requires PHP 7.4
ages ago (#8122)TokensAnalyzerTest
(#8123)offsetAccess.notFound
errors to baseline (#8107)TypeExpression
(#8076)TokensTest
to shrink PHPStan's baseline (#8112)no_useless_concat_operator
- do not break variable (2) (#7927)NullableTypeDeclarationFixer
- don't convert standalonenull
into nullable union type (#8098)NullableTypeDeclarationFixer
- don't convert standaloneNULL
into nullable union type (#8111)NullableTypeDeclarationFixer
- insert correct token (#8118)PhpUnitAttributesFixer
- handle multiple annotations of the same name (#8075)v3.59.3
Compare Source
v3.59.2
Compare Source
v3.59.1
Compare Source
v3.59.0
Compare Source
arm64
) (#8079)@PhpCsFixer
ruleset - normalise implicit backslashes in single quoted strings (#7965)SimpleToComplexStringVariableFixer
- support variable being an array (#8064)PhpUnitTestCaseStaticMethodCallsFixer::STATIC_METHODS
(#8073)native_constant_invocation
- array constants with native constant names (#8008)final_class
docs less dismissive (#8065)v3.58.1
Compare Source
ConstantCaseFixer
- do not change class constant usages (#8055)PhpUnitTestClassRequiresCoversFixer
- do not add annotation when attribute with leading slash present (#8054)v3.58.0
Compare Source
PhpUnitTestClassRequiresCoversFixerTest
(#8047)Tokens::$blockStartCache
andTokens::$blockEndCache
when callingTokens::setCode
(#8051)simplified_null_return
(#8049)ConstantCaseFixer
- do not change namespace (#8004)PhpUnitAttributesFixer
- do not add attribute if already present (#8043)PhpUnitSizeClassFixer
- do not add annotation when there are attributes (#8044)PhpUnitTestClassRequiresCoversFixer
- attribute detection when class isreadonly
(#8042)v3.57.2
Compare Source
ParallelConfigFactory::detect()
(#8026)php_unit_test_class_requires_covers
Attribute detection when class is final (#8016)v3.57.1
Compare Source
Preg::matchAll
(#8012)v3.57.0
Compare Source
v3.56.2
Compare Source
v3.56.1
Compare Source
PhpUnitDedicateAssertFixer
(#7999)ConstantCaseFixer
- do not touch typed constants (#7998)v3.56.0
Compare Source
TrailingCommaInMultilineFixer
- handle trailing comma in language constructs (#7989)TrailingCommaInMultilineFixer
- language constructs should be covered by arguments, not parameters (#7990)v3.55.0
Compare Source
OrderedAttributesFixer
(#7395)list
type in PHPDoc (#7975)PhpUnitAttributesFixer
- fix for#[RequiresPhp]
exceeding its constructor parameters (#7966)v3.54.0
Compare Source
PhpUnitAttributesFixer
(#7831)FullyQualifiedStrictTypesFixerTest
(#7954)PhpdocNoAccessFixerTest
(#7933)PhpUnitMethodCasingFixerTest
(#7948)PhpUnitStrictFixerTest
(#7938)FullyQualifiedStrictTypesFixer
- do not add imports before PHP opening tag (#7955)PhpUnitMethodCasingFixer
- do not double underscore (#7949)PhpUnitTestClassRequiresCoversFixer
- do not add annotation when there are attributes (#7880)v3.53.0
Compare Source
list
overarray
in more places (#7905)array_filter
function usages (#7923)trim
call (#7930)phpstan/phpstan-strict-rules
(#7924)AttributeAnalysis
(#7909)@PHP84Migration
introduction (#7774)PhpdocArrayTypeFixer
- JIT stack limit exhausted (#7895)v3.52.1
Compare Source
PhpCsFixer\Tokenizer\Tokens::setSize
return type (#7900)v3.52.0
Compare Source
nullable_type_declaration_for_default_null_value
- deprecate option that is against@PHP84Migration
(#7872)array_indentation
toPER-CS2.0
ruleset (#7881)@Symfony:risky
- addno_unreachable_default_argument_value
(#7863)PhpCsFixer
ruleset - enablenullable_type_declaration_for_default_null_value
(#7870)no_useless_concat_operator
- do not break variable (#7827)TokensAnalyzer
- handle unary operator in arrow functions (#7862)TypeExpression
- fix "JIT stack limit exhausted" error (#7843)v3.51.0
Compare Source
@Symfony
- add nullable_type_declaration (#7856)v3.50.0
Compare Source
@large
on method level (#7832)@medium
on method level (#7833)symfony/var-dumper
in dev tools (#7795)PhpdocArrayTypeFixer
(#7812)NamespaceUsesAnalyzer
(#7814)MbStrFunctionsFixer
- add support formb_trim
,mb_ltrim
andmb_rtrim
functions (#7840)NoEmptyPhpdocFixer
- do not leave empty line after removing PHPDoc (#7820)no_superfluous_phpdoc_tags
- introduceallow_future_params
option (#7743)<…>
(#7817)fully_qualified_strict_types
fixer (#7719)ExecutorWithoutErrorHandler
- remove invalid PHP 7.4 type (#7845)fully_qualified_strict_types
must honor template/local type identifiers (#7724)MethodArgumentSpaceFixer
- do not break heredoc/nowdoc (#7828)NumericLiteralSeparatorFixer
- do not changefloat
toint
when there is nothing after the dot (#7805)PhpUnitStrictFixer
- do not crash on property having the name of method to fix (#7804)SingleSpaceAroundConstructFixer
- correctly recognise multiple constants (#7700)TypeExpression
- handle array shape key with dash (#7841)v3.49.0
Compare Source
topic/core
issues/PRs from Stale Bot (#7788)DescribeCommand
- better handling of deprecations (#7778)ordered_types
to@Symfony
(#7356)PhpdocListTypeFixer
(#7796)string_implicit_backslashes
asescape_implicit_backslashes
replacement (#7669)Symfony.nullable_type_declaration_for_default_null_value
config (#7773)@PhpCsFixer
ruleset - enablephp_unit_data_provider_static
(#7685)ClassKeywordFixer
must run beforeFullyQualifiedStrictTypesFixer
(#7767)function_to_constant
get_class()
replacement (#7770)LowercaseStaticReferenceFixer
- do not change typed constants (#7775)PhpdocTypesFixer
- handle more complex types (#7791)TypeExpression
- do not break type usingwalkTypes
method (#7785)v3.48.0
Compare Source
FullyQualifiedStrictTypesFixer
must run beforeOrderedInterfacesFixer
(#7762)PhpdocTypesOrderFixer
Support DNF types (#7732)NoUselessConcatOperatorFixer
- do not remove new line (#7759)v3.47.1
Compare Source
BinaryOperatorSpacesFixer
work as pre-v3.47 (#7751)FullyQualifiedStrictTypesFixer
- do not change case of the symbol when there's name collision between imported class and imported function (#7750)FullyQualifiedStrictTypesFixer
- do not modify statements with property fetch and::
(#7749)v3.47.0
Compare Source
actions/stale
v9 (#7710)host.docker.internal
in Compose override template (#7661)NumericLiteralSeparatorFixer
- change default strategy touse_separator
(#7730)spacing
option toPhpdocAlignFixer
(#6505)union_types
option tophpdoc_to_param_type
,phpdoc_to_property_type
, andphpdoc_to_return_type
fixers (#7672)heredoc_closing_marker
fixer (#7660)multiline_string_to_heredoc
fixer (#7665)NumericLiteralSeparatorFixer
(#6761)heredoc_closing_marker
fixer (#7676)fully_qualified_strict_types
(#7659)@PhpCsFixer
ruleset - enable no_whitespace_before_comma_in_array.after_heredoc (#7670)fully_qualified_strict_types
(respect declared symbols, relative imports, leading backslash in global namespace) (#7679)numeric_literal_separator
(#7735)BinaryOperatorSpacesFixer
- align correctly when multiple shifts occurs in single line (#7593)ClassReferenceNameCasingFixer
capitalizes the property name after the nullsafe operator (#7696)fully_qualified_strict_types
withleading_backslash_in_global_namespace
enabled - handle reserved types in phpDoc (#7648)NoSpaceAroundDoubleColonFixer
must run beforeMethodChainingIndentationFixer
(#7723)no_superfluous_phpdoc_tags
must honor multiline docs (#7697)numeric_literal_separator
- Handle zero-leading floats properly (#7737)Tokens::block*Cache
hit increased by ~12% (#6176)Tokens::clearEmptyTokens
- play defensive with cache clearing (#7658)v3.46.0
Compare Source
@PER-CS
(only behind PHP_CS_FIXER_FUTURE_MODE=1) (#7650)fully_qualified_strict_types
(#7653)leading_backslash_in_global_namespace
option enabled (#7654)v3.45.0
Compare Source
@PhpCsFixer
ruleset (#7629)v3.44.0
Compare Source
v3.43.1
Compare Source
v3.43.0
Compare Source
@Symfony
set to@PER-CS2.0
(#7627)@PER-CS2.0
(#7625)v3.42.0
Compare Source
composer-unused
(#7536)PHPUnit\Framework\TestCase
(#7563)PhpCsFixer\Tests\TestCase
(#7567)AbstractFixerTestCase::testProperMethodNaming
are not already fixed (#7588)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.
This PR was generated by Mend Renovate. View the repository job log.