gabrielrcouto / php-gui

Extensionless PHP Graphic User Interface library
2.24k stars 175 forks source link

Cannot use Gui\Components\Object as Object because 'Object' is a special class name #152

Closed CViniciusSDias closed 5 years ago

CViniciusSDias commented 5 years ago

When trying to run the example with PHP 7.2 on Windows 10 I receive the following error: PHP Fatal error: Cannot use Gui\Components\Object as Object because 'Object' is a special class name in {project-path}\vendor\gabrielrcouto\php-gui\src\Application.php on line 5

Fatal error: Cannot use Gui\Components\Object as Object because 'Object' is a special class name in {project-path}\vendor\gabrielrcouto\php-gui\src\Application.php on line 5

reisraff commented 5 years ago

The fix is patched on master, not yet tagged.