This file contains changelogs for stable releases only.
--show-progress=estimating
in docs (#7287)LongToShorthandOperatorFixer
(#7295)single_line_empty_body
to @PER-CS2.0
(#7282)OrderedTraitsFixer
- better support for multiple traits in one use
statement (#7289)no_superfluous_phpdoc_tags
(#7279)single_line_empty_body
to @PhpCsFixer
(#7266)InstallViaComposerTest
(#7265)integer_literal_case
(#7081)method_argument_space
(#7242)NoUnusedImportsFixer
(#7246)no_superfluous_phpdoc_tags
with null
phpdoc (#7234)phpdoc_types
must not lowercase literal types (#7108)no_superfluous_phpdoc_tags
fixer (#7189)FullyQualifiedStrictTypesFixer
fixer (#7188)FinalInternalClassFixer
(#7160)yield from
after }
(#7169)HeaderCommentFixer
must run before BlankLinesBeforeNamespaceFixer
(#7205)NoUselessReturnFixer
must run before SingleLineEmptyBodyFixer
(#7226)PhpdocInlineTagNormalizerFixer
- do not break tags (#7227)phpdoc_align
(#7120)MethodArgumentSpaceFixer
- mention PSR in Fixer definition (#7157)YieldFromArrayToYieldsFixer
to PhpCsFixer
set (#7115)ReturnToYieldFromFixer
(#7181)HeredocIndentationFixer
for the codebase (#7195)UseArrowFunctionsFixer
for the codebase (#7194)ErrorOutputTest
(#7183)CurlyBracesPositionFixer
code samples (#7198)HeredocIndentationFixer
code samples (#7197)PhpdocToReturnTypeFixer
code samples (#7199)ReturnToYieldFromFixer
(#7168)SpacesInsideParenthesesFixer
(#5709)trim_array_spaces
(#7218)BlankLineBeforeStatementFixer
- skip enum cases (#7203)SelfAccessorFixer
must run before SelfAccessorFixer
(#7153)PhpUnitDataProviderReturnTypeFixer
(#7156)YieldFromArrayToYieldsFixer
(#7114)class::getPriority
for phpDoc diffs (#7148)Tokens
checking for found tokens (#7139)AbstractFixerTestCase::getTestFile()
final (#7116)array_search
call strict (#7145)empty
calls (#7138)AbstractIntegrationTestCase::provideIntegrationCases
- yield over array, better typehinting (#7150)experimental release
FinalPublicMethodForAbstractClassFixer
- fix for readonly classes (#7123)FileRemovalTest
(do not fail when running it standalone) (#7104)*TestCase
convention (#7100)NullableTypeDeclarationFixer
(#7002)TypeDeclarationSpacesFixer
(#7001)BlankLineBetweenImportGroupsFixer
- keep indent (#7122)FinalClassFixer
(#7091)NullableTypeDeclarationForDefaultNullValue
- support for nullability in union types (#5819)php_unit_data_provider_name
to @PhpCsFixer:risky
set (#7069)PhpUnitDataProviderNameFixer
(#7057)?
and static
(#6993)statement_indentation
(#6978)$this
from TernaryToNullCoalescingFixer
(#7052)return_assignment
not formatting when variables are used in catch
and finally
(#6960)TypeExpression::allowsNull()
with nullable (#7000)php_unit_namespaced
less greedy (#6952)static
(#6995)FullyQualifiedStrictTypesFixer
- fix shortening when namespace is not empty and import exists (#7027)NoUnneededControlParenthesesFixer
PHP8.0 null-safe operator (#7056)PhpdocToCommentFixer
support for enum cases (#7040)@
in PR title (#6982)actions/stale
to handle stale issues and pull requests (#5085)Utils::naturalLanguageJoin()
in implode calls (#7032)ordered_class_elements
(#6360)Dynamic class constant fetch
(#7004)FinalClassFixer
(#6893)Util::naturalLanguageJoin()
(#7022)readonly
in anonymous class definitions (#7014)readonly
(#7013)HelpCommand::toString()
to Utils
(#7034)SelfStaticAccessorFixer
improvements for enums (#7026)SingleSpaceAroundConstructFixer
- support space before as
(#7029)UseArrowFunctionsFixer
- run before FunctionDeclarationFixer
(#7065)self_static_accessor
fixer to the project (again) (#6927)static
to self
assert calls (#6931)OrderedTypesFixer
(#6571)Tokens::offsetGet()
(#6838)sebastian/diff:^5.0.0
(#6771)\Closure
(#6746)modernize_types_casting
and no_unneeded_control_parentheses
(#6687)mkdir
argument (-p
insteadof --parents
). (#6689)@PHP82Migration
ruleset (#6621)null
, true
, false
) (#6623)$
from console command snippets (#6600)$
from console command snippets in documentation (#6599)self
(#6583)regular_callable_call
with static property (#6539)@method
(#6366)new static
(#6380)statement_indentation
compatibility with braces
(#6401)statement_indentation
(#6429)=
inside array definitions (#6444)StaticLambda
fixer (#6440)ISSUE_TEMPLATE
hints to check applied rules (#6398)attributes
option - Fix support for enum
case
(#6426)match
support (#6381)type_colon
(#6434)elseif
(paulbalandan, SpacePossum)=
inside calls of methods (VincentLanglet)is_scalar
, sizeof
, ini_get
in list of compiled functions (jderusse)is_resource
. (drupol)Tokens::insertSlices
not moving around all affected tokens (paulbalandan, SpacePossum)DummyTestSplFileInfo::getRealPath()
(derrabus)experimental release
class_attributes_separation
processing class with multiple trait imports (GrahamCampbell)only_if_meta
option (paulbalandan)@abstract
and @final
(liquid207, SpacePossum)switch
support (SpacePossum)ignored_tags
option (VincentLanglet)only_if_meta
spacing option (paulbalandan)@PHP71Migration
rules (kubawerlos, keradus)namespace
(julienfalque)phpdoc_to_property_type
and no_superfluous_phpdoc_tags
(julienfalque)trait_import
support (SpacePossum)namespace
(julienfalque)phpdoc_to_property_type
and no_superfluous_phpdoc_tags
(julienfalque)trait_import
support (SpacePossum)list-files
command (clxmstaab, keradus)@var
without type (kubawerlos)@var
without type (kubawerlos)::
so can be removed (SpacePossum)mixed
in superfluous PHPDoc by configuration (MortalFlesh)null
for nullable typehints (gharlan, keradus)preg_quote
calls (ntzm)fopen
mode (ntzm)strtolower
inside strpos
to just stripos
(ntzm)braces
fixer (rob006)Port of v2.2.3.
__toString
(keradus)preg_quote
calls (ntzm)fopen
mode (ntzm)strtolower
inside strpos
to just stripos
(ntzm)braces
fixer (rob006)Warning, this release breaks BC due to introduction of:
minor #2554 Add short diff. output format (SpacePossum, keradus) That PR was reverted in v2.2.3, which should be used instead of v2.2.2.
bug #2545 RuleSet - change resolvement (SpacePossum)
bug #2686 Commands readme and describe - fix rare casing when not displaying some possible options of configuration (keradus)
bug #2711 FixCommand - fix diff optional value handling (keradus)
minor #2688 AppVeyor - Remove github oauth (keradus)
minor #2703 Clean ups - No mixed annotations (SpacePossum)
minor #2704 Create PHP70Migration:risky ruleset (keradus)
minor #2707 Deprecate other than "yes" or "no" for input options (SpacePossum)
minor #2709 code grooming (keradus)
minor #2710 Travis - run more rules on TASK_SCA (keradus)
*.twig
as default (SpacePossum)no_spaces_around_offset
fixer (phansys)First stable release.