chore(deps): update all non-major dependencies (minor)
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
friendsofphp/php-cs-fixer | require-dev | minor |
3.0.2 -> 3.1.0
|
vimeo/psalm | require-dev | minor |
4.9.3 -> 4.10.0
|
Release Notes
FriendsOfPHP/PHP-CS-Fixer
v3.1.0
- feature #5572 PhpdocToCommentFixer - Add
ignored_tags
option (VincentLanglet) - feature #5588 NoAliasFunctionsFixer - Add more function aliases (danog)
- feature #5704 ClassAttributesSeparationFixer - Introduce
only_if_meta
spacing option (paulbalandan) - feature #5734 TypesSpacesFixer - Introduction (kubawerlos)
- feature #5745 EmptyLoopBodyFixer - introduction (SpacePossum, keradus)
- feature #5751 Extract DeclareParenthesesFixer from BracesFixer (julienfalque, keradus)
- feature #5877 ClassDefinitionFixer - PSR12 for anonymous class (SpacePossum)
- minor #5875 EmptyLoopBodyFixer - NoTrailingWhitespaceFixer - priority test (SpacePossum)
- minor #5914 Deprecate ClassKeywordRemoveFixer (kubawerlos)
v3.0.3
- bug #4927 PhpdocAlignFixer - fix for whitespace in type (kubawerlos)
- bug #5720 NoUnusedImportsFixer - Fix undetected unused imports when type mismatch (julienfalque, SpacePossum)
- bug #5806 DoctrineAnnotationFixer - Add template to ignored_tags (akalineskou)
- bug #5849 PhpdocTagTypeFixer - must not remove inlined tags within other tags (boesing)
- bug #5853 BracesFixer - handle alternative short foreach with if (SpacePossum)
- bug #5855 GlobalNamespaceImportFixer - fix for attributes imported as constants (kubawerlos)
- bug #5881 SelfUpdateCommand - fix link to UPGRADE docs (keradus)
- bug #5884 CurlyBraceTransformer - fix handling dynamic property with string with variable (kubawerlos, keradus)
- bug #5912 TypeAlternationTransformer - fix for "callable" type (kubawerlos)
- bug #5913 SingleSpaceAfterConstructFixer - improve comma handling (keradus)
- minor #5829 DX: Fix SCA with PHPMD (paulbalandan)
- minor #5838 PHP7 - use spaceship (SpacePossum, keradus)
- minor #5848 Docs: update PhpStorm integration link (keradus)
- minor #5856 Add AttributeAnalyzer (kubawerlos)
- minor #5857 DX: PHPMD - exclude fixtures (keradus)
- minor #5859 Various fixes (kubawerlos)
- minor #5864 DX: update dev tools (kubawerlos)
- minor #5876 AttributeTransformerTest - add more tests (SpacePossum)
- minor #5879 Update UPGRADE-v3.md adding relative links (shakaran, keradus)
- minor #5882 Docs: don't use v2 for installation example (keradus)
- minor #5883 Docs: typo (brianteeman, keradus)
- minor #5890 DX: use PHP 8.1 polyfill (keradus)
- minor #5902 Remove references to PHP 7.0 in tests (only removing lines) (kubawerlos)
- minor #5905 DX: Use "yield from" in tests (kubawerlos, keradus)
- minor #5917 Use
@PHP71Migration
rules (kubawerlos, keradus)
vimeo/psalm
v4.10.0
Added
- (#6398)
array_is_list()
signature (@orklah) - (#6386, #6392) Psalm now understands that
while(true)
is an infinite loop (@orklah) - (#6403, #6421) PHP 8.1 signatures for ftp functions (@weirdan)
Fixes
- (#6305, #6310) SimpleXMLIterator signatures no longer depend on runtime PHP version (@weirdan)
- (#6309, #6311) Some assertions generated by
in_array()
were causing crashes (@weirdan) - (#6312)
PhpToken::getAll()
was renamed toPhpToken::tokenize()
(@TysonAndre) - (#6312)
fdiv()
argument names were corrected to match names used by PHP (@TysonAndre) - (#6312)
ReflectionClass::getAttributes()
,ReflectionClassConstant::getAttributes()
,ReflectionFunctionAbstract::getAttributes()
,ReflectionParameter::getAttributes()
,ReflectionProperty::getAtributes()
,ReflectionUnionType::getTypes()
andReflectionNamedType::isBuiltin()
signatures were missing (@TysonAndre) - (#6318, #6320)
socket_select()
'stv_sec
parameter is nullable (@Forceu) - (#6323) Another case of crashes due to
in_array()
assertions (@boesing) - (#6324)
str_split()
andmb_str_split()
return require positive-int andstr_split()
returns non-empty array (@VincentLanglet) - (#6328) Corrected message for calls from root namespace to internal methods in a different namespace (@bdsl)
- (#6325, #6327) Interface aliases were not recognized (@boesing)
- (#4738)
is_subclass_of()
requires a class-string for its parent parameter (@BenMorel) - (#5356, #6344)
UnusedSuppression
was sometimes reported in ignored folders (@orklah) - (#6343, #6346)
@psalm-trace
was reporting keys that were unset (@orklah) - (#5096, #6321) Constants accessed through object instance (e.g.
$obj::CONST
) were not inferred (@orklah) - (#6359)
OuterIterator::getInnerIterator()
always returnIterator
(@drupol) - (#6367, #6376) Variables used in backticks (
`ls $file`
) were reported as unused (@orklah) - (#6358, #6375)
openssl_x509_parse()
andopenssl_x509_read()
signatures were outdated (@ThomasLandauer) - (#6338, #6339)
array_walk()
andarray_walk_recursive()
accept object (and will triggerRawObjectIteration
when given one) (@niconoe-, @weirdan) - (#6330, #6335) Alias chains created with
class_alias()
(A -> B -> C
) were not understood (@boesing) - (#6387, #6390) Type params can now be extracted from
Generator
argument passed toIterator
parameter (@orklah) - (#6388, #6391)
empty()
could not be forbidden viaforbiddenFunctions
(@ro0NL) - (#6333, #6317)
in_array()
did not produce correct assertions with non-literal types (@TysonAndre) - (#6384, #6420) Variables reassigned in both branches of ternary operator were not correctly inferred (@orklah)
Docs
- (#6409) Added a guide on how to edit callmaps (@weirdan)
- (#6400) Added a section on taint analysis limitations (@craigfrancis)
Configuration
-
If you want to rebase/retry this MR, check this box.
This MR has been generated by Renovate Bot.
Edited by Bekerle, Patrizio