Closed tantegerda1 closed 6 months ago
Psalm and PHPCS are failing.
Updated to address these issues (good that there is a strict CI watching my rookie commits…).
The remaining failing check seems unrelated.
Restarted the job, it now passes.
Please kindly squash your commits together. If you don't, we'll try to remember to do it for you but it's best if you save us this trouble.
How to do that?
git rebase -i origin/3.1.x
, assuming origin
is a git remote that points to this repository, and not your fork. If you're not sure what your remotes are, run git remote -vvv
, there should be your fork and the holy/reference/base/origin/whatever-you-call-it repository.pick
with fixup
on every line but the first onegit push --force
to overwrite what you already push. Don't forget the --force
option otherwise git will try to merge both things together.Sorry. I started from the wrong branch. Failed to see #11208 How to choose the right branch.
See https://github.com/doctrine/collections/issues/368 for the same issue in doctrine/collections which has been fixed there.
The issue happens when using
->contains()
. Running psalm emitsWe should either not define
@template TMaybeContained
or re-define the psalm docblock fromReadableCollection
completely.