Bruce Weirdan
|
638a10dd39
|
Restore return docblock
|
2022-01-06 01:58:52 +02:00 |
|
orklah
|
3dbc039415
|
Merge pull request #7311 from orklah/inArrayAssertionOnTemplate
don't crash when pushing a template to in_array
|
2022-01-06 00:14:22 +01:00 |
|
orklah
|
bf4bf92cb2
|
Merge pull request #7313 from orklah/empty-arrays
replace `array<never, never>` as a way to detect empty arrays by a dedicated method
|
2022-01-05 23:58:45 +01:00 |
|
Bruce Weirdan
|
8726065d21
|
Applied ClosureToArrowFunctionRector
|
2022-01-06 00:48:04 +02:00 |
|
orklah
|
7f40489202
|
fix inverted condition
|
2022-01-05 23:41:56 +01:00 |
|
orklah
|
ee99deaa50
|
fix a case not always on TArray
|
2022-01-05 23:28:08 +01:00 |
|
orklah
|
3c468b3eeb
|
replace array<never, never> as a way to detect empty arrays by a dedicated method
|
2022-01-05 23:14:54 +01:00 |
|
orklah
|
9d3a51db6a
|
remove obsolete test and fix a missing exception
|
2022-01-05 23:08:34 +01:00 |
|
orklah
|
030195a395
|
parse array{} into an empty array
|
2022-01-05 23:08:33 +01:00 |
|
Bruce Weirdan
|
17793d1398
|
Merge pull request #7310 from weirdan/rector-ListToArrayDestructRector
|
2022-01-05 23:40:50 +02:00 |
|
orklah
|
a6a0769402
|
fix test
|
2022-01-05 22:39:13 +01:00 |
|
orklah
|
72216f9354
|
fix test
|
2022-01-05 22:36:22 +01:00 |
|
orklah
|
e7bc6f273a
|
don't crash when pushing a template to in_array
|
2022-01-05 22:33:20 +01:00 |
|
Bruce Weirdan
|
e4c16c10e7
|
Enforce [...] usage instead of list(...)
|
2022-01-05 23:32:01 +02:00 |
|
Bruce Weirdan
|
83f1d52528
|
Applied ListToArrayDestructRector
|
2022-01-05 23:29:18 +02:00 |
|
orklah
|
7e2b9d0fab
|
fix empty string in keyed array offset
|
2022-01-05 22:26:35 +01:00 |
|
orklah
|
27c4b07d5b
|
fix wrong not literal loose check
|
2022-01-05 22:11:22 +01:00 |
|
orklah
|
c22670d851
|
use the correct type for float function
|
2022-01-05 20:05:56 +01:00 |
|
orklah
|
57e054931e
|
remove unused param
|
2022-01-05 20:01:34 +01:00 |
|
orklah
|
fac7317af3
|
refactor float as well
|
2022-01-05 20:00:56 +01:00 |
|
orklah
|
26542afdf4
|
accept more loose literal equalities and loop over non-literal types on a separate loop
|
2022-01-05 19:45:22 +01:00 |
|
Bruce Weirdan
|
b8240e293a
|
Merge pull request #7303 from weirdan/rector-json-exceptions
|
2022-01-05 19:49:49 +02:00 |
|
orklah
|
7dccfa4ff9
|
CS
|
2022-01-05 18:44:58 +01:00 |
|
Bruce Weirdan
|
94395f18a4
|
Applied JsonThrowOnErrorRector
|
2022-01-05 19:32:43 +02:00 |
|
orklah
|
e0fb87596d
|
typo
|
2022-01-05 18:21:38 +01:00 |
|
orklah
|
c1575d29fd
|
consistency with string handling
|
2022-01-05 18:06:08 +01:00 |
|
orklah
|
8099126958
|
make sure to keep the origin of the type (from_docblock)
|
2022-01-05 17:52:04 +01:00 |
|
orklah
|
16bb62b499
|
Fixup!!! don't allow checks on literals
|
2022-01-05 12:41:08 +01:00 |
|
Bruce Weirdan
|
2bc7b9b7fa
|
Merge pull request #7302 from weirdan/rector-null-coalescing-operator
|
2022-01-05 13:27:18 +02:00 |
|
orklah
|
411399b600
|
Fixup!!! don't allow checks on literals
|
2022-01-05 12:22:44 +01:00 |
|
orklah
|
83a02d9a61
|
Fixup!!! don't allow checks on literals
|
2022-01-05 12:21:50 +01:00 |
|
Bruce Weirdan
|
dfb14cbe87
|
Enforce null-coalesce operators
|
2022-01-05 13:21:30 +02:00 |
|
orklah
|
5c0fc46734
|
Fixup!!! be more flexible on loose_equality for strings
|
2022-01-05 12:10:32 +01:00 |
|
Bruce Weirdan
|
dd09450092
|
Applied NullCoalescingOperatorRector
|
2022-01-05 13:09:37 +02:00 |
|
Bruce Weirdan
|
0f84dd3c29
|
Merge pull request #7299 from weirdan/rector-literal-number-separator
|
2022-01-05 12:49:40 +02:00 |
|
Bruce Weirdan
|
758e0afd96
|
Merge branch 'master' into rector-literal-number-separator
|
2022-01-05 12:32:52 +02:00 |
|
Bruce Weirdan
|
9b488e673f
|
Merge pull request #7300 from weirdan/dead-code-phpversion
|
2022-01-05 12:31:12 +02:00 |
|
orklah
|
3fc8139205
|
Fixup!!! only allow general TInt to pass
|
2022-01-05 11:17:39 +01:00 |
|
orklah
|
950710a47a
|
Fixup!!! make sure to add atomics with the correct offset key
|
2022-01-05 09:58:56 +01:00 |
|
orklah
|
36349a1370
|
refactor literal string equality check
|
2022-01-05 09:52:47 +01:00 |
|
orklah
|
2ada8ee8b0
|
refactor literal int equality check
|
2022-01-05 09:52:47 +01:00 |
|
orklah
|
a8c2fcde76
|
resolve ClassConst before checking equalities and fix things
|
2022-01-05 09:52:47 +01:00 |
|
Bruce Weirdan
|
d30d527aeb
|
Ensure separator is used for long numbers
I would like to set minDigitsBeforeDecimalPoint to 4, but it causes
false positives with octal numbers (slevomat/coding-standard#1324).
|
2022-01-05 04:11:52 +02:00 |
|
Matthew Brown
|
f5d6d2380f
|
Remove now-unnecessary code
Originally added in 8bc17e47be
|
2022-01-05 01:54:00 +00:00 |
|
Matthew Brown
|
7595a3c579
|
Make treatment of interfaces and classes more symmetrical
|
2022-01-05 01:10:57 +00:00 |
|
Matthew Brown
|
31dd30f3d1
|
Reduce by-ref args
|
2022-01-05 00:50:09 +00:00 |
|
Matthew Brown
|
26de4faa51
|
Unify names with intersection creation
|
2022-01-05 00:38:40 +00:00 |
|
Bruce Weirdan
|
c81c5faa83
|
Drop dead code based on PHP_VERSION_ID
Psalm now requires PHP 7.4, so this test is never skipped.
|
2022-01-05 01:49:27 +02:00 |
|
Bruce Weirdan
|
5e22026863
|
Fix version id for the callable object typehint
|
2022-01-05 01:16:15 +02:00 |
|
Matthew Brown
|
0a78b320da
|
Remove commas for now
|
2022-01-04 23:15:16 +00:00 |
|