pastebin-php
pastebin-php copied to clipboard
Bump phpstan/phpstan from 1.8.0 to 1.8.2
Bumps phpstan/phpstan from 1.8.0 to 1.8.2.
Release notes
Sourced from phpstan/phpstan's releases.
1.8.2
Improvements 🔧
- Basic support for PHP 8.2
--debug: print previous exceptions (https://github.com/phpstan/phpstan-src/commit/a342b2bea01895e921c5f669a9a53bd0b1402ed3), #7590- Changed the MutatingScope class to not include impossible arms in it's resulting union type. (#1515), thanks
@mad-briller!Bugfixes 🐛
- Properly cache late resolvable types results (#1518), #7637, thanks
@rvanvelzen!- Fix supertype checks between late resolvable types (#1523), #7652, thanks
@rvanvelzen!Function signature fixes 🤖
- Update
AppendIteratorstub (#1517), thanks@drupol!- Update
CachingIterator::getCachestub (#1519), thanks@drupol!1.8.1
Improvements 🔧
- ReadWritePropertiesExtensions are part of ClassPropertiesNode (https://github.com/phpstan/phpstan-src/commit/49c27d8849b1d153a67f28e612e490a71b4fd477), phpstan/phpstan-src#1480
- Add ClosureTypeFactory (#1484), https://github.com/phpstan/phpstan/discussions/7546, thanks
@canvural!- Handle native function
@throwstag in stub file (#1487), #7552, thanks@VincentLanglet!- Add
#[AllowDynamicProperties]PHP 8.2 attribute stub (#1478), thanks@andypost!- Add rule that disallows final private methods on PHP 8.0+ (#1490), thanks
@herndlm!- Inherit
@immutablephpdoc (#1489), #7506, thanks@herndlm!- Mark
ClassReflection::evictPrivateSymbols()as internal (https://github.com/phpstan/phpstan-src/commit/9138ab2a1b63d9ee31764cc812cca404f265ecb7)Bugfixes 🐛
- Fix type specification of various string functions with constant strings in a falsey context (#1488), #7555, thanks
@herndlm!- Fix
ConstantArrayTypecreation forpreg_splitwithPREG_SPLIT_OFFSET_CAPTURE(#1486), #7554, thanks@herndlm!- Reindex constant arrays via
shuffle(#1438), #6138, thanks@herndlm!- Fix union and intersection between StaticType and ThisType (https://github.com/phpstan/phpstan-src/commit/e20e9345f57a7cd760967f459aa1eedfe2eabff8), #6291, #7211, #7550
- Enhance
FILTER_VALIDATE_INToption infilter_var(#1499), #7608, thanks@takeokunn!- Fix handling of
str_split/mb_str_splitstring arg compound types (#1496), #7580, thanks@herndlm!- Fix Identical type specification of constant types (#1493), #7257, #6781, #6647, #5896, #5474, #6000, thanks
@herndlm!- Better
StaticType::traverse()(https://github.com/phpstan/phpstan-src/commit/0e257067ff92fbcb37b034cccdbea864a233c198)GenericClassStringType::isSuperTypeOf()- do not convert maybe into no (https://github.com/phpstan/phpstan-src/commit/6fba5429b9784801a89cdc6cfa3d6f8cfd1d82e8), #6697- Fix subtractable
StaticType(https://github.com/phpstan/phpstan-src/commit/0906336d29e807baba1a9eeca7b1545240c4ce5c), #6443
... (truncated)
Commits
c53312ePHPStan 1.8.2fa219abPlayground API - test PHP 8.21e944f3Updated PHPStan to commit b9d6b3da30adfa4591f42a012575c31eaa52cb7cd28f262Updated PHPStan to commit 60c435abe1c4945e64346d23695f641a4843cdbfd581a9aUpdated PHPStan to commit a6857ee310bedbe71d5d9a57cc18bd988dc02a588909978Updated PHPStan to commit 4e470697f2bfbd0b3352f775ca6616fbd042d33485c20f5Updated PHPStan to commit 1d762a2e68cf3d2c0486f962e3d37f9a60279e5c1752c5dUpdated PHPStan to commit 22561e7f12e29bbcaec1b4c3fb9da3946d8ee9de1449788Skip phpstan-doctrine on PHP 8.29029e89Updated PHPStan to commit 92bc503ee5b3e1a29b4c7982b4e1efca227caa85- 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 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)