Commit Graph

18 Commits

Author SHA1 Message Date
orklah
cf6161f63c
Merge pull request #1 from danog/patch-1
Allow PHP 8
2021-09-13 12:47:07 +02:00
f37b419642
Allow PHP 8 2021-09-13 11:27:28 +02:00
orklah
d6f4f5503e upgrade to psalm 4.6.1 2021-02-24 18:57:39 +01:00
orklah
0874dc1639 remove debug 2021-02-24 18:37:26 +01:00
orklah
806d288346 remove cases when additional replacement wouldn't make sense. Add a limit in term of expression (don't replace empty by 3 or more expressions), ignore array-key for debug 2021-02-24 13:26:13 +01:00
orklah
09fe67f2e8 add some obvious cases and return when encountering an unhandled type 2021-02-23 23:29:55 +01:00
orklah
f41818eedf fix bug(for real) 2021-02-23 22:28:28 +01:00
orklah
1615f8c447 fix bug 2021-02-23 22:16:16 +01:00
orklah
1592ce9fe5 handle nullable types, refactor replacement construction 2021-02-21 22:24:53 +01:00
orklah
a37286400f fix method name 2021-02-21 16:03:32 +01:00
orklah
f244541747 handle !empty() better and avoid adding parentheses everywhere 2021-02-21 15:20:25 +01:00
orklah
dace8f6ff8 fix offset replacement, add debug info 2021-02-21 11:58:27 +01:00
orklah
629cc8c059 fix offset replacement, add parenthesis everywhere to avoid breaking !empty() syntax, fix variable display 2021-02-21 11:30:47 +01:00
orklah
c28b0f0e96 invert condition 2021-02-21 10:43:35 +01:00
orklah
47a9971568 typo 2021-02-21 10:09:30 +01:00
orklah
6013ab1fda first commit 2021-02-21 09:25:52 +01:00
orklah
84d4f2d352
Provide license based on original idea by Tideways
https://gist.github.com/beberlei/7bd3809df1e8edaeb5df5e7adaec40e2#gistcomment-3639489 (cc @beberlei)
2021-02-21 09:17:27 +01:00
orklah
38c52a5c5c
Initial commit 2021-02-20 23:21:08 +01:00