Brown
|
85f34f2aca
|
Add defining class and increas string length
|
2019-03-12 12:58:04 -04:00 |
|
Brown
|
e22f216a5b
|
Allow callable|array to be coerced to an array
|
2019-03-11 11:39:33 -04:00 |
|
bugreportuser
|
57a4522ee7
|
Flesh out callable arg types
|
2019-03-07 23:24:50 -05:00 |
|
Brown
|
a8ea907d6c
|
Fix #1432 - allow callable to be coerced to callable-array
|
2019-03-06 18:24:59 -05:00 |
|
Brown
|
ae69695f89
|
Prevent tests in PHP 7.1
|
2019-03-05 18:27:25 -05:00 |
|
Brown
|
cece1def30
|
Fix #1427 - allow extended methods to be used as callables
|
2019-03-05 18:02:42 -05:00 |
|
Bruce Weirdan
|
9bdc9f774f
|
More provider typing
|
2019-03-02 08:43:19 -05:00 |
|
Matthew Brown
|
3d4710c9d3
|
Add better checks for invalid array_map/array_filter args
|
2019-02-22 00:50:41 -05:00 |
|
Matthew Brown
|
cd2eb3edb9
|
Fix #1361 - flesh out array map return type before using
|
2019-02-19 01:25:36 -05:00 |
|
Matthew Brown
|
40a91eab6e
|
Fix #1339 - no crash when using self/static/parent in closure
|
2019-02-17 13:14:59 -05:00 |
|
Brown
|
d70e29508f
|
Don’t fatal error when callable class does not exist
|
2019-02-15 12:02:44 -05:00 |
|
Matthew Brown
|
8bcb3a76e7
|
Add callable class
|
2019-02-11 01:57:28 -05:00 |
|
Matthew Brown
|
c58100e3af
|
Fix #1313 - don’t allow mixed function calls
|
2019-02-10 16:15:52 -05:00 |
|
Matthew Brown
|
509709d6bc
|
Fix #1267 - flesh out self static property types
|
2019-02-01 08:59:01 -05:00 |
|
Matthew Brown
|
79544eb289
|
Fix comment analysis for callable(): returntype
|
2019-02-01 07:50:48 -05:00 |
|
Brown
|
661c7ee707
|
Fix #1256 - detect illegal closure use
|
2019-01-30 11:36:21 -05:00 |
|
Brown
|
59baa53b3d
|
Fix #1229 - only check for inheritance if class exists
|
2019-01-23 13:02:07 -05:00 |
|
Matthew Brown
|
1c5f6963a6
|
Skip callable tests for PHP 7
|
2019-01-21 18:01:15 -05:00 |
|
Matthew Brown
|
5cc3fe6b67
|
Fix #760 - coerce __invoke method to closure
|
2019-01-21 17:08:12 -05:00 |
|
Matthew Brown
|
590bea305d
|
Fix #1218 - find issues with bad callables
|
2019-01-19 19:49:58 -05:00 |
|
Matthew Brown
|
bf8f76671b
|
Don’t crash when suppressing UndefinedClass with bad params
|
2019-01-05 12:59:12 -05:00 |
|
Matthew Brown
|
e5559e3012
|
Allow callables to be plain objects, and vice versa
Previously Psalm required they be *known* objects
|
2019-01-04 08:04:26 -05:00 |
|
Matthew Brown
|
f0969cb3bb
|
Fix getId calls on callable return types
Ref #1119
|
2018-12-08 14:10:06 -05:00 |
|
Matthew Brown
|
4688b25fd9
|
Move internal classes to own namespace
|
2018-11-12 11:20:59 -05:00 |
|
Brown
|
e6cf9e96df
|
Add support for class concats when checking for callables
|
2018-10-17 13:22:57 -04:00 |
|
Matt Brown
|
dce8d14e1b
|
Fix syntax errors in tests
|
2018-09-17 12:15:45 -04:00 |
|
Matt Brown
|
6542a0a784
|
Fix #810 - convert void array map return to null
|
2018-06-11 17:00:26 -04:00 |
|
Matt Brown
|
d35a3996fa
|
Fix #811 - improve handling of closure vars
|
2018-06-11 16:54:20 -04:00 |
|
Matthew Brown
|
3a3c10d044
|
Improve handling of ? before type
|
2018-06-08 23:54:07 -04:00 |
|
Matthew Brown
|
62486c1adb
|
Fix #772 - allow closures to be defined on a single line
|
2018-05-25 18:42:39 +01:00 |
|
Matthew Brown
|
7bc426268a
|
Only run test in PHP 7.1
|
2018-05-20 13:20:15 -04:00 |
|
Matthew Brown
|
cdcba6152d
|
Add ability to infer return type for method calls
|
2018-05-20 12:47:26 -04:00 |
|
Matthew Brown
|
e50ef8bf03
|
Support __invoke return types
|
2018-05-08 19:49:25 -04:00 |
|
Matt Brown
|
4f678f5f99
|
Fix bad comparisons
|
2018-05-08 17:42:02 -04:00 |
|
Matthew Brown
|
1d6e75b06e
|
Fix #662 - allow callable void return types to be widened
|
2018-04-11 20:29:16 -04:00 |
|
Matt Brown
|
fe46e4e63d
|
Make tests a bit more specific
|
2018-04-10 15:47:04 -04:00 |
|
Matt Brown
|
fe033f1b6c
|
Fix #663 - infer array return types for closures
|
2018-04-10 13:05:31 -04:00 |
|
Matthew Brown
|
5915718013
|
Fix #660 - always refer closure types
|
2018-04-09 22:00:36 -04:00 |
|
Matthew Brown
|
7e3a1ec9c3
|
Add support for checking callable/closure param types
Fixes #580
|
2018-04-08 12:03:35 -04:00 |
|
Matthew Brown
|
797cab22f8
|
Fix support for Closure(int):int annotation
|
2018-04-08 10:02:41 -04:00 |
|
Matthew Brown
|
44cccb5b3d
|
Fix build
|
2018-03-27 01:05:11 -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
|
49820b06dd
|
Prevent variadic args disrupting required closure param count
|
2018-03-21 09:04:07 -04:00 |
|
Matt Brown
|
24490aac0e
|
Fix #609 - fix callable coercion in reconciliation step
|
2018-03-20 13:24:16 -04:00 |
|