flysystem-stream-wrapper
flysystem-stream-wrapper copied to clipboard
Update phpstan/phpstan requirement from ^1.10 to ^1.10 || ^2.0
Updates the requirements on phpstan/phpstan to permit the latest version.
Release notes
Sourced from phpstan/phpstan's releases.
2.1.12
Improvements đ§
- Remember narrowed types from the constructor when analysing other methods (#3930), #12860, #10048, #11828, #9075, #6063, #12723, thanks
@âstaabm!- DeprecationExtensions: allow custom deprecation-marking logic (#3932), thanks
@âjanedbal!- TypeInferenceTestCase - show analysed symbols that do not exist next to failure (misconfigured autoloading) (https://github.com/phpstan/phpstan-src/commit/fdd5ad933d2264be29812eb713d0f15519d5cb3f, https://github.com/phpstan/phpstan-src/commit/a2834bcc6894f8d0dce299507735473cfa1f8f54)
- RuleTestCase - show analysed symbols that do not exist next to failure (misconfigured autoloading) (https://github.com/phpstan/phpstan-src/commit/c5cf14ba60139fb40a1e26973a115778a9e82815, https://github.com/phpstan/phpstan-src/commit/a2834bcc6894f8d0dce299507735473cfa1f8f54)
- Allow toggling
discoveringSymbolstip (#3929), https://github.com/phpstan/phpstan/discussions/12859, thanks@âherndlm!- Faster processing of array comparisons with constant offsets (#3933), #12800, thanks
@âstaabm!- ClassReflection: narrow getNativeReflection after isEnum is true (#3925), thanks
@âjanedbal!- ResultCacheManager: support dots in parametersNotInvalidatingCache (#3939), thanks
@âjanedbal!- ResultCacheManager: configurable days causing cache skip (#3941), thanks
@âjanedbal!Bugfixes đ
- This release includes fixes from PHPStan 1.12.24
- RegexArrayShapeMatcher - enforce list type when no named captures (#3899), #12397, #11602, thanks
@âstaabm!- Fix elapsed time format for result cache restore time (#3890), thanks
@âjanedbal!- Limit int ranges when narrowing arrays via
count()(#3902), #12787, thanks@âherndlm!- Fixed false positive about undefined property guarded with property_exists (https://github.com/phpstan/phpstan-src/commit/3d5293075344157864219e5833bbfa69d60ec7be)
- Fixed false positive about undefined method guarded with method_exists (https://github.com/phpstan/phpstan-src/commit/ae5562fc29737d3f4a724bdd351c23f1347d569d), #12793
- Offset on list definitely exists if there's HasOffsetType with higher number (#3905), #12605, thanks
@âstaabm!- Set offset on list keeps list if there's HasOffsetType for all preceeding offsets (#3909), thanks
@âstaabm!- Fix union/intersect involving enum case (#3907), #12163, thanks
@âschlndh!- Fix lost list type if substituted a element via loop (#3908), #12274, thanks
@âstaabm!- Fix signature type for default-null parameters (#3912), #7522, #12282, thanks
@âVincentLanglet!- ObjectType: fix isEnum (#3915), #12832, thanks
@âjanedbal!- Fix
matches[0]type for regexes containing\K(#3920), #12792, thanks@âmvorisek!- TypeCombinator returns
non-empty-arrayfor union ofisIterableAtLeastOnce()->yes()(#3937), #12847, thanks@âstaabm!Function signature fixes đ¤
- More precise return type for strspn and strcspn (#3918), thanks
@âclaudepache!- Improve
getopt()function stub (#3655), #12103, thanks@âjanedbal!Internals đ
- Added regression test (#3904), thanks
@âstaabm!
... (truncated)
Commits
96dde49PHPStan 2.1.12db66d83Updated PHPStan to commit db66d83f6ae3dadec529dd53bcde250344c2230f740ec29Updated PHPStan to commit 740ec2900270675c9c70e583dcc482443e8bcc99de3a42bUpdate errors identifiers29cb09bUpdated PHPStan to commit 29cb09bf12da8e3b15af5c6214667c207dcd5c4a3cdaab0Updated PHPStan to commit 3cdaab0f604352161b9b276aa02bfcea1bc642407fd5022Updated PHPStan to commit 7fd50229d01d0455029667cc6a6ed876b6549648df0a657Docs: add custom deprecations5df4617Updated PHPStan to commit 5df46172237c9966b51ada815a31404fa572987899299a2Updated PHPStan to commit 99299a27f407afe34c2ef8037c84bbe4a6f90e9b- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)