orklah
|
21456b85b1
|
add Never for throws. Add Never only if at top level
|
2021-10-11 19:35:18 +02:00 |
|
orklah
|
f9377c53fc
|
infer never on closures(and more?)
|
2021-10-11 18:52:26 +02:00 |
|
orklah
|
d08845900b
|
Merge pull request #6639 from orklah/refine-TKeyedArray-with-iterable
Refine TKeyedArray with iterable
|
2021-10-11 16:09:00 +02:00 |
|
orklah
|
abebe4f7b4
|
add comments and suppress ComplexMethod
|
2021-10-11 13:36:56 +02:00 |
|
orklah
|
12a53345b5
|
allow filtering TKeyedArray using an iterable
|
2021-10-11 13:36:29 +02:00 |
|
orklah
|
3aee938910
|
Merge pull request #6636 from orklah/possibly-undefined-satisfy-nullable
Allow sending possibly_undefined inputs to optional params
|
2021-10-10 23:12:38 +02:00 |
|
orklah
|
cc82e6cf41
|
suppress warning
|
2021-10-10 13:58:09 +02:00 |
|
orklah
|
1b24b0309c
|
reduce complexity
|
2021-10-10 13:52:14 +02:00 |
|
orklah
|
69d412bfcb
|
fix error message when input is possibly undefined
|
2021-10-10 13:42:28 +02:00 |
|
orklah
|
fb8b07613d
|
Allow sending possibly_undefined inputs to optional params
|
2021-10-10 12:44:04 +02:00 |
|
orklah
|
5134a92e2a
|
Merge pull request #6623 from orklah/templated-array-key
Templated array key
|
2021-10-10 10:43:12 +02:00 |
|
orklah
|
f159ca76de
|
Merge pull request #6624 from orklah/float-always-float
invert the meaning of the errors
|
2021-10-10 10:42:37 +02:00 |
|
orklah
|
da4a0fe9a9
|
return null when expression can't be stored as unresolved
|
2021-10-10 09:28:19 +02:00 |
|
orklah
|
e7a86148b0
|
Allow Psalm to store unresolved Unary Ops
|
2021-10-10 09:24:25 +02:00 |
|
orklah
|
bac0217890
|
add "!" to invert the meaning of the errors
|
2021-10-09 21:15:27 +02:00 |
|
orklah
|
2b963242d7
|
array-key is included is contained by a template with array-key as upper bound
|
2021-10-09 20:02:09 +02:00 |
|
orklah
|
f62c76a334
|
Merge pull request #6622 from orklah/return_0
fix @return 0
|
2021-10-09 18:25:46 +02:00 |
|
orklah
|
a1df08f718
|
fix an old test
|
2021-10-09 18:18:15 +02:00 |
|
orklah
|
d44d00fb6d
|
fix two more cases
|
2021-10-09 18:10:49 +02:00 |
|
orklah
|
a2f415e2e0
|
fix @return 0
|
2021-10-09 17:58:06 +02:00 |
|
orklah
|
950b21d10a
|
Merge pull request #6621 from orklah/incompatible-types-found-for-T
add a little details to the Incompatible types found for T error
|
2021-10-09 15:10:27 +02:00 |
|
orklah
|
b1f20dffa0
|
fix brackets
|
2021-10-09 15:02:49 +02:00 |
|
orklah
|
e9f3e8795f
|
add a little details to the Incompatible types found for T error
|
2021-10-09 15:01:13 +02:00 |
|
orklah
|
49abfcb71b
|
Merge pull request #6617 from orklah/nonspecific-literal-int
allow any integer range to be satisfied by TNonspecificLiteralInt
|
2021-10-09 01:12:46 +02:00 |
|
orklah
|
874a67a1b0
|
allow any integer range to be satisfied by TNonspecificLiteralInt
|
2021-10-09 01:04:31 +02:00 |
|
orklah
|
d40335ff37
|
Merge pull request #6612 from orklah/empty-array_is_list
array_is_list on empty array returns true
|
2021-10-08 17:16:35 +02:00 |
|
orklah
|
682784c886
|
array_is_list on empty array returns true
|
2021-10-08 17:05:35 +02:00 |
|
orklah
|
f35df421e2
|
Merge pull request #6604 from orklah/array-unshift-on-empty-array
Array unshift on empty array
|
2021-10-07 23:04:10 +02:00 |
|
orklah
|
87a5df6043
|
only put offset to 0 when there's only one argument
|
2021-10-07 20:38:10 +02:00 |
|
orklah
|
49bb065dc7
|
Merge pull request #6608 from orklah/foreach-on-list
foreach on list gives a positive|0 offset
|
2021-10-07 20:16:11 +02:00 |
|
orklah
|
3fc716ec3b
|
fix CS
|
2021-10-07 19:39:45 +02:00 |
|
orklah
|
a7c4f0052b
|
foreach on list gives a positive|0 offset
|
2021-10-07 19:32:25 +02:00 |
|
orklah
|
973da0a91a
|
allow considering a NonEmptyArray where the only offset value is 0 to be contained in a NonEmptyList
|
2021-10-07 11:04:46 +02:00 |
|
orklah
|
3a2eddf2d7
|
pass the method_id to be able to set the new offset type to 0 for array_unshift
|
2021-10-07 09:46:49 +02:00 |
|
orklah
|
6627055f3b
|
make TypeCombiner override empty-array
|
2021-10-07 09:46:17 +02:00 |
|
orklah
|
4ca171001c
|
Merge pull request #6598 from orklah/fix-error
fix error
|
2021-10-05 20:50:47 +02:00 |
|
orklah
|
ad6229fe67
|
fix error
|
2021-10-05 20:27:13 +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
|
433474260c
|
revert confusing change
|
2021-10-05 19:27:07 +02:00 |
|
orklah
|
7321eed89d
|
don't add return type if it's the same than signature unless there is a description
|
2021-10-05 13:41:20 +02:00 |
|
orklah
|
902206b3ee
|
Merge pull request #6578 from orklah/psalter-psalm-param
Psalter psalm-param
|
2021-10-05 12:51:52 +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
|
3cf5dc5e89
|
makes Psalm understand templates in lhs
|
2021-10-05 11:34:17 +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
|
2c728546e4
|
Merge pull request #6485 from orklah/list-assert
assert that some type is a list
|
2021-10-04 13:31:34 +02:00 |
|
orklah
|
ac6a75ea7f
|
Merge pull request #6473 from orklah/double-assert2
assert both sides of an equality
|
2021-10-04 13:30:38 +02:00 |
|