You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.
I suspect this is already on the radar and is not a high priority issue, but just in case it's been overlooked: resource is a soft reserved word since PHP 7, so it has the potential to cause problems with Illuminate\Http\Resources\Json\Resource if the word does become reserved in the future.
Whilst they may still be used as class, interface, and trait names (as well as in namespaces), usage of them is highly discouraged since they may be used in future versions of PHP.
I suspect this is already on the radar and is not a high priority issue, but just in case it's been overlooked:
resource
is a soft reserved word since PHP 7, so it has the potential to cause problems withIlluminate\Http\Resources\Json\Resource
if the word does become reserved in the future.From http://php.net/manual/en/reserved.other-reserved-words.php
Also see https://wiki.php.net/rfc/reserve_even_more_types_in_php_7
The text was updated successfully, but these errors were encountered: