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

620 Commits

Author SHA1 Message Date
Matthew Brown
9cb7a5feeb Fix #14 - add support for checking too many and too few arguments 2016-07-29 14:48:04 -04:00
Matthew Brown
347159dc7e Remove skip-scripts 2016-07-26 17:32:43 -04:00
Matthew Brown
2a2b5f7efc Add psalm bin folder 2016-07-26 15:12:44 -04:00
Matthew Brown
4a13f669d8 Update path to file 2016-07-26 15:03:43 -04:00
Matthew Brown
f45e7c7539 Only load autoloader if provided 2016-07-26 15:03:43 -04:00
Matthew Brown
6b3fe14f1e Allow specification of custom autoloaders 2016-07-26 15:03:43 -04:00
Matthew Brown
c4a222171b Fix undefined var name 2016-07-26 15:03:43 -04:00
Matthew Brown
9718893232 Exit early if parent class cannot be found 2016-07-26 15:03:43 -04:00
Matthew Brown
c47817fd26 Update psalm.xml 2016-07-26 00:58:36 -04:00
Matthew Brown
0dac8ff0b2 Update psalm.xml 2016-07-26 00:58:23 -04:00
Matthew Brown
7701a2ec23 Change config filename 2016-07-25 18:39:36 -04:00
Matthew Brown
df28d24803 Change name to Psalm 2016-07-25 18:37:44 -04:00
Matthew Brown
7b20c032b3 Test coolness 2016-07-25 18:31:03 -04:00
Matthew Brown
c32179f1a1 Improve type adjustment in switch statements 2016-07-25 18:30:49 -04:00
Matthew Brown
1ebe333bb2 Fix self-checking errors 2016-07-25 15:05:58 -04:00
Matthew Brown
08dd92ac00 Add numeric type support to properties 2016-07-25 12:03:21 -04:00
Matthew Brown
37e3e9d85a Protect implements checks 2016-07-25 09:23:38 -04:00
Matthew Brown
53f0e6ea8b Add case-sensitive class logging 2016-07-25 09:02:30 -04:00
Matthew Brown
967d3c8503 Add checks to prevent special types being tested as classes 2016-07-25 00:31:29 -04:00
Matthew Brown
f3d4e35a52 Add gotchas 2016-07-25 00:12:02 -04:00
Matthew Brown
e35c328e89 We can do more with boolean ors 2016-07-24 23:40:53 -04:00
Matthew Brown
bd90dd7ee9 Add better checks for subclassed type comparison 2016-07-24 23:40:23 -04:00
Matthew Brown
ef1d662882 Memoize common reflection tasks 2016-07-24 23:38:52 -04:00
Matthew Brown
70462033c1 Add mo tests 2016-07-24 18:02:15 -04:00
Matthew Brown
0e77403625 Fix generic switch checks 2016-07-24 18:02:03 -04:00
Matthew Brown
94b7e0b01f Always return after UndefinedClass and UndefinedMethod issues 2016-07-24 17:10:16 -04:00
Matthew Brown
c195f48e35 Make sure generic type params are always unions 2016-07-24 17:08:40 -04:00
Matthew Brown
8844bd0c1e Do incremental processing of statements 2016-07-24 17:06:54 -04:00
Matthew Brown
03693e5cb8 Allow issue suppression in classchecker 2016-07-24 17:06:36 -04:00
Matthew Brown
479e93fd56 Improve return type checks on generic functions 2016-07-24 16:21:42 -04:00
Matthew Brown
94702bd914 Unify check method call format 2016-07-23 10:58:53 -04:00
Matthew Brown
079175532b Add deprecated method checks and issue suppression 2016-07-22 13:29:46 -04:00
Matthew Brown
840adbc4ce Fix fleshing out of variable type 2016-07-18 19:04:51 -04:00
Matthew Brown
0a7f39715c Add support for enumerating empty collections 2016-07-18 18:17:47 -04:00
Matthew Brown
fb51ef6d4c Update name here, too 2016-07-18 18:06:20 -04:00
Matthew Brown
0909d48448 Change the name 2016-07-18 16:46:44 -04:00
Matthew Brown
13f35914c2 Do not die when reflected class cannot be loaded 2016-07-13 11:19:07 -04:00
Matthew Brown
c7dc5dd9f9 Add support for numeric type 2016-07-13 11:18:07 -04:00
Matthew Brown
00a6a54cf5 Allow empty arrays to change type after block 2016-07-12 01:28:41 -04:00
Matthew Brown
ddd8f991a9 Fix Object test 2016-07-12 00:53:36 -04:00
Matthew Brown
8e32c2eed6 Move methods around and improve scalar type handling 2016-07-12 00:50:16 -04:00
Matthew Brown
5ab4d0aa84 Allow support for generic object type 2016-07-11 20:11:00 -04:00
Matthew Brown
f2a53fa463 Add InvalidScalarArgument issue to warn about bad casts 2016-07-11 19:58:37 -04:00
Matthew Brown
24300cc8f6 Suppress mixed method call warnings 2016-07-11 19:57:39 -04:00
Matthew Brown
32f07fd823 Only update type from docblock if it gives more info 2016-07-11 19:57:01 -04:00
Matthew Brown
6e2fc6141a Add more robust fix for nullable kludge 2016-07-11 10:19:06 -04:00
Matthew Brown
04be1fb50e Add slight kludge if method is nullable 2016-07-11 10:15:32 -04:00
Matthew Brown
348e06ffb9 Fix treatment of param types 2016-07-10 16:09:09 -04:00
Matthew Brown
855ffbd9c1 Suppress mixed method call issues by default 2016-07-07 19:40:00 -04:00
Matthew Brown
70a92e006d Check for mixed method calls 2016-07-07 19:38:33 -04:00