Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP7.4: Deprecated warning - serializationContext.php on line 152 #1111

Closed
rbairwell opened this issue Aug 7, 2019 · 2 comments
Closed

PHP7.4: Deprecated warning - serializationContext.php on line 152 #1111

rbairwell opened this issue Aug 7, 2019 · 2 comments
Labels

Comments

@rbairwell
Copy link

Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no

Steps required to reproduce the problem

  1. Setup a PHP7.4 environment with deprecated warnings turned on.
  2. Serialize something (I will expand on this once I've identified the exact cause)
  3. Receive:
    <b>Deprecated</b>: Unparenthesized a ? b : c ? d : eis deprecated. Use either(a ? b : c) ? d : eora ? b : (c ? d : e) in <b>/data/vendor/jms/serializer/src/SerializationContext.php</b> on line <b>152</b>

Expected Result

No deprecated warning

Actual Result

<b>Deprecated</b>: Unparenthesized a ? b : c ? d : eis deprecated. Use either(a ? b : c) ? d : eora ? b : (c ? d : e) in <b>/data/vendor/jms/serializer/src/SerializationContext.php</b> on line <b>152</b>

@goetas
Copy link
Collaborator

goetas commented Aug 8, 2019

Hi, thanks for reporting this.
I started to work on PHP 7.4 compatibility in #1113

@goetas goetas added the bug label Aug 8, 2019
@goetas
Copy link
Collaborator

goetas commented Aug 18, 2019

fixed in #1113

@goetas goetas closed this as completed Aug 18, 2019
markelarauzo7 added a commit to markelarauzo7/ddd that referenced this issue Oct 7, 2020
mhujer added a commit to mhujer/consistence-jms-serializer that referenced this issue Mar 5, 2021
mhujer added a commit to mhujer/consistence-jms-serializer that referenced this issue Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants