Skip to content

Conversation

@lacatoire
Copy link
Contributor

Addresses the deprecation warning/error related to attempting to use a null value as an array.

This was primarily fixed in phpdotnet/phd/Package/PHP/Web.php by using ($this->property ?? []) to ensure that the array access operator ([]) is always applied to a valid array, thus resolving the issues experienced with modern PHP versions (7.4+).

Fixes #227

@plusminmax
Copy link

Please pardon my english, since it is not my default tongue.
If sourceInfo return null
then setup source is null
thus setup source path access on null.

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.

2 participants