mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixed incorrect ife() conversion. Thanks SkieDr.
This commit is contained in:
parent
cd6c370dd9
commit
d8468c1a38
1 changed files with 2 additions and 2 deletions
|
@ -296,9 +296,9 @@ class UpgradeShell extends Shell {
|
|||
'echo \1'
|
||||
),
|
||||
array(
|
||||
'ife(*, *, *) -> empty(*) ? * : *',
|
||||
'ife(*, *, *) -> !empty(*) ? * : *',
|
||||
'/ife\((.*), (.*), (.*)\)/',
|
||||
'empty(\1) ? \2 : \3'
|
||||
'!empty(\1) ? \2 : \3'
|
||||
),
|
||||
array(
|
||||
'r(*, *, *) -> str_replace(*, *, *)',
|
||||
|
|
Loading…
Reference in a new issue