1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
Commit Graph

1764 Commits

Author SHA1 Message Date
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
Matthew Brown
70a007e0b1 Add way of checking property access 2016-02-04 09:22:46 -05:00
Matthew Brown
32b4853c7b Add support for checking existing properties 2016-01-29 18:48:09 -05:00
Matthew Brown
8d7d761a99 Merge pull request #1 from mackenzie/patch-1
Update README.md
2016-01-28 14:13:20 -05:00
Matthew Brown
3350d28828 Ignore classes defined in blocks for now 2016-01-28 11:00:48 -05:00
Mackenzie Clark
ea113c8e79 Update README.md 2016-01-26 17:48:16 -05:00
Matthew Brown
225e1dbff6 Check all class statements 2016-01-26 14:13:04 -05:00
Matthew Brown
b3c3a1fabf Inspect closure use vars 2016-01-26 14:11:56 -05:00
Matthew Brown
08c4c03854 Add more accurate checks for assignment 2016-01-20 14:19:47 -05:00
Matthew Brown
0d9059b333 Change thrown exception to warning cc @kevin @adil 2016-01-20 10:57:56 -05:00
Matthew Brown
0b95ab4be6 Add more rigorous file checking
No longer are we limited to checking PSR-4-compliant files.
2016-01-19 18:27:06 -05:00
Matthew Brown
9b507fe936 Add support for global stmts 2016-01-16 14:53:49 -05:00
Matthew Brown
b862073514 Look at interface namespaces as well 2016-01-16 13:07:30 -05:00
Matthew Brown
083840359a Check names of parameters 2016-01-16 13:06:05 -05:00
Matthew Brown
9a2d5c741f Add support for checking var dumps 2016-01-11 17:23:05 -05:00
Matthew Brown
2ebca32e32 Add support for static checks 2016-01-11 17:18:19 -05:00
Matthew Brown
f547f5e021 Add support for view checking 2016-01-11 14:21:29 -05:00
Matthew Brown
91f39feea9 Fix var checks 2016-01-11 11:38:02 -05:00
Matthew Brown
4d26f20c2d Add more accurate defined var check 2016-01-11 11:05:24 -05:00
Matthew Brown
86cf60b5a9 Print notice on possible ref error 2016-01-11 09:27:34 -05:00
Matthew Brown
67ad128784 fix assignment 2016-01-08 18:34:19 -05:00