chore(deps): update all non-major dependencies (minor) - autoclosed
Compare changes
+ 12
− 12
@@ -8001,16 +8001,16 @@
@@ -8040,7 +8040,7 @@
@@ -8056,7 +8056,7 @@
@@ -10242,16 +10242,16 @@
@@ -10344,9 +10344,9 @@
Gitlab 18.0 has been released. Since there are breaking changes the update will be postponed to July 2025. For a list of breaking changes see https://about.gitlab.com/blog/2025/04/18/a-guide-to-the-breaking-changes-in-gitlab-18-0/. Please prepare yourself and your projects for this update.
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | minor |
1.8.11 -> 1.9.1
|
vimeo/psalm | require-dev | minor |
4.29.0 -> 4.30.0
|
v1.9.1
AccessoryArrayListType
is part of BC promise (#1967), thanks @enumag!object
to string
result in an error (#1948), thanks @rvanvelzen!checkBenevolentUnionTypes
config (#1940), thanks @VincentLanglet!mt_rand
return type (#1956), #8272, thanks @enumag!strtr
returns non-empty-string
(#1963), thanks @staabm!v1.9.0
Check out the article about this release!
@phpstan-assert
, @phpstan-assert-if-true
, @phpstan-assert-if-false
(#1317), #7110, #8186, thanks @rvanvelzen!
@phpstan-self-out
/@phpstan-this-out
support (#1799), thanks @rvanvelzen!
@param-out
support (#1804), #7231, #6871, #6186, #4372, #5785, thanks @staabm!
ClassReflection::getAllowedSubTypes()
(#1477), thanks @jiripudil!
checkBenevolentUnionTypes
to strictly check BenevolentUnionType (#1930), #8223, thanks @VincentLanglet!
list
type (#1751), #3311, #8185, #6243, thanks @rvanvelzen!
If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's phpstan.neon
:
includes:
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. Learn more
non-negative-int
and non-positive-int
(#1803), thanks @rvanvelzen!NonexistentOffsetInArrayDimFetchCheck
(#1801), thanks @herndlm!@method
extension to look at @throws
in __call (#1842), #8163, thanks @VincentLanglet!$this
/static
in conditional return types (#1863), thanks @rvanvelzen!mb_convert_case()
and mb_convert_kana()
(#1866), thanks @zonuexe!callable-object
and callable-string
(#1906), thanks @rvanvelzen!FunctionReflection
/ExtendedMethodReflection::returnsByReference()
(#1899), #6005, thanks @staabm!MutatingScope::enterNamespace()
is part of BC promise (https://github.com/phpstan/phpstan-src/commit/92732ca8de9d479762337bbc25c629f20d096e0c)Scope
or FunctionReflection
in userland class (https://github.com/phpstan/phpstan-src/commit/2796f8dd8fd5156abd8f19f4ecab2be14248782c)no-named-arguments
implies variadic argument is a list
(#1796), thanks @herndlm!Countable
in count()
(#1876), thanks @staabm!RuleLevelHelper::accepts()
for constant arrays (#1911), #8209, thanks @rvanvelzen!get_object_var()
as private property read (#1902), #3654, thanks @vovochka404!@param-out
(https://github.com/phpstan/phpstan-src/commit/cf40007c004d7d24e286b8663a3d0e0ed8f3fbb7)$this
in nativeExpressionTypes (#1936), thanks @rajyan!@phpstan-self-out
(#1949), thanks @staabm!mb_check_encoding()
accepts array<string>
in PHP 7.2+ (#1867), thanks @zonuexe!Type::getConstantArrays
as successor for TypeUtils::getOldConstantArrays
(#1684), thanks @herndlm!TypeUtils::getArrays()
and TypeUtils::getAnyArrays()
(#1687), thanks @herndlm!Type::getLastIterableValueType()
(#1811), thanks @herndlm!Type::getFirstIterableValueType()
(#1811), thanks @herndlm!Type::getFirstIterableKeyType()
and Type::getLastIterableKeyType()
(#1812), #8152, thanks @herndlm!JustNullableTypeTrait
(#1821), thanks @herndlm!Type::isConstantArray()
(#1822), thanks @herndlm!getConstantArrays()
usage with isConstantArray()
(#1827), thanks @herndlm!Type::getArraySize()
(#1828), thanks @herndlm!Type::flipArray()
(#1832), thanks @herndlm!Type::getKeysArray()
and Type::getValuesArray()
(#1851), thanks @herndlm!FunctionReflection::getDocComment()
(#1834), thanks @staabm!Type::popArray()
and Type::shiftArray()
(#1847), thanks @herndlm!Type::shuffleArray()
(#1853), thanks @herndlm!ConstantArrayType::generalizeToArray()
(#1856), thanks @herndlm!array_pop
/array_shift
arg (#1864), thanks @herndlm!ArrayType::castToArrayKey()
with Type::toArrayKey()
(#1841), thanks @rvanvelzen!Type::fillKeysArray()
(#1869), thanks @herndlm!ErrorType
for invalid keys (#1869), thanks @herndlm!is_(int,object,resource,scalar)
extensions with stubs (#1884), thanks @BackEndTea!pow()
return type extension to re-use BinaryOp\Pow
type inference (#1900), thanks @staabm!Type::getArrays()
usage in InvalidKeyInArrayDimFetchRule
(#1872), thanks @herndlm!Type::searchArray()
(#1874), thanks @herndlm!variableTypes
to save by exprString
(#1909), thanks @rajyan!variableTypes
and moreSpecificTypes
(#1919), thanks @rajyan!::set-*
in GitHub Actions (#1917), thanks @rez1dent3!Type::intersectKeyArray()
(#1916), thanks @herndlm!v4.30.0
key
, current
, end
and reset
by @boesing in https://github.com/vimeo/psalm/pull/8584
argc
and argv
elements from $_ENV
by @weirdan in https://github.com/vimeo/psalm/pull/8666
Full Changelog: https://github.com/vimeo/psalm/compare/4.29.0...4.30.0
This MR has been generated by Renovate Bot.