Brown
|
5ed49c0c03
|
Fixed #1848 - allow static class strings to be compared
|
2019-06-26 15:11:16 -04:00 |
|
Matthew Brown
|
70a1696a04
|
Limit template expansion of possibly-mixed vars
|
2019-06-25 23:43:25 -04:00 |
|
Brown
|
904267638f
|
Add extra isset test
|
2019-06-25 16:47:14 -04:00 |
|
Matthew Brown
|
c0b86bd40d
|
Use uppercase template_type_extends keys
|
2019-06-24 23:43:04 -04:00 |
|
Brown
|
23a3b0dbc0
|
Fix #1842 - prevent bad templated object returns
|
2019-06-24 19:07:29 -04:00 |
|
Brown
|
69b05f5052
|
Improve handling of parent method calls
|
2019-06-24 17:45:10 -04:00 |
|
Matthew Brown
|
766b1b0384
|
Add reference, not type
Ref #1835
|
2019-06-23 09:10:43 -04:00 |
|
Matthew Brown
|
37ffd6dad6
|
Fix #1832 - add references to docblock types
|
2019-06-23 08:47:49 -04:00 |
|
Matthew Brown
|
ec104be6e2
|
Add offset to atomic type
Ref #1832
|
2019-06-23 00:19:41 -04:00 |
|
Brown
|
ac06ea659e
|
Fix #1825 - improve behaviour of callable reconciliation
|
2019-06-20 19:46:42 -04:00 |
|
Brown
|
0246f600f4
|
Fix #1813 - convert object&Foo into Foo after template resolution
|
2019-06-19 12:00:19 -04:00 |
|
Hugo Alliaume
|
37d719ed67
|
Fix readability for object-like types when running psalter (#1708)
* chore: update tests
* fix: better readability for object-like types
* test: add tests for nested array return type
* Improve spacing
|
2019-06-16 09:20:49 -04:00 |
|
Matthew Brown
|
42bafc1e64
|
Fix #1775 - allow true|false to be accepted as bool
|
2019-06-13 08:55:36 -04:00 |
|
Matthew Brown
|
b0678bdc74
|
Improve treatment of key-of
Ref #1698
|
2019-06-07 21:27:50 -04:00 |
|
Brown
|
c81a9a8737
|
Fix #1742 - allow is_countable assertion to mean something
|
2019-06-07 15:49:10 -04:00 |
|
Matthew Brown
|
20c66f693e
|
Fix handling of class const types
|
2019-06-06 18:46:40 -04:00 |
|
Matthew Brown
|
4a954acf84
|
Improve printing of literal types
|
2019-06-06 17:39:14 -04:00 |
|
Matthew Brown
|
b091ceaa9a
|
Fix union of literal class string
|
2019-06-06 17:18:24 -04:00 |
|
Brown
|
2e7d26af6a
|
Replace object-like types too
|
2019-06-06 13:28:56 -04:00 |
|
Brown
|
f309c755f8
|
Add ability to move classes
|
2019-06-05 08:50:24 -04:00 |
|
Brown
|
c7f35c263c
|
Fix #1737 properly
|
2019-06-04 14:08:49 -04:00 |
|
Brown
|
d34c1a94db
|
Fix #1737 - treat !isset($x, $y) properly
|
2019-06-04 13:43:09 -04:00 |
|
Marco Pivetta
|
624c7bc6fb
|
Renamed Fn to TFn to allow for PHP 7.4 compatibility
|
2019-06-03 08:21:25 -04:00 |
|
Matthew Brown
|
0ad57695a8
|
Clone atomic extra types as well
|
2019-06-02 09:52:57 -04:00 |
|
Matthew Brown
|
01f4e39719
|
Remove redundant code from toNamespacedString
|
2019-05-31 20:21:47 -04:00 |
|
Matthew Brown
|
4002504ff0
|
Allow trait_exists to inform type for ReflectionClass
|
2019-05-31 09:43:46 -04:00 |
|
Matthew Brown
|
962d8f30a1
|
Fix #710 - treat keyed intersections of iterators properly
|
2019-05-29 19:58:54 -04:00 |
|
Matthew Brown
|
4f48c6388d
|
Fix #1700 - interpret false===($a || $b) correctly
|
2019-05-29 07:47:31 -04:00 |
|
Brown
|
9b508d932d
|
Improve specificity of explicit negated expression checks
|
2019-05-28 19:15:47 -04:00 |
|
Brown
|
c9cfa7f010
|
Add error when reconciling impossible types
|
2019-05-28 18:33:23 -04:00 |
|
Brown
|
201030928d
|
Fix case insensitive string comparison
|
2019-05-28 15:46:56 -04:00 |
|
Brown
|
b19d256b14
|
Add better error message for templated key-of param
|
2019-05-28 14:23:22 -04:00 |
|
Brown
|
81b6a6f496
|
Support assertions on class constants
|
2019-05-28 12:31:46 -04:00 |
|
Brown
|
a89892a41f
|
Prevent more broad template types being captured
|
2019-05-28 11:54:07 -04:00 |
|
Brown
|
7df88197ef
|
Fix #762 - support key-of and value-of types
|
2019-05-28 10:44:04 -04:00 |
|
Matthew Brown
|
a001616753
|
Remove object-like array under falsy assertion when it contains a sure key
|
2019-05-28 00:32:27 -04:00 |
|
Brown
|
cf02e9c22c
|
Fix access on matched T[K]
|
2019-05-27 18:36:34 -04:00 |
|
Matthew Brown
|
b2fb80978e
|
Fix assertions with single templated class-string
|
2019-05-27 12:17:20 -04:00 |
|
Matthew Brown
|
97eab1a2e6
|
Fix bad string key assertion
|
2019-05-27 10:10:21 -04:00 |
|
Matthew Brown
|
442c307b30
|
Prevent removing null from single null type
|
2019-05-27 00:12:57 -04:00 |
|
Matthew Brown
|
052599192a
|
Fix #1680 - narrow nullable templated matching
|
2019-05-25 12:44:47 -04:00 |
|
Matthew Brown
|
790bc53bfd
|
Fix #1681 - interpret parent annotation properly
|
2019-05-25 11:51:09 -04:00 |
|
Matthew Brown
|
62dacaf97b
|
Also replace templated intersection types that aren’t direct templates
Ref #1675
|
2019-05-24 17:34:40 -04:00 |
|
Matthew Brown
|
7a48225184
|
Fix leaky template type
|
2019-05-24 13:35:14 -04:00 |
|
Matthew Brown
|
a43e4d879b
|
Remove unnecessary option
|
2019-05-24 10:26:10 -04:00 |
|
Matthew Brown
|
9e3724bb0c
|
Prevent class-string<T> from assigning unknown type to mixed
Fixes #1672
|
2019-05-24 10:20:37 -04:00 |
|
Matthew Brown
|
c80f9d8ecd
|
Add class-based support for key-of
Ref #762
|
2019-05-24 02:12:58 -04:00 |
|
Matthew Brown
|
574545e149
|
Add initial support for key-of<T>
Ref #762
|
2019-05-23 23:53:48 -04:00 |
|
Matthew Brown
|
a18a564ad9
|
Add parser support for key-of and indexed access
|
2019-05-23 23:52:48 -04:00 |
|
Brown
|
3fcadb8f4c
|
Prevent redundant addType
|
2019-05-23 18:09:53 -04:00 |
|