Jon Ursenbach
11bc153deb
Rewriting and streamlining every unit test with data providers. ( #147 )
...
* Rewriting and streamlining every unit test with data providers.
All unit tests have been rewritten into PHPUnit data providers
to reduce the amount of unnecessary code-reuse through out the
test suite.
2017-04-24 23:45:02 -04:00
Matt Brown
a4be86865d
Skip Throwable in PHP < 7
2017-03-30 12:12:46 -04:00
Matt Brown
d06a199d25
Fix #121 - simplify all parameter types
2017-03-30 11:44:38 -04:00
Matthew Brown
47de866601
Fix issue using abstract methods from traits
2017-02-22 01:25:51 -05:00
Matthew Brown
5ec2a9742b
Fix union type simplification of float|int eradicating int
2017-02-01 19:39:40 -05:00
Matthew Brown
2852eeebad
Add return types to tests
2017-02-01 18:11:50 -05:00
Matthew Brown
76b6bc9b3d
Prevent Psalm from storing unnecessary checkers
2017-02-01 18:11:00 -05:00
Matt Brown
a7872472be
Add stubbing tests and modify config initialisation
2017-01-31 19:22:05 -05:00
Matt Brown
8c68861cc3
Fix #81 - interface inheritance checks were broken
2017-01-30 18:38:23 -05:00
Matthew Brown
daa923e243
Stop analysis if parent class cannot be located
2017-01-23 13:36:06 -07:00
Matthew Brown
3ad6ec2e34
Be more resilient if we ignore that parent class does not exist
2017-01-23 13:21:40 -07:00
Matthew Brown
894b25487f
Fix #71 - prevent instantiation of abstract classes
2017-01-20 00:10:10 -05:00
Matthew Brown
9d1b382820
Fix #48 by recording class definition line number & file path
2017-01-19 23:45:21 -05:00
Matthew Brown
b3726c9de5
Use getcwd() for the project’s base, not the config file parent directory
2017-01-16 18:33:04 -05:00
Matthew Brown
5315fd15ad
Fix namespaced functions in regular use statements
2017-01-16 00:49:12 -05:00
Matthew Brown
78c1138a94
Fix #53 - add back extends checks for reflected classes
2017-01-14 19:34:10 -05:00
Matt Brown
6e6106c080
Add docblocks to tests
2017-01-13 14:07:23 -05:00
Matt Brown
c181f47364
Fix #35 and #40 by improving method signature checks
2017-01-13 12:03:22 -05:00
Matthew Brown
c90a479b15
Fix self-referential issue
2017-01-08 13:53:40 -05:00
Matthew Brown
5cc97e380d
Fix issue evaluating Foo::class
2017-01-07 17:24:43 -05:00
Matthew Brown
17329015dc
Discriminate between checking, visiting and analyzing in method names
2017-01-07 15:09:47 -05:00
Matthew Brown
7609ca02c0
Fix #32 by evaluating all class references in files lazily
2017-01-04 23:42:58 -05:00
Matthew Brown
b529fa4877
Move static method arrays into MethodStorage classes
2016-12-30 15:53:35 -05:00
Matthew Brown
23a414a2b3
Fix test failures
2016-12-30 13:14:17 -05:00
Matthew Brown
8b5e066ba6
Add case-sensitive function names
2016-12-30 13:09:00 -05:00
Matthew Brown
a91fc2d3dc
Add pre-run step so all class declarations in a given file can be dealt with
2016-12-28 22:11:50 -05:00
Matthew Brown
52b3e1ba8c
Simplify test config setup;
2016-12-18 19:00:32 -05:00
Matthew Brown
d88bb4e135
Finish adding tests for all issues
2016-12-16 22:16:29 -05:00
Matt Brown
c91e457c28
Add psalm.xml support for checking tests
2016-12-14 12:55:23 -05:00
Matt Brown
154d023a9d
Add more robust config testing
2016-12-14 12:28:38 -05:00
Matthew Brown
4c21a5af7c
Add so many new tests
2016-12-11 23:41:11 -05:00