Brown
|
aa3846758e
|
Fix #3153 - narrow template types in conditional branches
|
2020-04-17 09:53:58 -04:00 |
|
Brown
|
27032e875f
|
Ensure Generator return types are enforced for a function using yield from
|
2020-04-06 09:23:13 -04:00 |
|
Brown
|
08594cf712
|
Always be cloning
|
2020-04-03 13:56:03 -04:00 |
|
Brown
|
af4a7cabe9
|
Fix #3057 and add support for @psalm-yield annotation
|
2020-04-02 22:38:10 -04:00 |
|
Brown
|
63b35fc889
|
Fix #3058 - use value for generator inference
|
2020-04-02 20:37:09 -04:00 |
|
Matthew Brown
|
194f02507d
|
Allow conditional types to reference class constants
|
2020-03-29 13:37:37 -04:00 |
|
Matthew Brown
|
5395183837
|
Use more accurate means of determining whether function did return
|
2020-03-28 23:37:42 -04:00 |
|
Matthew Brown
|
7195ea6842
|
Fix #3030 - don’t suggest return types can do more
|
2020-03-28 23:15:54 -04:00 |
|
Brown
|
4021114b04
|
Fix too-long line
|
2020-03-27 10:43:12 -04:00 |
|
Brown
|
05f8f30d8c
|
Use more specific type description
|
2020-03-27 09:45:18 -04:00 |
|
Matthew Brown
|
f94ab22a5f
|
Be better about strict inference
|
2020-03-25 09:18:49 -04:00 |
|
Matthew Brown
|
973703e396
|
Break out template param collection
|
2020-03-11 23:15:15 -04:00 |
|
Matthew Brown
|
bfb919d26a
|
Break out methods into their own classes
|
2020-03-11 23:04:52 -04:00 |
|
Matthew Brown
|
e0d555e203
|
Allow function names to passed in as strings for callable template resolution
|
2020-02-29 15:43:45 -05:00 |
|
Matthew Brown
|
3cc4c2b37e
|
Fix #2721 - only warn about deprecated classes exactly where they are used
|
2020-02-22 01:12:19 -05:00 |
|
Matthew Brown
|
d3bfb96431
|
Fix #2808 - improve yield type discernment
|
2020-02-15 10:47:07 -05:00 |
|
Matthew Brown
|
653353709a
|
Use MethodIdentifier object instead of string
|
2020-02-14 20:54:26 -05:00 |
|
Matthew Brown
|
305372e0e1
|
Add docblock return type as --diff dependency
|
2020-02-13 10:39:04 -05:00 |
|
Brown
|
d5f71bf529
|
Localise template checks to class being tested
|
2020-02-06 16:38:45 -05:00 |
|
Brown
|
15808458cc
|
Better understand nesting loops and switches
Fixes #2700
|
2020-01-27 12:17:12 -05:00 |
|
Matthew Brown
|
9fa2db1b6c
|
Move Union::getTypes to Union::getAtomicTypes
|
2020-01-04 12:20:26 -05:00 |
|
Matthew Brown
|
d7fb64bbb7
|
Fix #2349 - use function suppressed issues
|
2019-12-31 09:16:49 -05:00 |
|
Matthew Brown
|
b48021dbfd
|
Allow null return on template with null as type
Ref #2466
|
2019-12-13 21:56:43 -05:00 |
|
Brown
|
05783eb616
|
Find issues with impossible property values
|
2019-12-11 17:08:02 -05:00 |
|
Brown
|
821f3528d2
|
Fix #701 - indicate issues fixable with Psalter
|
2019-12-02 15:24:01 -05:00 |
|
Matthew Brown
|
1e3ecb5fd0
|
Fix #2387 - ensure docblock return types are checked
|
2019-11-29 11:20:37 -05:00 |
|
Matthew Brown
|
d1fbd1fa26
|
Add working arrow-functions implementation
|
2019-11-26 23:52:26 -05:00 |
|
Brown
|
0bcb7863f3
|
Use better system for storing inferred types and assertions
|
2019-11-25 11:44:54 -05:00 |
|
Brown
|
b3a15e8016
|
Fix #2349 - allow suppression of InvalidReturnType for no-return
|
2019-11-14 14:33:07 -05:00 |
|
Bruce Weirdan
|
79acbadfad
|
Added InvalidParent issue (#2320)
Refs vimeo/psalm#2304
|
2019-11-11 00:21:43 -05:00 |
|
Brown
|
a8ed6ba9c4
|
Fix #2308 - prevent specialisation from bound params
|
2019-11-06 11:20:51 -05:00 |
|
Matthew Brown
|
8f421dc0bb
|
Refactor template calculation out from Psalm\Type\Union
|
2019-11-03 21:27:40 -05:00 |
|
Matthew Brown
|
8d7cdeb8ec
|
Fix #2275 - allow extended templated types to bypass mixed type coercion rules
|
2019-10-29 10:07:34 +00:00 |
|
Matthew Brown
|
3bb0016434
|
Fix #2251 - add support for yielding from lists
|
2019-10-20 12:09:04 -04:00 |
|
Brown
|
89752b8574
|
Support ext-ds and fix offset count
|
2019-10-18 11:35:24 -04:00 |
|
Brown
|
dda68228f3
|
Fix #2247 - don’t crash when yielding from class with too many template params
|
2019-10-18 11:01:16 -04:00 |
|
Matthew Brown
|
5cdc3aa6d4
|
Remove tautological statement
|
2019-10-08 21:39:28 -04:00 |
|
Brown
|
16c33d1565
|
Add support for list type
Fixes #2209
|
2019-10-08 18:44:46 -04:00 |
|
Matthew Brown
|
b4178c7ee1
|
Fix #2013 - don’t add more specific return type when @inheritdoc present
|
2019-09-01 16:00:52 -04:00 |
|
Matthew Brown
|
600999a3a8
|
Add better typing
|
2019-08-14 00:47:57 -04:00 |
|
Matthew Brown
|
b2c0993cdc
|
Add framework for taint analysis to Psalm
Ref #611
|
2019-08-04 10:37:36 -04:00 |
|
Matthew Brown
|
f432cc0884
|
Fix #1846 - warn about missing interface return types
|
2019-07-28 19:03:12 -04:00 |
|
Matthew Brown
|
1ae9ea5fed
|
Use object instead of by-ref params
|
2019-07-10 01:35:57 -04:00 |
|
LeSuisse
|
f29826b958
|
Fully qualify constants and function calls (#1849)
This should give a small performance boost.
Part of #1837.
The change is enforced via phpcs and can be autofixed
with phpcbf.
|
2019-06-26 16:52:29 -04:00 |
|
Matthew Brown
|
42cc201e9e
|
Fix #1698 - better understand inherited docblock return types
|
2019-06-08 09:44:22 -04:00 |
|
Matthew Brown
|
b0678bdc74
|
Improve treatment of key-of
Ref #1698
|
2019-06-07 21:27:50 -04:00 |
|
Matthew Brown
|
e512bc7ef6
|
Fix #1693 - use instanceof instead of assert
|
2019-05-27 08:34:03 -04:00 |
|
Matthew Brown
|
790bc53bfd
|
Fix #1681 - interpret parent annotation properly
|
2019-05-25 11:51:09 -04:00 |
|
Matthew Brown
|
cfff66efb7
|
Fix #1634 - don’t remove existing return types when preventing bc breaks
|
2019-05-15 00:34:56 -04:00 |
|
Ilija Tovilo
|
2c36a10ac8
|
Fix #1622 - add allow-backwards-incompatible-changes flag to psalter
The flag prevents psalter from adding native return types
|
2019-05-13 17:59:31 -04:00 |
|