honeybee / trellis

Library for defining structured entities in php.
Mozilla Public License 2.0
8 stars 1 forks source link

PHP 7 and Object as reserved name #13

Closed graste closed 4 years ago

graste commented 8 years ago

See http://php.net/manual/de/migration70.incompatible.php#migration70.incompatible.other.classes – The words resource, object etc. are not yet a problem, but are reserved for future use. As we use Object we should probably react to it now instead of getting into trouble in all projects using trellis later on when php 7.1 or whatever shows up with that breaking change.

While we're at it, we might think about getting rid of the Object class altogether.

MrHash commented 8 years ago

One option is to rename Object to Trellis for a quick win

graste commented 4 years ago

BaseObject was used quite some time ago. Closing this. :)