1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 12:55:26 +01:00
Commit Graph

225 Commits

Author SHA1 Message Date
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
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