Matthew Brown
|
1f777bec0e
|
Capture non-empty-string from concat more effectively
|
2020-01-07 01:44:12 -05:00 |
|
Brown
|
083fbc55e1
|
Add more specific UndefinedMagicMethod issue
|
2020-01-06 14:23:33 -05:00 |
|
Matthew Brown
|
9fa2db1b6c
|
Move Union::getTypes to Union::getAtomicTypes
|
2020-01-04 12:20:26 -05:00 |
|
Brown
|
ca1e65b29b
|
Handle iterators better
|
2020-01-02 10:41:43 -05:00 |
|
Matthew Brown
|
4630d19d45
|
Fix psalm running
|
2020-01-01 12:49:12 -05:00 |
|
Matthew Brown
|
5bd9b988fb
|
Fix #2494 - don’t use extended name for anonymous classes
|
2019-12-31 08:46:52 -05:00 |
|
Matthew Brown
|
44441042f0
|
Fix style things
|
2019-12-30 11:07:04 -05:00 |
|
Matthew Brown
|
19faa31865
|
Allow assertions on nested properties
|
2019-12-30 10:01:31 -05:00 |
|
Matthew Brown
|
c79ba0b09e
|
Include non-empty-string type in more places
|
2019-12-30 07:25:36 -05:00 |
|
Matthew Brown
|
2b88261ecd
|
Fix templated assertion cc @vasily-kartashov
This is a good reason for you to skip 3.8.1
|
2019-12-29 11:57:54 -05:00 |
|
Matthew Brown
|
55c2f7faa2
|
Fix #2508 - don’t replace templated types with generic ones inside own function
|
2019-12-28 18:38:02 -05:00 |
|
Matthew Brown
|
ce9435da19
|
Fix #2521 - use correct context class when analysing trait
|
2019-12-28 15:56:26 -05:00 |
|
Matthew Brown
|
982fe627e0
|
Fix #2515 - allow chained assertions on @psalm-mutation-free methods
|
2019-12-27 16:44:55 -05:00 |
|
Matthew Brown
|
4c8730c5a3
|
Improve handling of unset array, ensuring that keys don’t persevere
|
2019-12-22 01:42:39 +00:00 |
|
Matthew Brown
|
946b4f73e6
|
Fix #2493 - don’t crash when provided function doesn’t exist
|
2019-12-21 00:34:31 +00:00 |
|
Matthew Brown
|
a4191171bf
|
Fix #2483 - treat intersecting PHPDocs from interfaces better
|
2019-12-20 01:42:57 +00:00 |
|
Matthew Brown
|
9d8ca08fb9
|
Fix #2479 - analyse undefined function arguments too
|
2019-12-18 16:37:48 +00:00 |
|
Brown
|
e551b24843
|
Classes that just reference themselves aren’t used
|
2019-12-16 11:46:10 -05:00 |
|
Matthew Brown
|
ce2e5b27c0
|
Fix #2470 - only parameterise constructors according to inherited params
|
2019-12-14 11:38:09 -05:00 |
|
Matthew Brown
|
c7a3ba9e4a
|
Refine callable type
|
2019-12-14 10:47:20 -05:00 |
|
Brown
|
6d02aa86e8
|
Reconcile string emptiness a bit better
|
2019-12-13 15:51:54 -05:00 |
|
Matthew Brown
|
6ff312fe13
|
Fix test
|
2019-12-12 11:43:03 -05:00 |
|
Matthew Brown
|
1df77a9f43
|
Only mark vars as reconcilable if they can be memoized
|
2019-12-12 11:24:47 -05:00 |
|
Matthew Brown
|
f45014d403
|
Fix #2460 - allow assertions on immutable method calls
|
2019-12-12 09:32:33 -05:00 |
|
Brown
|
4b715cdbff
|
Fix #2456 - ignore UnusedFunctionCall when function asserts
|
2019-12-11 10:13:22 -05:00 |
|
Matthew Brown
|
e3d108ebd9
|
Fix #2439 - fix templating of class-string<T>::returnsStatic
|
2019-12-08 21:12:25 -05:00 |
|
Matthew Brown
|
02fbf12337
|
Only warn about clauses in the currently-scanned conditional
|
2019-12-08 16:35:56 -05:00 |
|
Matthew Brown
|
f0cd7eab04
|
Remove redundant calls
|
2019-12-07 14:05:43 -05:00 |
|
Matthew Brown
|
3c52102388
|
Fix #2438 - improve handling of get_class calls
|
2019-12-07 14:03:20 -05:00 |
|
Matthew Brown
|
df395944f8
|
Change how $changed_var_ids is communicated
|
2019-12-07 01:23:35 -05:00 |
|
Brown
|
96c4eeec98
|
When calling magic method clone node info
|
2019-11-25 13:08:38 -05:00 |
|
Brown
|
0bcb7863f3
|
Use better system for storing inferred types and assertions
|
2019-11-25 11:44:54 -05:00 |
|
Matthew Brown
|
2369bac943
|
Preserve self refs where possible
|
2019-11-16 19:59:08 -05:00 |
|
Brown
|
55bf6a2db3
|
Migrate static return types
|
2019-11-15 16:50:43 -05:00 |
|
Brown
|
4747ba709a
|
Migrate more things
|
2019-11-15 15:34:25 -05:00 |
|
Brown
|
5e17a9af10
|
Fix #2348 - ensure all functions and methods return some type
|
2019-11-14 14:44:29 -05:00 |
|
Brown
|
895737d8be
|
Fix style
|
2019-11-08 12:49:53 -05:00 |
|
Brown
|
ac6256e645
|
Fix #2312, improve understanding of template replacement
|
2019-11-08 11:56:41 -05:00 |
|
Brown
|
3d7b34e7f6
|
Fix #2273 - ensure all template params are bound
|
2019-11-07 11:03:41 -05:00 |
|
Matthew Brown
|
5faebe2674
|
Fix templated assertion handling for static methods
|
2019-11-04 05:31:45 -05:00 |
|
Matthew Brown
|
8f421dc0bb
|
Refactor template calculation out from Psalm\Type\Union
|
2019-11-03 21:27:40 -05:00 |
|
Matthew Brown
|
050eb82f04
|
Fix #2290 - detect call on void type
|
2019-11-01 13:05:28 +00:00 |
|
Matthew Brown
|
22e35a7233
|
Improve message for mixed method call
|
2019-10-20 11:13:23 -04:00 |
|
Matthew Brown
|
0a35c9cd6a
|
Remove unnecessary computation
|
2019-10-19 23:03:59 -04:00 |
|
Matthew Brown
|
5910a362ea
|
Improve report output of taint analysis
|
2019-10-19 17:59:10 -04:00 |
|
Brown
|
5e649f684c
|
Fix erroneous return type resolution
|
2019-10-14 17:10:30 -04:00 |
|
Brown
|
3f837a3493
|
Fix #2192 - allow static return value on templated object
|
2019-10-11 12:02:41 -04:00 |
|
Matthew Brown
|
14adc9b491
|
Fix phpcs
|
2019-09-29 16:04:32 -04:00 |
|
Matthew Brown
|
4ec22cffca
|
Fix #2184 - execute __invoke methods explicitly
|
2019-09-29 16:01:33 -04:00 |
|
Brown
|
a6baa2d04c
|
Allow callables to be understood as pure
Fixes #2112
|
2019-09-09 12:11:04 -04:00 |
|