Matt Brown
|
91ee4aeca3
|
Fix #4797 - sanitise assertion output of template result
|
2020-12-07 19:11:56 -05:00 |
|
Matt Brown
|
cec8d7138f
|
Fix #4782 - don’t replace closure types with upper bounds when replacing class param types
|
2020-12-05 11:58:55 -05:00 |
|
Matt Brown
|
fb88145780
|
Fix #4767 - rescan directly-affected class-interface relationships
|
2020-12-04 01:19:51 -05:00 |
|
Matt Brown
|
4d81682fdd
|
Fix #4731 - expand out class-bound generic types when evaluating instance method
|
2020-11-29 21:36:50 -05:00 |
|
Matt Brown
|
86b6d6a506
|
Fix #4733 - don’t replace template types when they’re defined on the same class
|
2020-11-29 19:12:22 -05:00 |
|
Matt Brown
|
601c1d8cd0
|
Expand out constants in param types earlier
|
2020-11-29 19:07:35 -05:00 |
|
Matt Brown
|
58b306b6e3
|
Ensure class template types are mapped to static methods where necessary
Ref #4733
|
2020-11-29 17:40:52 -05:00 |
|
Matt Brown
|
15a5bd5e29
|
Simplify storage and retrieval of extended template params
|
2020-11-29 15:05:32 -05:00 |
|
Matt Brown
|
de1fa03f77
|
Fix template type selection
|
2020-11-28 09:53:11 -05:00 |
|
Matt Brown
|
0c477da310
|
Fix test failures
|
2020-11-25 20:05:09 -05:00 |
|
Matt Brown
|
13b83e6132
|
Fix #4545 - allow intersections in more places
|
2020-11-13 09:43:30 -05:00 |
|
Matt Brown
|
2992cc73c2
|
Split out trait template tests
|
2020-11-13 08:59:55 -05:00 |
|
Matt Brown
|
3dd185e395
|
Fix #4537 - use more rigorous inerhitance for return and param types
|
2020-11-12 13:54:27 -05:00 |
|
Matt Brown
|
b7551e712a
|
Use better way to determine which signture to use
Fixes #4524
|
2020-11-11 19:22:23 -05:00 |
|
Matt Brown
|
2f7bf2a144
|
Bind lower bounds to upper bounds as well when no upper bound can be inferred
Ref #4485
|
2020-11-11 17:46:09 -05:00 |
|
Matt Brown
|
a8d7248c31
|
Fix #4524 - do better template param inheritance
|
2020-11-11 13:25:17 -05:00 |
|
Matt Brown
|
388e804ed8
|
Allow opt-in to strict return type checking
|
2020-11-05 18:20:04 -05:00 |
|
Matt Brown
|
67554dd017
|
Fix #4453 - sanitise @extends types before attempting to parse
|
2020-10-30 15:08:23 -04:00 |
|
Matt Brown
|
fce5c26600
|
Remove subpar test
|
2020-10-28 13:55:51 -04:00 |
|
Matt Brown
|
d27d86a84c
|
Fix #4422 - be aware of nested template params
|
2020-10-27 10:01:17 -04:00 |
|
Matt Brown
|
f3cc7a7f2f
|
Break apart ReflectorVisitor
|
2020-10-23 19:53:04 -04:00 |
|
Matt Brown
|
2902a8cc60
|
Fix #4326 - Prevent later remapping of properties
|
2020-10-14 21:35:57 -04:00 |
|
Matt Brown
|
4539a2f27e
|
Fix #4326 - prevent more mapping than necessary
|
2020-10-14 21:22:51 -04:00 |
|
Pol Dellaiera
|
31c924c314
|
Add more standard iterators (#4320)
* Add CachingIterator, LimitIterator, InfiniteIterator, CallbackFilterIterator, NoRewindIterator.
Signed-off-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
* Add related Iterator tests.
Signed-off-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
|
2020-10-13 11:35:49 -04:00 |
|
Matt Brown
|
fcfa746ba8
|
Fix #4310 - prevent literal class check on union
|
2020-10-12 14:45:11 -04:00 |
|
Matt Brown
|
14efde286f
|
4.x - refactor unused variable detection
This turns unused variable detection into an explicit control-flow problem, where before we had a more simplistic mark-and-sweep algorithm
|
2020-09-30 12:28:13 -04:00 |
|
orklah
|
37a2f8a33d
|
unused use statements (#4228)
|
2020-09-22 01:10:46 -04:00 |
|
Brown
|
8f8dbfbd72
|
Fix #4122 - detect yield in function arguments
|
2020-09-13 17:13:26 -04:00 |
|
orklah
|
ead107fa9e
|
More return types (#4173)
* add native return types
* redundant phpdoc
|
2020-09-12 11:24:05 -04:00 |
|
Brown
|
00ad09816f
|
Fix tests
|
2020-09-10 19:05:47 -04:00 |
|
Brown
|
92239add4d
|
Add some backwards-incompatible changes for 4.x
|
2020-08-30 11:44:14 -04:00 |
|
Brown
|
9878613594
|
Refine iterable key after is_array check
Ref #4038
|
2020-08-26 11:00:38 -04:00 |
|
Brown
|
57ac0a3310
|
Refine test for windows compat
|
2020-08-25 17:37:37 -04:00 |
|
Brown
|
59e7f69d7b
|
Fix get_class-inferred templating
|
2020-08-25 17:25:05 -04:00 |
|
Brown
|
6ab3e732fb
|
Fix #4038 - don’t remove null types unnecessarily in mixed union
|
2020-08-25 15:50:33 -04:00 |
|
Brown
|
6e1218065d
|
Preserve intersections when expanding templated types
Fixes #4043
|
2020-08-25 14:12:57 -04:00 |
|
Bruce Weirdan
|
4dcb7183f5
|
Fix windows tests (#4040)
* Fix windows tests by not mangling the expectations
* Use platform-dependent directory separator in expected messages
* fix CS
|
2020-08-22 10:00:36 -04:00 |
|
Matthew Brown
|
5c20a5295e
|
Improve solution to #3964
|
2020-08-16 13:03:30 -04:00 |
|
Matthew Brown
|
a356a43a51
|
Fix #3964 - prevent incorrect intersection of unions
|
2020-08-16 12:26:07 -04:00 |
|
m0003r
|
e81593f359
|
Localize types on magic properties (#3971)
* Fix #3949 - localize types on magic properties
* fix failing tests
* fix code style
Co-authored-by: m03r <m03r@m03r.net>
|
2020-08-10 12:45:21 -04:00 |
|
Matthew Brown
|
6085e42fc1
|
Detect mismatching param names effectively
|
2020-08-10 09:58:43 -04:00 |
|
Brown
|
afce2dc66f
|
Tighten up rules around instantiation a bit more
|
2020-08-06 10:18:55 -04:00 |
|
Brown
|
c0b0036109
|
Fix #3934 - prevent unsafe use of new static
|
2020-08-05 19:39:27 -04:00 |
|
Brown
|
1c8f9e94b1
|
Fix #3907 - allow template as types to be refined via instanceof
|
2020-07-29 17:46:45 -04:00 |
|
Brown
|
873970a4d1
|
Recursively transform template types before comparison
Fixes #3887
|
2020-07-24 14:47:24 -04:00 |
|
Brown
|
92fe9898a1
|
Fix #3879 - ensure interface templates are extended where nececssary
|
2020-07-24 11:29:36 -04:00 |
|
Brown
|
76bd5b6278
|
Refactor type comparison
|
2020-07-21 19:40:35 -04:00 |
|
Brown
|
ae89a71c84
|
Prevent false-positive comparing template to true
|
2020-07-21 12:59:50 -04:00 |
|
Brown
|
8349564cc4
|
Fix #3790 - removing false/null from template not redundant
|
2020-07-10 13:19:23 -04:00 |
|
Brown
|
ba44b952ba
|
Skip failing test
|
2020-07-10 13:08:50 -04:00 |
|