1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-02 17:52:45 +01:00
Commit Graph

14134 Commits

Author SHA1 Message Date
Matthew Brown
6684d80041 Add warning for type coercion 2016-04-15 13:11:49 -04:00
Matthew Brown
8c039151de Fix FQCN resolution for registerMethod 2016-04-15 12:57:35 -04:00
Matthew Brown
fbc6cdb346 Fix name resolution for subclasses 2016-04-15 12:48:41 -04:00
Matthew Brown
c82a3a00a9 Fix isMock check 2016-04-12 16:22:25 -04:00
Matthew Brown
d2243c3317 Add sanity check tests 2016-04-12 16:12:38 -04:00
Matthew Brown
2bfe45ce24 Add more lenient method checking and permit object traversal 2016-04-12 16:12:20 -04:00
Matthew Brown
27ef730836 Support nested generic types 2016-04-12 11:59:27 -04:00
Matthew Brown
e4846cd62f Add protective isset 2016-04-12 11:30:11 -04:00
Matthew Brown
ff578f8468 Add support for square bracket array declarations is_array checks 2016-04-12 11:28:36 -04:00
Matthew Brown
d07e340d66 Add support for iterator generics 2016-04-11 19:13:50 -04:00
Matthew Brown
283180115b Fix incorrect test & implementation 2016-04-04 16:33:26 -04:00
Matthew Brown
321a0b8288 Fix ternary checks and be more lenient with null issues 2016-04-04 15:00:57 -04:00
Matthew Brown
208b6e833b Remove var_dump 2016-04-04 14:29:32 -04:00
Matthew Brown
6ec754d21d Add redefined var scanning to switch statements 2016-04-04 14:29:02 -04:00
Matthew Brown
ba4d5e6376 Do not check deeply-nested concatenations 2016-04-04 14:06:29 -04:00
Matthew Brown
5c132274f4 Add support for $this->x vars 2016-04-04 01:21:28 -04:00
Matthew Brown
9032aa065a Fix variable redefinition 2016-04-04 00:17:19 -04:00
Matthew Brown
265df0f4cb Improve message 2016-04-03 20:20:46 -04:00
Matthew Brown
13e9923cd5 Fix ternary else check 2016-04-03 20:14:19 -04:00
Matthew Brown
c2817d4168 Fix booboo 2016-04-03 19:49:32 -04:00
Matthew Brown
b60213395b Add initial rudimentary tests 2016-04-03 19:47:06 -04:00
Matthew Brown
f4dd4cb782 Support testing statements 2016-04-03 19:41:54 -04:00
Matthew Brown
83b7896d2b Move all files to PSR-4-compliant folder structure 2016-04-03 19:41:22 -04:00
Matthew Brown
a6e86732ba Increase nesting level 2016-04-03 14:51:07 -04:00
Matthew Brown
78123ada52 If the statement contains an or, do not make assumptions 2016-04-03 14:50:57 -04:00
Matthew Brown
e542b876f8 Fix puny bug 2016-04-03 14:30:49 -04:00
Matthew Brown
9b26dc8eab Type reconciliation now works pretty well 2016-04-03 14:25:41 -04:00
Matthew Brown
655039427c Improve type reconcilliation and catch more scope errors 2016-04-02 20:27:36 -04:00
Matthew Brown
925adac3d1 Add support for detecting Mock interfaces 2016-04-01 10:52:43 -04:00
Matthew Brown
4938b984ed Ignore MockInterface things 2016-03-23 15:37:43 -04:00
Matthew Brown
979a9541fa Do deep inspection of includes 2016-03-23 13:05:25 -04:00
Matthew Brown
27aeb6574d Remove var_dump 2016-03-17 14:06:32 -04:00
Matthew Brown
6365935850 Check casing errors 2016-03-17 14:06:01 -04:00
Matthew Brown
03f7dc0651 Do not warn about comments after return 2016-03-14 12:48:18 -04:00
Matthew Brown
bc463a4f00 Add check for Nop 2016-03-14 12:38:08 -04:00
Matthew Brown
8ba9e8b73e Add deeper level checking 2016-03-10 15:43:23 -05:00
Steve Miketa
ea5948dedb Use dev-master alias 2016-03-07 13:51:42 -05:00
Steve Miketa
42b24bd5f0 Update php-parser package 2016-03-07 13:28:02 -05:00
Matthew Brown
0e43a764bb Add support for type generators 2016-03-03 17:24:51 -05:00
Matthew Brown
5b97476c40 Merge pull request #13 from stephenm/master
Update patched version of php-parser
2016-03-03 12:39:12 -05:00
Steve Miketa
d09e172b8b Update patched version of php-parser 2016-03-03 12:32:37 -05:00
Matthew Brown
bd146381a8 Fix type resolution bug and add method indexing 2016-02-26 19:11:19 -05:00
Matthew Brown
9d9a1aeb83 Fix bug 2016-02-22 11:32:32 -05:00
Matthew Brown
03d296777c Do not include leading slash in absolute class refs and add custom string check 2016-02-18 15:05:13 -05:00
Matthew Brown
5d6f55148b Fix reference errors in switch statements and support union types 2016-02-10 15:20:53 -05:00
Matthew Brown
0e600665bb Also catch static invocations of non-static methods 2016-02-05 10:20:06 -05:00
Matthew Brown
9a35742803 Reorder creation of StatementsChecker 2016-02-04 18:15:00 -05:00
Matthew Brown
4f65d48c42 Fix checkWithClass implementation 2016-02-04 16:05:36 -05:00
Matthew Brown
c56ec0b911 Allow nullable arg 2016-02-04 15:53:20 -05:00
Matthew Brown
fc5f4ae16d Remove dumb var_dump 2016-02-04 14:52:17 -05:00