postgresql-for-doctrine
postgresql-for-doctrine copied to clipboard
Update Composer QA tooling dependencies
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| friendsofphp/php-cs-fixer | ^3.57.1 -> ^3.59.3 |
||||
| phpstan/phpstan | ^1.11.1 -> ^1.11.5 |
||||
| phpunit/phpunit (source) | ^10.5.20 -> ^10.5.24 |
||||
| rector/rector (source) | ^1.0.5 -> ^1.1.1 |
Release Notes
PHP-CS-Fixer/PHP-CS-Fixer (friendsofphp/php-cs-fixer)
v3.59.3
- refactor: refactor to templated trait+interface (#7988)
v3.59.2
- 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
v3.59.0
- feat(Docker): Multi-arch build (support for
arm64) (#8079) - feat:
@PhpCsFixerruleset - 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_classdocs less dismissive (#8065) - docs: Update 1-bug_report.yml (#8067)
- DX: Remove version from Docker Compose files (#8061)
v3.58.1
- 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
- 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::$blockStartCacheandTokens::$blockEndCachewhen callingTokens::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 isreadonly(#8042)
v3.57.2
- 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_coversAttribute detection when class is final (#8016)
phpstan/phpstan (phpstan/phpstan)
v1.11.5
v1.11.4
Improvements 🔧
- Detect
--generate-baselinecombined with--pro(https://github.com/phpstan/phpstan-src/commit/dd028cb4ccc44c6aa12b51f443e8761d5d4efc1d), #11093 - Add error identifier to RawErrorFormatter (#3112), #11125, thanks @zonuexe!
- Pass current rule level to PHPStan Pro (https://github.com/phpstan/phpstan-src/commit/7af14fbfc027b15e3342ac95be783bd3fa1df413)
- Read and enforce PHPStan version constraints from
phpstan/extension-installerv1.4 (https://github.com/phpstan/phpstan-src/commit/1d005ef1e72f77afada37bad491f2b6602f4cc92)
Bugfixes 🐛
- Consider
numeric-stringtypes after string concat (#3117), thanks @staabm! - Fix type loss with recursive
count()(#2812), thanks @staabm! array_slice()returnsnon-empty-arrayfor existing offsets and positive limit (#3124), #10721, thanks @staabm!- Consider a
ClosureType()as maybe impure by default when no$impurePointsarray provided (#3125), #11135, thanks @jf-m!
Function signature fixes 🤖
- Make the return type of
tempnam()andtmpfile()to benevolent union (#3111), thanks @zonuexe! - Fix
gnupg_initfunction (#3118), thanks @pistej!
Internals 🔍
- Update
react/promise(https://github.com/phpstan/phpstan-src/commit/da754e2294a619bacc95cd42426e94c17a57365b)
v1.11.3
Improvements 🔧
- Add new
*ParameterClosureTypeExtension(#3089), thanks @canvural! - DynamicFunctionReturnTypeExtension for the
get_debug_typefunction (#2910), #10558, #10585, thanks @patrickkusebauch! - Infer more duplicated array keys (#3058), #6976, thanks @VincentLanglet!
- Improve
explodereturn type precision (#3096), thanks @staabm! - Make assigning property via reference impure (#3082), thanks @schlndh!
- Support new PHP 8.4 mb_lcfirst, mb_ucfirst function variants (#3095), thanks @staabm!
Bugfixes 🐛
- Make
array_mapargument take into account unpack (#2901), #10527, thanks @ryium! - Fixes incorrect types reported by
parse_url(#2918), #4754, thanks @ChrisBrenton! - Ensure
$http_response_headeris alist<string>(#2959), thanks @Seldaek! - Keep numeric-strings in
str_repeat()(#2914), #10572, thanks @staabm! - Array is non-empty even when
in_arrayis not strict (#2539), #9662, #10228, thanks @staabm! - Fix
substr()type narrowing for possibly single char result (#3081), #11035, #9804, thanks @staabm! - Fix escaping of the error message in various output formatters (#3087), thanks @mousetail!
$thiscannot be reassigned when passed by reference (#3097), #10477, thanks @takaram!- Subtract zero-float when comparing against zero-int (#3102), #5309, thanks @staabm!
- Fix fatal error on
constant('')(#3013), #10867, thanks @staabm!
Function signature fixes 🤖
- Add new header functions for PHP 8.4 (#3093), thanks @Seldaek!
- Fix wrong return type for
SplFileObject::fgets()(#3103), thanks @DanielSiepmann! - Update
Localesignatures (#2880), #7855, #8149, thanks @devnix! - Fix wrong
fread()length parameter type and return type (#3105), thanks @thg2k! - ReflectionFunction and ReflectionMethod::getClosure cannot return null (https://github.com/phpstan/phpstan-src/commit/dae9335075964f197aa5d965b3d38c12788a6405), #10839
- Make method names
non-falsy-string(#3108), thanks @schlndh!
Internals 🔍
- Add regression test (#3066), #3300, thanks @herndlm!
- Update phpdoc-parser (#3107)
TemplateTagValueNode::$namecannot be empty string (https://github.com/phpstan/phpdoc-parser/commit/fcaefacf2d5c417e928405b71b400d4ce10daaf4), thanks @staabm!
- Fix property descriptions in ReflectionProviderGoldenTest (#3109), thanks @schlndh!
v1.11.2
Improvements 🔧
- Stricter
@phpstan-ignoreidentifiers parser (#3079, #3090, #3091), thanks @janedbal!- The parser now rejects some syntax that was possible but undocumented in 1.11.0 and 1.11.1
- The parser now allows to attach comment to each single identifier in a list:
@phpstan-ignore identifier (comment), identifier2 (comment2)
- Resolving type of closure - get
$passedToTypefrominFunctionCallsStack(https://github.com/phpstan/phpstan-src/commit/ca41b7d8c2d54407156d07dab5375a3a5ebbeb29, https://github.com/phpstan/phpstan-src/commit/da4fd7a4122615d9dbae55083bdfd290026fa08e), #5508, #10254, #10732 - Do not lose generic type when the closure has native return type (https://github.com/phpstan/phpstan-src/commit/7e9cd45701562fb02f1aa9cab1f89b58a58f6526), #9086
Function signature fixes 🤖
Internals 🔍
- Fix Composer by referencing deleted tag of
nette/di(https://github.com/phpstan/phpstan-src/commit/2ab647e12fe46d970fa630b78f9ca962354b3d16) - Specify
array_filtercallbacks (https://github.com/phpstan/phpstan-src/commit/754b7b8e170cd36ed7bc8633b90651eff16cc893) - Add
@apiannotation toAcceptsResult::__construct(#3092), thanks @canvural!
sebastianbergmann/phpunit (phpunit/phpunit)
v10.5.24: PHPUnit 10.5.24
Changed
- #5877: Use
array_pop()instead ofarray_shift()for processingTestobjects inTestSuite::run()and optimizeTestSuite::isEmpty()
How to install or update PHPUnit
v10.5.23: PHPUnit 10.5.23
Changed
- #5875: Also destruct
TestCaseobjects early that use a data provider
How to install or update PHPUnit
v10.5.22: PHPUnit 10.5.22
Changed
- #5871: Do not collect unnecessary information using
debug_backtrace()
How to install or update PHPUnit
v10.5.21: PHPUnit 10.5.21
Changed
- #5861: Destroy
TestCaseobject after its test was run
rectorphp/rector (rector/rector)
v1.1.1
v1.1.0: Released Rector 1.1.0
New Features :partying_face:
- [PHPStan] Bump to PHPStan 1.11 (#5883)
Bugfixes :bug:
- [CodeQuality] Skip increment variable on else on TernaryFalseExpressionToIfRector (#5867)
- [CodeQuality] Skip on property and class const on CallableThisArrayToAnonymousFunctionRector (#5869)
- [NodeTypeResolver] Using built int ->isArray()->yes() on ArrayTypeAnalyzer::isArrayType() (#5870)
- Fix "method x was not found in reflection of class" (#5871), Thanks @staabm!
- [NodeTypeResolver] Clean up array check on NameTypeResolver (#5872)
- [NodeTypeResolver] Clean up "this" from NameTypeResolver, as not from Name node (#5873)
- [TypeDeclaration] Skip array by doc with different assign on ReturnTypeFromStrictNewArrayRector (#5875)
- [TypeDeclaration] Skip possible array on StrictStringParamConcatRector (#5876)
- [Performance] Ensure call $reflector->reflectAllClasses() once on Worker take 3 (#5878)
- [Performance] Call cached class names collection on FamilyRelationsAnalyzer (#5879)
- [NodeTypeResolver] Clean up resolve cache class name key (#5880)
- [NodeTypeResolver] No need json_decode/json_encode for cache class name collection (#5881)
- [TypeDeclaration] Handle crash on interface Mixin on ReturnTypeFromStrictConstantReturnRector (#5884)
- [PHPStan] Handle PHPStan internal ShouldNotHappenException on FamilyRelationsAnalyzer and PHPStanNodeScopeResolver (#5885)
- [NodeTypeResolver] No need to resolve class name on anonymous classes (#5886)
- [PHPStan] Fix missingType.generics notice on phpstan.neon on PHPStan 1.11 (#5888)
- [TypeDeclaration] Skip unitialized property on EmptyOnNullableObjectToInstanceOfRector (#5889)
- [Php80] Skip remove non-mixed type doc on MixedTypeRector (#5874)
- [TypeDeclaration] Add test for nullable object usage on AddReturnTypeDeclarationRector (#5887)
- [Configuration] Add missing LevelSetList::UP_TO_PHP_84 on PhpLevelSetResolver::resolveFromPhpVersion() (#5890)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled because a matching PR was automerged previously.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.