Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
c4597bf
Implement DataProviderDataRule
staabm Oct 13, 2025
ccff992
report correct line
staabm Oct 13, 2025
0975030
Added DataProviderDataRuleTest
staabm Oct 13, 2025
5c6445a
implement CompositeRule
staabm Oct 13, 2025
ff6843e
cleanup
staabm Oct 13, 2025
1dd180c
Implement reflection based dataprovider detection
staabm Oct 13, 2025
cff1f79
cs
staabm Oct 13, 2025
0ab211d
simplify
staabm Oct 13, 2025
7f7b38b
fix
staabm Oct 13, 2025
d74aeec
Refactor
staabm Oct 14, 2025
09b226b
test annotations
staabm Oct 14, 2025
f9c8af7
support yield
staabm Oct 14, 2025
d3a2b9b
support yield from
staabm Oct 14, 2025
f42bd8a
fix
staabm Oct 14, 2025
3318b73
Support `test` annotation and attribute
staabm Oct 14, 2025
f715fbf
extract PHPUnitVersionDetector
staabm Oct 14, 2025
67a40d6
fix php 7.4
staabm Oct 14, 2025
6f4dcc9
cs
staabm Oct 14, 2025
20d1408
bleeding edge only
staabm Oct 14, 2025
5cb8c63
test too many/few arguments
staabm Oct 14, 2025
72d5655
report too many/too few with when provider re-used
staabm Oct 14, 2025
1453c20
cleanup
staabm Oct 14, 2025
1506a06
Update extension.neon
staabm Oct 14, 2025
9b69121
use types
staabm Oct 14, 2025
459eb1d
support named args
staabm Oct 14, 2025
5fcf01d
fix invalid call on null
staabm Oct 14, 2025
a978aa8
fix invalid call on null in yield
staabm Oct 14, 2025
a1dad84
fix type error
staabm Oct 14, 2025
1d3db54
new TypeExpr(new ObjectType())
staabm Oct 14, 2025
7417fbc
test constant array return from delegated method
staabm Oct 14, 2025
74b67cf
use CompositeRule from phpstan-src
staabm Oct 14, 2025
5cb7312
fix PHP 7.4
staabm Oct 14, 2025
9ee26b1
Update data-provider-data.php
staabm Oct 14, 2025
4cb9404
test more variadics
staabm Oct 14, 2025
34a0a0e
more variadic tests
staabm Oct 14, 2025
bb855f0
fix
staabm Oct 14, 2025
a56169b
Update DataProviderDataRuleTest.php
staabm Oct 14, 2025
e31a234
Update DataProviderDataRule.php
staabm Oct 14, 2025
1532c26
support iterables
staabm Oct 14, 2025
68e65e9
test ArrayIterator
staabm Oct 14, 2025
30e27db
cleanup
staabm Oct 15, 2025
aafaf8f
simplify
staabm Oct 15, 2025
b6f11fe
Report wrongly typed generic arrays
staabm Oct 15, 2025
72dc9e0
simplify
staabm Oct 15, 2025
ccb7b04
Fix SA error
ondrejmirtes Oct 16, 2025
8491dd7
Fix CS
ondrejmirtes Oct 16, 2025
aea7e42
abstract test-class
staabm Oct 17, 2025
a1e5a19
factor out buildArrayTypesFromNode()
staabm Oct 17, 2025
7f9dbf2
test more const array variants
staabm Oct 17, 2025
c689efe
special case for providers only containing static data, so we get mor…
staabm Oct 17, 2025
d6c11be
apply static data only special case also for "yield from"
staabm Oct 17, 2025
21740cb
moved cheapest check to the front
staabm Oct 17, 2025
41acc04
Failing test - args trimming logic needs some work
ondrejmirtes Oct 17, 2025
807a35f
Not a failing test, just checking :)
ondrejmirtes Oct 17, 2025
3fc4e0e
separated php8 only tests
staabm Oct 17, 2025
9a0d039
separate named args expectations
staabm Oct 17, 2025
daf978e
separated more named args tests
staabm Oct 17, 2025
534694d
fix arg trimming
staabm Oct 18, 2025
58461d7
more fixes
staabm Oct 18, 2025
b36a404
cs
staabm Oct 18, 2025
f083e63
Manual mutation testing ep. 1
ondrejmirtes Oct 18, 2025
42ad04e
Manual mutation testing ep. 2
ondrejmirtes Oct 18, 2025
0731026
break
ondrejmirtes Oct 18, 2025
File filter

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
cs
  • Loading branch information
staabm committed Oct 18, 2025
commit b36a404f4e45c51627633a419b10f51f6952f1e5
1 change: 1 addition & 0 deletions src/Rules/PHPUnit/DataProviderDataRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
use function count;
use function max;
use function min;
use const PHP_INT_MAX;

/**
* @implements Rule<Node>
Expand Down