Matt Brown
ac70ea31b2
Change test assertion keying
2017-06-29 10:22:49 -04:00
Matthew Brown
d6909193ea
Add additional formatting changes
2017-05-26 20:05:57 -04:00
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
Matthew Brown
9dd94d099f
Fix issue with possibly-redefined switch vars
2017-03-14 02:00:38 -04:00
Matthew Brown
50b629e88e
Update context types after switch statement without default case
2017-03-13 21:17:21 -04:00
Matt Brown
0049e4deb4
Fix #105 and also the issues found in its wake
2017-02-23 19:36:51 -05:00
Matthew Brown
9137727993
Fix #99 - treat null coalesce more respectfully
2017-02-17 20:50:47 -05:00
Matt Brown
a7872472be
Add stubbing tests and modify config initialisation
2017-01-31 19:22:05 -05:00
Matthew Brown
ea63fd7ae3
Fix #75 - allow inteeger offsets for object-like arrays
2017-01-25 00:11:24 -07:00
Matthew Brown
374dc65de1
Fix #39 by checking for ArrayAcces interface
2017-01-20 00:23:58 -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
Matt Brown
6e6106c080
Add docblocks to tests
2017-01-13 14:07:23 -05:00
Matthew Brown
e7568f8400
Fix type coercion issues
2017-01-09 01:27:35 -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
883ca6a5db
Fix #30 by consolidating properties into single storage array
2017-01-01 19:09:17 -05:00
Matthew Brown
8b5e066ba6
Add case-sensitive function names
2016-12-30 13:09:00 -05:00
Matthew Brown
685eaeb4fe
Reimagine XML schema, fixes #21
2016-12-29 20:10:06 -05:00
Matthew Brown
749735a3ec
Update config file API still further
2016-12-29 10:24:10 -05:00
Matthew Brown
ff466b7992
Change config API
2016-12-29 08:42:39 -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
6755c8724a
Add tests for M* issues, fixing bugs along the way
2016-12-16 18:56:23 -05:00
Matt Brown
c91e457c28
Add psalm.xml support for checking tests
2016-12-14 12:55:23 -05:00
Matthew Brown
4c21a5af7c
Add so many new tests
2016-12-11 23:41:11 -05:00
Matthew Brown
73b1ab1411
Support int offsets in dealing with type inference
2016-12-10 18:24:28 -05:00
Matthew Brown
f0939952d4
Add extra array assignment tests
2016-12-04 19:33:42 -05:00
Matthew Brown
2a9e138a14
Add failing array addition tests
2016-11-13 14:36:29 -05:00
Matthew Brown
3b1dfd0942
Fix issue combining generic and object-like
2016-11-13 11:54:40 -05:00
Matthew Brown
6d7dc41756
Update tests with spaces
2016-11-13 11:24:25 -05:00
Matthew Brown
7d6ac4719f
Fix offset assignment creation
2016-11-05 20:17:22 -04:00
Matthew Brown
c5591adf10
Add support for global in functions and mixed inferred return errors
2016-11-05 17:54:34 -04:00
Jon Ursenbach
27c2db1d1d
PSR-2
2016-11-02 17:50:54 -04:00
Matthew Brown
b31ac4a862
Removed object-like type descriptor in favour of array{} syntax
2016-10-28 13:24:06 -04:00
Matthew Brown
2fe46b08b4
Add additional array check
2016-10-15 13:11:08 -04:00
Matthew Brown
18a55e2854
Also inspect arrays from strings
2016-10-15 13:10:05 -04:00
Matthew Brown
c178e5c882
Add tests for nested assignment
2016-10-03 00:44:05 -04:00
Matthew Brown
8730c67d2a
Fix tests
2016-10-02 22:01:01 -04:00
Matthew Brown
9f37dc8626
Check for arrayAccess erroneous vars
2016-09-22 13:45:47 -04:00
Matthew Brown
42c8923981
Fix isset assertions
2016-09-22 12:26:24 -04:00
Matthew Brown
f44eed1d8c
Update tests to look for object-like types
2016-09-22 00:50:47 -04:00
Matthew Brown
041f183d49
Add a bunch of new checks
2016-09-21 19:15:09 -04:00
Matthew Brown
93a5e6775d
Add object-like type to represent cheating arrays
2016-09-20 21:45:49 -04:00
Matthew Brown
6da0b1cb87
Add even more tests
2016-09-15 14:21:51 -04:00
Matthew Brown
cb09a190ce
Add more breaking tests
2016-09-13 00:18:41 -04:00
Matthew Brown
27b731a062
Add failing test
2016-09-12 19:44:46 -04:00
Matthew Brown
00065e73b9
Add extra tests for safety
2016-09-12 19:31:16 -04:00
Matthew Brown
2e91b27b92
Add test for array assignment code
2016-09-12 00:02:50 -04:00