Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

PHP 7.4 deprecation warning in Bin/Pp.php #106

Open
mdio opened this issue Feb 17, 2020 · 0 comments · May be fixed by #110
Open

PHP 7.4 deprecation warning in Bin/Pp.php #106

mdio opened this issue Feb 17, 2020 · 0 comments · May be fixed by #110

Comments

@mdio
Copy link

mdio commented Feb 17, 2020

In Pp.php nested ternary operators are used without explicit parentheses.
This is issuing a PHP Deprecated error in PHP 7.4.

The solution would be to wrap the ternary statements in parentheses to be explicit about the ordering.

See https://www.php.net/manual/en/migration74.deprecated.php#migration74.deprecated.core.nested-ternary

LudoMon added a commit to Adequasys/Compiler that referenced this issue Jul 9, 2020
The left-associativity of the ternary operator has been deprecated in PHP 7.4

Fixes hoaproject#106
@LudoMon LudoMon linked a pull request Jul 9, 2020 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant