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

2501 Commits

Author SHA1 Message Date
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
Matthew Brown
ccc30163c2 Add assertive test 2016-07-07 18:10:01 -04:00
Matthew Brown
a8501be75f Allow method chaining 2016-06-30 00:27:47 -04:00
Matthew Brown
4f8fa010a5 Allow more characters in classnames 2016-06-30 00:27:33 -04:00
Matthew Brown
d59739d9c7 use safer check for ending statments 2016-06-29 18:30:27 -04:00
Matthew Brown
382fcb3a07 Add new tests for functionality 2016-06-29 18:15:51 -04:00
Matthew Brown
e0c16308a8 Improve switch checking (again) and fix null arg types 2016-06-29 18:10:41 -04:00
Matthew Brown
a93c54da0d Improve type resolution of params 2016-06-29 16:42:30 -04:00
Matthew Brown
2e4e52f0f3 Reduce nesting 2016-06-29 10:57:15 -04:00
Matthew Brown
59acb5cfb7 Make sure to return bool where necessary 2016-06-29 10:57:02 -04:00
Matthew Brown
50aff4bcb7 Fix combination of type assertions 2016-06-28 15:43:21 -04:00
Matthew Brown
4bd0e7c90f Use the clever methods when evaluating expression 2016-06-28 15:36:35 -04:00
Matthew Brown
35e08f5cd2 Fix if/ternary negation 2016-06-28 15:28:05 -04:00
Matthew Brown
9662f88631 Fix erroneous recursion 2016-06-28 15:25:28 -04:00
Matthew Brown
5b182fecea Support absolute files 2016-06-28 14:28:45 -04:00
Matthew Brown
71eea36b9c Improve switch type analysis 2016-06-28 13:56:44 -04:00
Matthew Brown
638c2999e3 Reove PHP 5.6 features 2016-06-27 15:10:13 -04:00
Matthew Brown
fdc4b0703f Only set to mixed if not yet set 2016-06-27 14:30:33 -04:00
Matthew Brown
16fda10e67 Only show variable errors where applicable 2016-06-27 13:22:16 -04:00
Matthew Brown
bd694459f3 Prepopulate all object properties 2016-06-27 10:46:27 -04:00