orklah
|
9029e1d613
|
remove always true/false conditions
|
2021-12-27 19:59:11 +01:00 |
|
rarila
|
97e6511fab
|
Set number of lines before and after namespace.
|
2021-12-15 04:58:32 +01:00 |
|
rarila
|
1c298c4605
|
Conversion of Psalm\Type
|
2021-12-14 02:31:22 +01:00 |
|
ralila
|
e32af3c05a
|
Conversion of Psalm\Type\Atomic
|
2021-12-14 02:26:28 +01:00 |
|
AndrolGenhald
|
ba881c80bf
|
Use maybeAdd instead of accepts.
|
2021-12-08 12:15:32 -06:00 |
|
AndrolGenhald
|
b29fc6ad3c
|
Allow operator overloading for Decimal extension (fixes #3938).
|
2021-12-08 10:59:37 -06:00 |
|
rarila
|
39402c233d
|
Return type hints (#7065)
Co-authored-by: ralila <>
|
2021-12-05 19:51:26 +02:00 |
|
ralila
|
30a65685a2
|
Import instead of using fqn classes
|
2021-12-03 21:40:18 +01:00 |
|
ralila
|
2a956498bf
|
Import instead of using fqn functions
|
2021-12-03 21:07:25 +01:00 |
|
ralila
|
711be643c6
|
Import instead of using fqn exceptions
|
2021-12-03 20:29:06 +01:00 |
|
ralila
|
245920e53c
|
Import instead of using fqn
|
2021-12-03 20:11:20 +01:00 |
|
Matthew Brown
|
175ba83332
|
Migrate most IssueBuffer::accepts calls to IssueBuffer::maybeAdd (#7020)
|
2021-11-29 14:54:17 -05:00 |
|
orklah
|
ad57516765
|
create a temporary var for coalescing ternaries
|
2021-11-05 20:07:35 +01:00 |
|
orklah
|
9fb959150a
|
Merge pull request #6730 from orklah/int-template-arithmetics
don't emit issues when doing arithmetics on int templates
|
2021-10-24 20:39:54 +02:00 |
|
orklah
|
0161dedcdb
|
fix
|
2021-10-24 19:53:22 +02:00 |
|
orklah
|
2c5cec4a05
|
fix
|
2021-10-24 19:48:28 +02:00 |
|
orklah
|
af918a95a2
|
don't emit issues when doing arithmetics on int templates
|
2021-10-24 19:30:39 +02:00 |
|
orklah
|
d99f300043
|
fix concat
|
2021-10-24 19:15:18 +02:00 |
|
orklah
|
ae193ca4da
|
replace elvis operator by coalesce operator when applicable
|
2021-10-13 20:16:06 +02:00 |
|
orklah
|
b9e65f066a
|
refactor paradoxical conditions
|
2021-10-02 10:01:04 +02:00 |
|
Bruce Weirdan
|
2e7e343ef8
|
Merge pull request #6423 from orklah/count-equal-0-negated-assertion
|
2021-10-02 00:53:03 +03:00 |
|
orklah
|
7891e6136a
|
unparsable types
|
2021-09-25 17:19:50 +02:00 |
|
orklah
|
748d58a1d6
|
unparsable types
|
2021-09-25 17:14:57 +02:00 |
|
orklah
|
a92fee8ae3
|
better combining
|
2021-09-25 11:21:06 +02:00 |
|
orklah
|
d3d11471b7
|
allow arithmetics on variables as long as we're out of loops
|
2021-09-23 21:24:16 +02:00 |
|
orklah
|
5ec9e6543d
|
try with everything except Variables
|
2021-09-23 21:24:16 +02:00 |
|
orklah
|
c6949760f8
|
activate arithmetic operations on properties too
|
2021-09-23 21:24:16 +02:00 |
|
orklah
|
a70e7032e9
|
activate arithmetic operations on method calls too
|
2021-09-23 21:24:16 +02:00 |
|
orklah
|
c4b47d3786
|
activate arithmetic operations on func calls
|
2021-09-23 21:24:16 +02:00 |
|
orklah
|
0f17a2590c
|
fix Mod
|
2021-09-19 19:30:03 +02:00 |
|
orklah
|
25f78b5d54
|
refine Mod with positives everywhere
|
2021-09-19 19:30:03 +02:00 |
|
orklah
|
f87bd56105
|
fix Pow
|
2021-09-19 19:30:03 +02:00 |
|
orklah
|
5a2df475ca
|
changes after review
|
2021-09-19 19:30:03 +02:00 |
|
orklah
|
e75e390449
|
refactor big methods away
|
2021-09-19 19:30:03 +02:00 |
|
orklah
|
6b5e6eeecc
|
fix wrong type
|
2021-09-19 19:30:02 +02:00 |
|
orklah
|
a6630c49a2
|
fix mod calculation with ranges
|
2021-09-19 19:30:02 +02:00 |
|
orklah
|
c226285a4b
|
fix Mul and Pow operations
|
2021-09-19 19:30:02 +02:00 |
|
orklah
|
ae0586b0e6
|
fix shift inference
|
2021-09-19 19:30:02 +02:00 |
|
orklah
|
488c13b7c5
|
handle bit operations and add test
|
2021-09-19 19:30:02 +02:00 |
|
orklah
|
9994a91915
|
help Psalm understand the types
|
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
|
0227894176
|
fix code
|
2021-09-19 19:30:02 +02:00 |
|
orklah
|
d2f73d3adb
|
fix and test minus case
|
2021-09-19 19:30:01 +02:00 |
|
orklah
|
d919a53674
|
rename method too
|
2021-09-19 19:30:01 +02:00 |
|
orklah
|
9ab46ff3e0
|
rename class because it handles Div too now
|
2021-09-19 19:30:01 +02:00 |
|
orklah
|
c20c1b5002
|
better div and modulo inference
|
2021-09-19 19:30:01 +02:00 |
|
orklah
|
61d1d1660d
|
handle the div case when even if min/max are integers, there may be float between them
|
2021-09-19 19:30:00 +02:00 |
|
orklah
|
1dcdaea117
|
int range arithmetics
|
2021-09-19 19:29:59 +02:00 |
|
orklah
|
5134747edd
|
CS
|
2021-08-09 20:46:15 +02:00 |
|
orklah
|
e688781383
|
seal the result of two sealed KeyedArrays
|
2021-08-09 20:43:17 +02:00 |
|