gabrielrcouto/php-gui

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

Closed this issue · 1 comments

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

The fix is patched on master, not yet tagged.