Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Psalm 5.4 upgrade #287

Merged
merged 50 commits into from
Jan 13, 2023
Merged
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
700d009
fix `append`
drupol Jan 7, 2023
d1fb1ef
fix `apply`
drupol Dec 22, 2022
9adaac3
fix `associate`
drupol Dec 26, 2022
3ebba89
fix `asyncMap`
drupol Dec 26, 2022
5a4c2c6
fix `compare`
drupol Jan 2, 2023
17ecf05
Fix `current`
drupol Jan 2, 2023
9e5bf8f
fix `diff`
drupol Dec 22, 2022
6dabcb4
fix `distinct`
drupol Dec 26, 2022
e4c6236
fix `drop`
drupol Dec 22, 2022
9c181fd
fix `find`
drupol Jan 2, 2023
962e0dc
fix `filter`
drupol Dec 26, 2022
b649d40
fix `first`
drupol Jan 8, 2023
bf8ce44
fix `flip`
drupol Jan 2, 2023
89a0d6c
fix `fromCallable`
drupol Dec 26, 2022
edd201d
fix `fromGenerator`
drupol Dec 26, 2022
79212b7
fix `fromIterable`
drupol Dec 26, 2022
8d7ec97
Fix `get`
drupol Jan 2, 2023
255d983
fix `groupby`
drupol Dec 26, 2022
f31ae20
Fix `head`
drupol Jan 2, 2023
8cbe9b6
fix `inits`
drupol Jan 2, 2023
453c4ae
Fix `key`
drupol Jan 2, 2023
cb5724a
fix `keys`
drupol Dec 26, 2022
fe71a6f
fix `last`
drupol Jan 2, 2023
029bcb5
fix `map`
drupol Dec 22, 2022
576937c
fix `matching`
drupol Dec 26, 2022
96ac70d
fix `max`
drupol Jan 2, 2023
84abfb4
fix `min`
drupol Dec 28, 2022
319081b
fix `pack`
drupol Jan 2, 2023
327d79e
fix `prepend`
drupol Jan 3, 2023
1a9416a
fix `product`
drupol Dec 26, 2022
53b35e6
fix `random`
drupol Jan 2, 2023
ccea8b6
fix `reduction`
drupol Dec 22, 2022
316b4fb
fix `reject`
drupol Dec 26, 2022
232bc74
fix `reverse`
drupol Dec 22, 2022
04049c7
fix `scanLeft1`
drupol Dec 26, 2022
c6fee2f
fix `scanRight1`
drupol Dec 26, 2022
497e96a
fix `shuffle`
drupol Jan 2, 2023
56074b0
fix `span`
drupol Dec 26, 2022
cdd1005
fix `squash`
drupol Dec 26, 2022
6e12d97
fix `strict`
drupol Dec 26, 2022
27e073e
fix `tail`
drupol Dec 26, 2022
d0d685e
fix `unfold`
drupol Dec 22, 2022
06f14dd
fix `unpack`
drupol Jan 2, 2023
92a8c94
fix `when`
drupol Dec 26, 2022
444f917
fix `window`
drupol Dec 22, 2022
0e54533
fix `wrap`
drupol Jan 2, 2023
c8c2741
fix `zip`
drupol Jan 2, 2023
758a8a2
sa: Update `psalm` baseline
drupol Jan 2, 2023
1814fc3
sa: Update `phpstan` baseline
drupol Jan 7, 2023
f355cb3
chore: update `psalm` to commit f723e08221c5028612d928241c84d9cac7fe6d86
drupol Jan 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix apply
  • Loading branch information
drupol committed Jan 13, 2023
commit d1fb1ef91f3e1abbfa0353b01af50ee3cbc9d7e2
4 changes: 3 additions & 1 deletion tests/static-analysis/apply.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
use loophp\collection\Contract\Collection as CollectionInterface;

/**
* @param CollectionInterface<int, string> $collection
* @psalm-param CollectionInterface<int<0,1>, 'bar'|'foo'> $collection
*
* @phpstan-param CollectionInterface<int, string> $collection
*/
function apply_checkList(CollectionInterface $collection): void
{
Expand Down