-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dropped PHP 8.0 support, bumped all dependencies and dev-dependencies #375
Conversation
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: composer.lock
|
4ad5323
to
b05f7b8
Compare
| datasource | package | from | to | | ---------- | -------------------------------------- | ------ | ------ | | packagist | doctrine/coding-standard | 9.0.0 | 9.0.2 | | packagist | mikey179/vfsstream | 1.6.10 | 1.6.11 | | packagist | nikic/php-parser | 4.15.2 | 4.15.2 | | packagist | phing/phing | 2.17.0 | 2.17.4 | | packagist | phpstan/phpstan | 1.2.0 | 1.9.4 | | packagist | phpunit/phpunit | 9.5.14 | 9.5.27 | | packagist | roave/infection-static-analysis-plugin | 1.25.0 | 1.26.0 | | packagist | symfony/console | 6.0.16 | 6.2.2 | | packagist | vimeo/psalm | 4.30.0 | 4.30.0 | | packagist | webmozart/assert | 1.11.0 | 1.11.0 | | packagist | webmozart/glob | 4.4.0 | 4.6.0 |
b05f7b8
to
509a92e
Compare
|
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. ⚠ Warning: custom changes will be lost. |
This PR contains the following updates:
^9.0.0
->^9.0.2
^1.6.10
->^1.6.11
^4.13.0
->^4.15.2
^2.17.0
->^2.17.4
^1.2.0
->^1.9.4
^9.5.10
->^9.5.27
^1.23
->^1.26.0
^6.0.0
->^6.2.2
^4.15
->^4.30.0
^1.9.1
->^1.11.0
^4.4.0
->^4.6.0
Release Notes
doctrine/coding-standard
v9.0.2
Compare Source
This release is the same as 9.0.0, in order to "cancel" 9.0.1, which had many breaking changes.
v9.0.1
Compare Source
Release Notes for 9.0.1
9.0.x bugfix release (patch)
9.0.1
Total issues resolved: 0
Total pull requests resolved: 5
Total contributors: 1
269: fix: use tmp-patch file name thanks to @simPod
264: chore(deps): require slevomat/coding-standard v8 and squizlabs/php_codesniffer v3.7 thanks to @simPod
257: Add tests for PHP 8 thanks to @simPod
255: Require Null Safe Object operator thanks to @simPod
252: Add RequireOneLineDocComment sniff thanks to @simPod
bovigo/vfsStream
v1.6.11
Compare Source
$context
property invfsStreamWrapper
phingofficial/phing
v2.17.4
Compare Source
This patch release fixes some PHP 8.1 compatibility issues.
v2.17.3
Compare Source
This patch release fixes some PHP 8.1 compatibility issues.
v2.17.2
Compare Source
This patch release fixes some PHP 8.1 compatibility issues.
v2.17.1
Compare Source
This release fixes some compatibility issues.
phpstan/phpstan
v1.9.4
Compare Source
Improvements 🔧
checkArgumentTypes=true
(#2106), thanks @staabm!TypeCombinator::intersect()
(#2112), thanks @staabm!InitializerExprTypeResolver
(#2114), thanks @staabm!TypeCombinator::removeFalsey()
(#2003), thanks @axlon!usePathConstantsAsConstantString
(#2050), thanks @MartinMystikJonas!Bugfixes 🐛
unset
(#2107), #7805, thanks @rajyan!array_search()
with constant array type haystack (#1806), #3789, thanks @takaram!parse_str()
might return nested arrays by-ref (#1994), #8356, thanks @staabm!for
loop (phpstan/phpstan-src@a8975b1), #8520Internals 🔍
getConstantStrings()
on Type (#1979), thanks @staabm!v1.9.3
Compare Source
Bleeding edge 🔪
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
: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
Improvements 🔧
DateTimeZone::__construct
throw type extension (#2034)deprecationRulesInstalled
configuration (#2062), thanks @villfa!treatPhpDocTypesAsCertain
(#2065), thanks @VincentLanglet!Scope::getType()
. Cheap checks first. (#2071), thanks @staabm!Bugfixes 🐛
@param-out
on methods (#2028), #8421, thanks @staabm!mixed
on annotation assignment (#2017), thanks @herndlm!$nativeExpressionTypes
in MutatingScope (#2021), thanks @herndlm!.php
(phpstan/phpstan-src@bff85e2), #8480Function signature fixes 🤖
Internals 🔍
NodeScopeResolverTest
cases (#1992), thanks @herndlm!UnionTypeHelper
(#1988), thanks @herndlm!$expressionTypes
and$nativeExpressionTypes
in Scope creation methods (#2022), thanks @herndlm!getLevelValue()
(phpstan/phpstan-src@4f7e20b)TypeTraverser
inArrayChunkFunctionReturnTypeExtension
(#2082), thanks @herndlm!TypeTraverser
inArraySliceFunctionReturnTypeExtension
(#2085), thanks @herndlm!TypeTraverser
inArrayReverseFunctionReturnTypeExtension
(#2084), thanks @herndlm!TypeTraverser
inStrSplitFunctionReturnTypeExtension
(#2087), thanks @herndlm!v1.9.2
Compare Source
Bugfixes 🐛
NeverType
(#1968), #8277, thanks @herndlm!Function signature fixes 🤖
json_encode()
always produce anon-empty-string
, when successful (#1980), thanks @Slamdunk!sodium_crypto_generichash*
always produce anon-empty-string
(#1981), thanks @Slamdunk!sodium_crypto_sign*
always producenon-empty-string
(#1985), thanks @Slamdunk!Internals 🔍
Type::isVoid()
(#1982), thanks @herndlm!v1.9.1
Compare Source
Improvements 🔧
AccessoryArrayListType
is part of BC promise (#1967), thanks @enumag!object
tostring
result in an error (#1948), thanks @rvanvelzen!checkBenevolentUnionTypes
config (#1940), thanks @VincentLanglet!Bugfixes 🐛
mt_rand
return type (#1956), #8272, thanks @enumag!strtr
returnsnon-empty-string
(#1963), thanks @staabm!v1.9.0
Compare Source
Check out the article about this release!
Major new features 🚀
@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!Bleeding edge 🔪
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
: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
Improvements 🔧
non-negative-int
andnon-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()
andmb_convert_kana()
(#1866), thanks @zonuexe!callable-object
andcallable-string
(#1906), thanks @rvanvelzen!FunctionReflection
/ExtendedMethodReflection::returnsByReference()
(#1899), #6005, thanks @staabm!MutatingScope::enterNamespace()
is part of BC promise (phpstan/phpstan-src@92732ca)Bugfixes 🐛
Scope
orFunctionReflection
in userland class (phpstan/phpstan-src@2796f8d)no-named-arguments
implies variadic argument is alist
(#1796), thanks @herndlm!Countable
incount()
(#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
(phpstan/phpstan-src@cf40007)$this
in nativeExpressionTypes (#1936), thanks @rajyan!@phpstan-self-out
(#1949), thanks @staabm!Function signature fixes 🤖
mb_check_encoding()
acceptsarray<string>
in PHP 7.2+ (#1867), thanks @zonuexe!Internals 🔍
Type::getConstantArrays
as successor forTypeUtils::getOldConstantArrays
(#1684), thanks @herndlm!TypeUtils::getArrays()
andTypeUtils::getAnyArrays()
(#1687), thanks @herndlm!Type::getLastIterableValueType()
(#1811), thanks @herndlm!Type::getFirstIterableValueType()
(#1811), thanks @herndlm!Type::getFirstIterableKeyType()
andType::getLastIterableKeyType()
(#1812), #8152, thanks @herndlm!JustNullableTypeTrait
(#1821), thanks @herndlm!Type::isConstantArray()
(#1822), thanks @herndlm!getConstantArrays()
usage withisConstantArray()
(#1827), thanks @herndlm!Type::getArraySize()
(#1828), thanks @herndlm!Type::flipArray()
(#1832), thanks @herndlm!Type::getKeysArray()
andType::getValuesArray()
(#1851), thanks @herndlm!FunctionReflection::getDocComment()
(#1834), thanks @staabm!Type::popArray()
andType::shiftArray()
(#1847), thanks @herndlm!Type::shuffleArray()
(#1853), thanks @herndlm!ConstantArrayType::generalizeToArray()
(#1856), thanks @herndlm!array_pop
/array_shift
arg (#1864), thanks @herndlm!ArrayType::castToArrayKey()
withType::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-useBinaryOp\Pow
type inference (#1900), thanks @staabm!Type::getArrays()
usage inInvalidKeyInArrayDimFetchRule
(#1872), thanks @herndlm!Type::searchArray()
(#1874), thanks @herndlm!variableTypes
to save byexprString
(#1909), thanks @rajyan!variableTypes
andmoreSpecificTypes
(#1919), thanks @rajyan!::set-*
in GitHub Actions (#1917), thanks @rez1dent3!Type::intersectKeyArray()
(#1916), thanks @herndlm!v1.8.11
Compare Source
Improvements 🔧
Bugfixes 🐛
@mixin
result cache issue (phpstan/phpstan-src@7228d4d), #7831@template
tags in the result cache (phpstan/phpstan-src@4c0cb98)@method
,@property
,@extends
,@implements
tags (phpstan/phpstan-src@ec5b633)@use
(phpstan/phpstan-src@08703d1)v1.8.10
Compare Source
Improvements 🔧
Bugfixes 🐛
Function signature fixes 🤖
CURLOPT_*
parameter types (#1836), #8152, #8157, thanks @jlherren!v1.8.9
Compare Source
Improvements 🔧
TypeCombinator::reduceArrays()
even more (#1814), thanks @rvanvelzen!array_search()
type specifier performance (#1818), #8147, thanks @rvanvelzen!Bugfixes 🐛
key_exists
be treated likearray_key_exists
(#1800), #8091, thanks @takaram!Function signature fixes 🤖
SoapFault
constructor datatype (#1798), thanks @ahmedash95!IntlDateFormatter::create
return signature (#1776), thanks @Kleinast!RedisCluster::del
(#1829), thanks @ostrolucky!fpm_get_status
function signature (#1771), thanks @mad-briller!connection_status
function signature (#1774), thanks @mad-briller!headers_list()
returns a list of headers as strings. (#1770), thanks @johnbillion!v1.8.8
Compare Source
Improvements 🔧
ExprPrinter
by BC promise (#1794), thanks @staabm!isset
specification in falsy scope (#1781), thanks @herndlm!sphpstan/phpdoc-parser
to 1.9.0 (phpstan/phpstan-src@fd94186)Bugfixes 🐛
MutatingScope::generalizeType
(#1732), #8015, thanks @herndlm!get_parent_class()
(#1383), #5552, thanks @staabm!Composer\InstalledVersions
to parse PHPStan version (phpstan/phpstan-src@acbb55b), #8117Function signature fixes 🤖
zadd
argument order (#1779), thanks @araab!zscan
return types (#1780), thanks @araab!XMLWriter::startElementNS()
$namespace
arg is nullable (#1772), thanks @staabm!v1.8.7
Compare Source
Improvements 🔧
TypeCombinator::reduceArrays()
performance with retained type completeness (#1741), thanks @rvanvelzen!@readonly
property allows private mutation (#1610), #7778, thanks @zonuexe!@property
annotations (#1786), thanks @mad-briller!tip
message to JSON error formatter (#1727), thanks @staabm!Bugfixes 🐛
namespace {}
) (#1758), thanks @rvanvelzen!ignoreErrors
(#1769), thanks @MartinMystikJonas!ignoreErrors
: fixreportUnmatched
withoutpath
/paths
(#1773), thanks @MartinMystikJonas!getRawArgs()
instead (phpstan/phpstan-src@6cd3d5d), #8078CURLOPT_POSTFIELDS
param type (#1782), thanks @ahmedash95!IssetCheck
/MutatingScope::issetCheck
deviations and remove too early exits (#1784),thanks @herndlm!