orklah
|
e7cd2eac0a
|
Merge pull request #6641 from orklah/weird-assertion-count
Union::getAssertionString with multiple types
|
2021-10-13 08:15:28 +02:00 |
|
orklah
|
233fe11d12
|
SimpleXMLElement is not always truthy
|
2021-10-12 15:46:02 +02:00 |
|
orklah
|
2e64854a6c
|
don't allow getAssertionString to return a part of the Union
|
2021-10-11 16:07:57 +02:00 |
|
orklah
|
77c70c0ad2
|
allow |false in unions as long as it's not alone and not with null
|
2021-10-05 19:49:05 +02:00 |
|
orklah
|
295622088f
|
Merge pull request #6585 from orklah/truthy
fix isAlwaysTruthy: TNonEmptyString can be falsy (with '0')
|
2021-10-05 12:49:09 +02:00 |
|
orklah
|
96ed2526e8
|
Merge pull request #6589 from orklah/strict-callable
Better understanding of Templates in lhs of callable TKeyedArray
|
2021-10-05 12:48:53 +02:00 |
|
orklah
|
12ecaaa84d
|
makes Psalm understand templates in lhs
|
2021-10-05 11:30:29 +02:00 |
|
orklah
|
20bb5f196b
|
fix isAlwaysTruthy: TNonEmptyString can be falsy (with '0')
|
2021-10-04 23:02:01 +02:00 |
|
orklah
|
d22105de72
|
Merge pull request #6580 from orklah/psalter-generic-object-tophpstring
fix wrong type description added in signature
|
2021-10-04 20:23:42 +02:00 |
|
orklah
|
c7fd665fba
|
Merge pull request #6576 from orklah/wrong_priority
fix wrong operator priority
|
2021-10-04 14:36:47 +02:00 |
|
orklah
|
66206bf061
|
fix wrong type description added in signature
|
2021-10-04 12:26:05 +02:00 |
|
orklah
|
1e70be9888
|
fix wrong operator priority
|
2021-10-04 00:24:58 +02:00 |
|
orklah
|
b14fccb654
|
refine types in Always methods
|
2021-10-02 10:01:05 +02:00 |
|
orklah
|
2df1f9d42e
|
add resource to truthy types
|
2021-10-02 10:01:05 +02:00 |
|
orklah
|
0f6d271dde
|
possibly undefined unions can't be truthy
|
2021-10-02 10:01:05 +02:00 |
|
orklah
|
597e9a99d7
|
Makes BooleanNot smarter
|
2021-10-02 10:01:04 +02:00 |
|
orklah
|
dd5c2904d8
|
fix error on continue
|
2021-10-02 10:01:04 +02:00 |
|
orklah
|
ab6efe49b2
|
fix CS
|
2021-09-26 23:41:26 +02:00 |
|
orklah
|
38dac34846
|
unnecessary null initialization
|
2021-09-26 23:34:32 +02:00 |
|
orklah
|
db395d5605
|
unnecessary cast
|
2021-09-26 23:34:32 +02:00 |
|
orklah
|
5d6d3df4cf
|
unnecessary identical child method
|
2021-09-26 23:34:32 +02:00 |
|
orklah
|
c91bdfb689
|
old casts
|
2021-09-26 23:34:32 +02:00 |
|
orklah
|
72eab30a3a
|
coalesce operator
|
2021-09-26 23:34:31 +02:00 |
|
orklah
|
46801c4b98
|
clearer string operations
|
2021-09-26 23:34:31 +02:00 |
|
orklah
|
a95cb15056
|
no need for parent
|
2021-09-26 22:39:37 +02:00 |
|
orklah
|
53e4719c19
|
boolean cast
|
2021-09-26 22:39:01 +02:00 |
|
orklah
|
998f91aa65
|
variable with single value
|
2021-09-26 22:37:17 +02:00 |
|
orklah
|
dae29c8cee
|
missing visibility
|
2021-09-26 22:37:17 +02:00 |
|
orklah
|
c45e9bfc5f
|
useless switch
|
2021-09-26 22:37:16 +02:00 |
|
orklah
|
fce60a018a
|
param defaults
|
2021-09-26 22:37:16 +02:00 |
|
orklah
|
0780b85c30
|
undefined param
|
2021-09-25 16:30:38 +02:00 |
|
orklah
|
a92fee8ae3
|
better combining
|
2021-09-25 11:21:06 +02:00 |
|
orklah
|
dd9edb7afc
|
fix wrong check for Range validity
|
2021-09-19 19:30:02 +02:00 |
|
orklah
|
c226285a4b
|
fix Mul and Pow operations
|
2021-09-19 19:30:02 +02:00 |
|
orklah
|
e0e34bec33
|
allow intersections and add test
|
2021-09-19 19:30:02 +02:00 |
|
orklah
|
6f050359ce
|
refactor int vs int range arithmetic by converting everything to range and add tests
|
2021-09-19 19:30:02 +02:00 |
|
orklah
|
3ad60cfdb9
|
Allow combining and improve comparison
|
2021-09-19 19:30:00 +02:00 |
|
orklah
|
e10b0fc3e9
|
use TIntRange in isAlwaysTruthy
|
2021-09-19 19:30:00 +02:00 |
|
orklah
|
168b1d8f0f
|
fix wrong check with contains
|
2021-09-19 19:30:00 +02:00 |
|
orklah
|
1dcdaea117
|
int range arithmetics
|
2021-09-19 19:29:59 +02:00 |
|
orklah
|
f9b37cea5b
|
name error
|
2021-09-04 14:08:04 +02:00 |
|
orklah
|
c8cf503367
|
introduce isAlwaysFalsy and isAlwaysTruthy
|
2021-09-04 13:56:13 +02:00 |
|
Bruce Weirdan
|
9222b24ea1
|
Merge pull request #6321 from orklah/analyze-dynamic-classConstFetch
|
2021-08-20 01:06:56 +03:00 |
|
orklah
|
dbf3512b70
|
introduce $definite_class flag and use it to avoid using final keyword for simple inference
|
2021-08-19 23:19:59 +02:00 |
|
Maximilian Bösing
|
cb244d5c1e
|
bugfix: add missing TNonEmptyMixed to Atomic#create
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
|
2021-08-17 10:46:45 +02:00 |
|
orklah
|
1e17069c24
|
Change > assertion back to @ and put back a perf threshold
|
2021-08-15 10:13:05 +02:00 |
|
Bruce Weirdan
|
a9ead63ae1
|
Revert "Assertions for Integer Range"
|
2021-08-14 18:06:41 +03:00 |
|
Maximilian Bösing
|
9d59fbe6bb
|
feature: introduce literal float methods to Union type
- Added `Psalm\Type\Union#isSingleFloatLiteral`
- Added `Psalm\Type\Union#getSingleFloatLiteral`
- Added `Psalm\Type\Union#hasLiteralFloat`
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
|
2021-08-06 21:05:26 +02:00 |
|
orklah
|
5f764b9d8f
|
replace > by @
|
2021-07-31 21:59:35 +02:00 |
|
orklah
|
128a811174
|
add internal assertions for superior and inferior
|
2021-07-31 15:47:12 +02:00 |
|