chore(deps): bump vimeo/psalm from 7.2.1 to 7.9.0
DE
2d ago+168+168+012345678901234567890123456789-252-252-012345678901234567890123456789
Bumps vimeo/psalm from 7.2.1 to 7.9.0.
Release notes
Sourced from vimeo/psalm's releases.
7.9.0
What's Changed
Features
- Analyse references to properties by
@orklahin vimeo/psalm#13955Fixes
- Fix explode() return type with a negative limit by
@orklahin vimeo/psalm#13949- Report native return types disjoint from the inherited
@returndocblock by@orklahin vimeo/psalm#13951- Narrow strings by strlen() comparisons that imply non-emptiness one way by
@orklahin vimeo/psalm#13953- Drop null from the left side of ?? on ArrayAccess offsets (#9960) by
@jirkacein vimeo/psalm#12738- Don't assume an implicit null return after exhaustive type checks by
@orklahin vimeo/psalm#13952- Cast numeric-string and float array keys to int by
@orklahin vimeo/psalm#13956- Take an offset bound by reference as created, and its null array as an array by
@orklahin vimeo/psalm#13954- Narrow loop counters with the exit condition and inc/dec conditions by
@orklahin vimeo/psalm#13950- Do not make a key optional when the unsealed arrays lacking it may hold it by
@orklahin vimeo/psalm#13904- Narrow the receiver of a nullsafe chain that is not identical to null by
@jirkacein vimeo/psalm#12701- Fix superglobal made nullable by global by
@orklahin vimeo/psalm#13973- Fix UndefinedVariable in isset() after a switch whose later case ends in a conditional throw by
@orklahin vimeo/psalm#13974- Fix: RedundantCondition on a nullsafe fetch compared to a bool literal by
@alies-devin vimeo/psalm#13945- Fix crash destructuring an ArrayAccess object of self by
@shu-chen-dot-cain vimeo/psalm#13785- Fix: nullsafe fetch on an unread non-null property receiver is typed nullable by
@alies-devin vimeo/psalm#13946- Resolve static in template arguments when comparing inherited signatures by
@orklahin vimeo/psalm#14000- Fix: PHP 8.6 SodiumCryptoXof*State classes are undefined by
@alies-devin vimeo/psalm#14013- Handle break 2 out of a nested switch by
@orklahin vimeo/psalm#13991- Fix UnusedVariable for an assignment before a break or in a catch read after the enclosing if by
@orklahin vimeo/psalm#13981- Narrow the value a loop exits with through ++/-- in its condition by
@orklahin vimeo/psalm#13992- Fix UndefinedVariable for a variable assigned in a nested && operand by
@orklahin vimeo/psalm#13976- Fix: properties of builtin classes known only through reflection are mixed by
@alies-devin vimeo/psalm#14015- Keep the memoized result of a call that may change it by
@orklahin vimeo/psalm#13990- Fix:
curl_multi_get_handles()returnsarray<array-key, mixed>instead oflist<CurlHandle>by@alies-devin vimeo/psalm#14022- Fix: PHP 8.6 global constants are undefined when Psalm runs on PHP < 8.6 by
@alies-devin vimeo/psalm#14024- Fix: a parent's
@methodoverriding a non-public method of the child where the call reaches it by@orklahin vimeo/psalm#14016- Replace characters XML 1.0 forbids in checkstyle and JUnit reports by
@orklahin vimeo/psalm#14025- Fix: PHP 8.6 signatures of
socket_addrinfo_lookup(),socket_cmsg_space()andldap_free_result()by@alies-devin vimeo/psalm#14023- Inherit Iterator methods on interfaces extending RecursiveIterator and other internal interfaces by
@orklahin vimeo/psalm#14026- Take superglobals passed by reference as set by
@orklahin vimeo/psalm#14035- array_key_exists() removes null and false from the array where it is true by
@orklahin vimeo/psalm#13975- Don't accept an object with __toString() for a string in overridden method types by
@orklahin vimeo/psalm#14029Internal changes
- Re-enable skipped tests that pass, link the others to their issues by
@orklahin vimeo/psalm#13935- Fix ComplexMethod on SwitchCaseAnalyzer::analyze() in self-analysis by
@orklahin vimeo/psalm#13996Full Changelog: https://github.com/vimeo/psalm/compare/7.8.0...7.9.0
7.8.0
What's Changed
... (truncated)
Commits
6b439acMerge pull request #14029 from orklah/fix-13959-tostring-return2993237Merge pull request #13975 from orklah/fix-13970-array-key-exists-null6209270Keep the __toString() cast of a failed conditional alternative51b5ddaMerge pull request #14035 from orklah/fix-13985-superglobal-by-refcd33d0cMerge pull request #14026 from orklah/fix-13933-recursive-iterator604283eDon't assert non-empty an array that already isc1d0d36Merge pull request #14023 from alies-dev/14012-callmap86-sockets-ldap510cce1Prefer a conditional type alternative that needs no __toString() cast3db1887Merge pull request #14025 from orklah/xml-report-control-chars7316d0dReport a __toString() object for a narrower string as a mismatch, not as more...- 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 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)
Summary by cubic
Updates vimeo/psalm from 7.2.1 to 7.9.0 in composer.lock, pulling in new static analysis fixes and improvements. The bundled psalm/plugin-phpunit jumps from 0.22.2 to 1.3.2, which now requires PHP >= 8.2, PHPUnit >= 11, and Psalm >= 7.8.
Dependencies
- Also bumps
psalm/plugin-laravel,psalm/plugin-symfony,psalm/plugin-mockery, andpsalm/psalm-plugin-api. - Transitive bumps for
amphp/socket,doctrine/deprecations,revolt/event-loop,symfony/polyfill-php85, andwebmozart/assert. - The PR is not currently mergeable and needs a rebase.