Matthew Brown
|
17541b415f
|
Fix #1191 - allow Psalm to check against different versions of PHP
|
2019-02-07 12:25:57 -05:00 |
|
Brown
|
0bb5143efd
|
Fix #1254 - merge literal and class-strings types into string
|
2019-01-29 10:34:31 -05:00 |
|
Matthew Brown
|
89999fd554
|
Add suppport for float enums
Fixes #1099
|
2019-01-27 18:34:13 -05:00 |
|
Matthew Brown
|
672b768cc5
|
Fix null order
|
2019-01-27 17:27:12 -05:00 |
|
Matthew Brown
|
45cf35350c
|
Add non-internal endpoint for parsing types
|
2019-01-27 17:26:32 -05:00 |
|
Matthew Brown
|
d8783c277f
|
Add support for getPsalmTypeFromReflectionType
|
2019-01-27 17:16:22 -05:00 |
|
Matthew Brown
|
4ec7903e8b
|
Fix #390 - add support for object{foo:int, bar:string} annotation
|
2019-01-18 00:56:24 -05:00 |
|
Matthew Brown
|
dc2f4929d4
|
Add changes from PHPStan, thanks @voku
|
2019-01-08 21:44:50 -05:00 |
|
Matthew Brown
|
9d8c2792e2
|
Add array-key type and improve general type handling
Fixes #1144
|
2019-01-05 00:15:53 -05:00 |
|
Matthew Brown
|
c4d024a72d
|
Check variable static calls
Fixes #1142 and #1160
|
2019-01-02 09:00:45 -05:00 |
|
Matthew Brown
|
f0969cb3bb
|
Fix getId calls on callable return types
Ref #1119
|
2018-12-08 14:10:06 -05:00 |
|
Brown
|
4e183abdc6
|
Add better message when reconciling fails with bad result
Ref #1114
|
2018-12-05 10:36:42 -05:00 |
|
Brown
|
0254322bed
|
Migrate Codebase-namespaced and FileManipulation-namespaced classes to internals
|
2018-11-12 11:20:59 -05:00 |
|
Matthew Brown
|
8354b6e055
|
Fix #1063 with removal of unnecessary code
|
2018-11-06 08:53:22 -05:00 |
|
Matt Brown
|
bafd3cde1f
|
Fix #983 - allow more than two types to be intersected
|
2018-09-07 11:09:07 -04:00 |
|
Matthew Brown
|
44c742c849
|
Fix #976 - make sure misplaced { doesn’t halt execution
|
2018-09-06 00:41:07 -04:00 |
|
Matthew Brown
|
3e920b1227
|
Fix unexpected method with return type
|
2018-09-05 22:40:52 -04:00 |
|
Matthew Brown
|
e6d1a44a59
|
Fix #974 - fix handling of brackets
|
2018-09-05 22:36:32 -04:00 |
|
Matt Brown
|
7dd3273a62
|
Fix #959 - allow nullable followed by parentheses
|
2018-08-29 16:03:16 -04:00 |
|
Matthew Brown
|
dbde36b1d1
|
Add missing return type
|
2018-06-30 14:25:32 -04:00 |
|
Matthew Brown
|
745acaea71
|
Allow bracketing as part of union type
Ref #854
|
2018-06-30 13:09:05 -04:00 |
|
Matthew Brown
|
3891b08fc2
|
Fix #812 - deal with errant colon without crashing
|
2018-06-12 09:11:13 -04:00 |
|
Matt Brown
|
54893fdd55
|
Fix #808 - detect badly-placed ampersand early
|
2018-06-11 17:23:28 -04:00 |
|
Matthew Brown
|
3a3c10d044
|
Improve handling of ? before type
|
2018-06-08 23:54:07 -04:00 |
|
Matt Brown
|
a30d229040
|
Fix issue with slashes after ? in type
|
2018-05-21 12:55:44 -04:00 |
|
Matthew Brown
|
228337415b
|
Fix #761 - add support for class constants in enums
|
2018-05-21 00:46:56 -04:00 |
|
Matthew Brown
|
6250c2a14c
|
Fix #16 - add support for enums
|
2018-05-20 17:19:53 -04:00 |
|
Matt Brown
|
8b9753a235
|
Fix parsing of nested callable without args
|
2018-04-20 15:22:48 -04:00 |
|
Matt Brown
|
907f741c7b
|
Fix Psalm errors in TypeParseTest
|
2018-04-18 19:04:06 -04:00 |
|
Matt Brown
|
41e2d9ef58
|
Bind callable ): stronger than |
|
2018-04-18 19:00:08 -04:00 |
|
Matt Brown
|
8c34c3d653
|
Support empty callable returning callable
|
2018-04-18 13:23:48 -04:00 |
|
Matthew Brown
|
7345a44494
|
Fix callable parse issue
|
2018-04-15 18:16:31 -04:00 |
|
Matthew Brown
|
0b95f1017e
|
Fix issues with callmap callable types
|
2018-04-08 12:57:56 -04:00 |
|
Matt Brown
|
6d572096d6
|
Prohibit bad characters from types
|
2018-04-05 14:11:57 -04:00 |
|
Matthew Brown
|
7a0c7f4d1e
|
Improve handling of ||
Ref #630
|
2018-03-29 02:20:19 -04:00 |
|
Matthew Brown
|
211b87ce8d
|
Add test for empty callable
|
2018-03-28 10:53:26 -04:00 |
|
Matt Brown
|
3213695c95
|
Fix off-by-one error
Fixes #625
|
2018-03-27 14:43:39 -04:00 |
|
Matthew Brown
|
fb802540d6
|
Fix variadic format cc @TysonAndre and allow callable param types
Ref #580
|
2018-03-27 00:12:41 -04:00 |
|
Matthew Brown
|
58115599a1
|
Add support for callable(...) syntax
Ref #580
|
2018-03-26 22:13:10 -04:00 |
|
Matthew Brown
|
a96ce89e9f
|
Allow arbitrary bracketing of types
|
2018-03-22 22:28:06 -04:00 |
|
Matthew Brown
|
c8fe9e89f3
|
Fix parsing of array{a:int}[]
Fixes #614
|
2018-03-22 21:21:04 -04:00 |
|
Matt Brown
|
cc3aafe4c4
|
Improve intersection type parsing
|
2018-03-22 17:55:36 -04:00 |
|
Matthew Brown
|
3f90bceabf
|
Use objects for type parsing
|
2018-03-20 20:26:58 -04:00 |
|
Matthew Brown
|
6b793db5c6
|
Allow some intersection types
Fixes #600 Ref #594
|
2018-03-18 13:57:28 -04:00 |
|
Matthew Brown
|
10d18481a2
|
Add syntax support for optional array types
Ref #458
|
2018-03-16 23:37:10 -04:00 |
|
Matt Brown
|
850998ed1a
|
Add class-string type for enforcing use of ::class constants
|
2018-03-05 16:06:06 -05:00 |
|
Matthew Brown
|
0e6006deda
|
Fix #328 and allow single-entry object-like shorthand
|
2017-12-18 22:07:52 -05:00 |
|
Matthew Brown
|
9d025fad8f
|
Only replace ? where appropriate
|
2017-11-20 00:32:40 -05:00 |
|
Matt Brown
|
024bcbc371
|
Fix #239 - warn about bad brackets
|
2017-10-12 14:02:06 -04:00 |
|
Matthew Brown
|
d6909193ea
|
Add additional formatting changes
|
2017-05-26 20:05:57 -04:00 |
|