Skip to content

Commit

Permalink
sa: Update PHPStan baseline.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Jan 3, 2022
1 parent d112149 commit 782a48e
Showing 1 changed file with 19 additions and 44 deletions.
63 changes: 19 additions & 44 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,11 @@ parameters:
count: 1
path: src/Operation/Distinct.php

-
message: "#^Parameter \\#1 \\$ of closure expects array\\<int, callable\\(mixed, mixed, Iterator\\<mixed, mixed\\>\\)\\: bool\\>, array\\<int\\|string, callable\\(\\)\\: mixed\\> given\\.$#"
count: 1
path: src/Operation/DropWhile.php

-
message: "#^Template type U of method loophp\\\\collection\\\\Operation\\\\Duplicate\\:\\:__invoke\\(\\) is not referenced in a parameter\\.$#"
count: 1
path: src/Operation/Duplicate.php

-
message: "#^Parameter \\#1 \\$ of closure expects array\\<int, callable\\(mixed, mixed, Iterator\\<mixed, mixed\\>\\)\\: bool\\>, array\\<int\\|string, callable\\(\\)\\: mixed\\> given\\.$#"
count: 1
path: src/Operation/Filter.php

-
message: "#^Template type V of method loophp\\\\collection\\\\Operation\\\\Find\\:\\:__invoke\\(\\) is not referenced in a parameter\\.$#"
count: 1
Expand All @@ -81,24 +71,34 @@ parameters:
path: src/Operation/Get.php

-
message: "#^Method loophp\\\\collection\\\\Operation\\\\Group\\:\\:__invoke\\(\\) should return Closure\\(Iterator\\<TKey, T\\>\\)\\: Generator\\<int, array\\<int, T\\>, mixed, mixed\\> but returns Closure\\(Iterator\\)\\: Generator\\<int, non\\-empty\\-array\\<int, mixed\\>, mixed, void\\>\\.$#"
message: "#^Template type NewTKey of method loophp\\\\collection\\\\Operation\\\\GroupBy\\:\\:__invoke\\(\\) is not referenced in a parameter\\.$#"
count: 1
path: src/Operation/Group.php
path: src/Operation/GroupBy.php

-
message: "#^Template type NewTKey of method loophp\\\\collection\\\\Operation\\\\GroupBy\\:\\:__invoke\\(\\) is not referenced in a parameter\\.$#"
message: "#^Foreach overwrites \\$current with its value variable\\.$#"
count: 1
path: src/Operation/GroupBy.php
path: src/Operation/Head.php

-
message: "#^Template type V of method loophp\\\\collection\\\\Operation\\\\Map\\:\\:__invoke\\(\\) is not referenced in a parameter\\.$#"
message: "#^Foreach overwrites \\$key with its key variable\\.$#"
count: 1
path: src/Operation/Map.php
path: src/Operation/Head.php

-
message: "#^Parameter \\#1 \\$ of closure expects array\\<int, callable\\(mixed, mixed, Iterator\\<mixed, mixed\\>\\)\\: bool\\>, array\\<int\\|string, callable\\(\\)\\: mixed\\> given\\.$#"
count: 2
path: src/Operation/MatchOne.php
message: "#^Foreach overwrites \\$current with its value variable\\.$#"
count: 1
path: src/Operation/Last.php

-
message: "#^Foreach overwrites \\$key with its key variable\\.$#"
count: 1
path: src/Operation/Last.php

-
message: "#^Template type V of method loophp\\\\collection\\\\Operation\\\\Map\\:\\:__invoke\\(\\) is not referenced in a parameter\\.$#"
count: 1
path: src/Operation/Map.php

-
message: "#^Template type U of method loophp\\\\collection\\\\Operation\\\\Product\\:\\:__invoke\\(\\) is not referenced in a parameter\\.$#"
Expand Down Expand Up @@ -130,11 +130,6 @@ parameters:
count: 1
path: src/Operation/Reduction.php

-
message: "#^Parameter \\#1 \\$ of closure expects array\\<int, callable\\(mixed, mixed, Iterator\\<mixed, mixed\\>\\)\\: bool\\>, array\\<int\\|string, callable\\(\\)\\: mixed\\> given\\.$#"
count: 1
path: src/Operation/Reject.php

-
message: "#^Template type V of method loophp\\\\collection\\\\Operation\\\\ScanLeft\\:\\:__invoke\\(\\) is not referenced in a parameter\\.$#"
count: 1
Expand Down Expand Up @@ -165,31 +160,11 @@ parameters:
count: 1
path: src/Operation/ScanRight1.php

-
message: "#^Parameter \\#1 \\$ of closure expects array\\<int, callable\\(mixed, mixed, Iterator\\<mixed, mixed\\>\\)\\: bool\\>, array\\<int\\|string, callable\\(\\)\\: mixed\\> given\\.$#"
count: 1
path: src/Operation/Since.php

-
message: "#^Parameter \\#1 \\$ of closure expects array\\<int, callable\\(mixed, mixed, Iterator\\<mixed, mixed\\>\\)\\: bool\\>, array\\<int\\|string, callable\\(\\)\\: mixed\\> given\\.$#"
count: 1
path: src/Operation/Split.php

-
message: "#^Parameter \\#1 \\$ of closure expects array\\<int, callable\\(mixed, mixed, Iterator\\<mixed, mixed\\>\\)\\: bool\\>, array\\<int\\|string, callable\\(\\)\\: mixed\\> given\\.$#"
count: 1
path: src/Operation/TakeWhile.php

-
message: "#^While loop condition is always true\\.$#"
count: 1
path: src/Operation/Unfold.php

-
message: "#^Parameter \\#1 \\$ of closure expects array\\<int, callable\\(mixed, mixed, Iterator\\<mixed, mixed\\>\\)\\: bool\\>, array\\<int\\|string, callable\\(\\)\\: mixed\\> given\\.$#"
count: 1
path: src/Operation/Until.php

-
message: "#^Template type U of method loophp\\\\collection\\\\Operation\\\\Zip\\:\\:__invoke\\(\\) is not referenced in a parameter\\.$#"
count: 1
Expand Down

0 comments on commit 782a48e

Please sign in to comment.