Skip to content

Fix access array offset on value of type null#274

Closed
jfcherng wants to merge 1 commit intodoctrine:masterfrom
jfcherng:fix-php74-access-null-as-array
Closed

Fix access array offset on value of type null#274
jfcherng wants to merge 1 commit intodoctrine:masterfrom
jfcherng:fix-php74-access-null-as-array

Conversation

@jfcherng
Copy link
Copy Markdown
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
Copy Markdown
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