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

Fix access array offset on value of type null #274

Closed
wants to merge 1 commit into from
Closed

Fix access array offset on value of type null #274

wants to merge 1 commit into from

Conversation

jfcherng
Copy link
Contributor

@jfcherng jfcherng commented Jul 12, 2019

Fix #273.


I am using Symfony 4.3 with PHP 7.4.0-dev(nightly snapshot). When I do bin/console cache:clear -vvv, there is a warning which will be fixed by this PR.

There is another suspicious one as below.

switch ($this->lexer->lookahead['type']) {

But it seems not causing a problem in my case. Not sure how it will be generally.

@jfcherng
Copy link
Contributor Author

I see this PR will conflict with #258. It's favored hence close this PR.

@jfcherng jfcherng closed this Jul 12, 2019
@jfcherng jfcherng deleted the fix-php74-access-null-as-array branch July 12, 2019 20:45
@alcaeus alcaeus mentioned this pull request Aug 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Trying to access array offset on value of type null
1 participant