Bump vimeo/psalm from 3.16 to 3.17.1
Created by: dependabot[bot]
Bumps vimeo/psalm from 3.16 to 3.17.1.
Release notes
Sourced from vimeo/psalm's releases.
Fix preg_split
3.17.0 added a potentially-erroneous return type when a non-zero
$flags
param is passed topreg_split
. This fixes things.A bunch of bugfixes
Features
- @mr-feek added support for configurable universal objects (#3948)
- Improved error messages and reporting for
ParadoxicalCondition
(example) – thanks to @dkarlovi, @jbafford and @ro0NL for their inputBugfixes
Fixed XML generation
3.16 broke XML output, this is now fixed (#4252).
Other bugfixes
- @DanielBadura added a stub for
random_int
, providing better inference (#4199)- Improved signatures for
preg_match_all
(#4202) and @orklah helped improvepreg_split
- Treat
func_num_args
as pure (#4215)- Fix
__invoke
declaration crash (#4210)- Allow hinting arrow function return types (#4209)
- Add checks for
if ((bool) $foo)
(#4206)- Fix crash with some class-string property assignments (#4198)
- @aheart fixed bugs with JUnit generation (#4234)
- @danog added a bunch of stubs for
Spl*
classes (#4255)allowMissingFiles
was fixed by @ddeboer (#4259)- prevent crash after analysing file that defines a class twice (#4264)
- prevent an infinite loop when analysing a closure unioned with invokable class (#4266)
- @marcosh added more stubs for array functions (#4271)
- prevent crash when annotating the intersection of arrays (#4287)
- Fix reported property id for multiple
MissingConstructor
issues on a single class (#4297)- Prevent crash when trying to negate a
positive-numeric
assertion (#4306)- Fix return types for a few callmap-provided functions (#4309)
- Prevent a class name validation check on a string argument to a
class-string|Foo
union (#4310)Also thanks to @orklah for many linting PRs, and to @weirdan for very good triaging
Commits
-
8f21179
Do arithmetic for preg_split arguments -
a6c73a9
Improve preg_split return more -
33e3758
Fix #4252 - fix xml generation -
662e2ea
Fix #4274 - don’t ignore mixed union in array_shift operation -
dfa8854
Fix #4310 - prevent literal class check on union -
042cc06
Add slash -
c23ef78
Fix #4309 - improve reuse of callmap callable inference -
58426d3
Add better return type for preg_split -
3887506
Don’t merge array and Traversable to iterable when there are intersections -
f5ed655
Add changes from PHPStan‘s functionmap - 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 rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)