Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 7.2 Incompatibility Issue #129

Closed
cryptokat opened this issue Nov 6, 2017 · 3 comments
Closed

PHP 7.2 Incompatibility Issue #129

cryptokat opened this issue Nov 6, 2017 · 3 comments
Labels

Comments

@cryptokat
Copy link

Object is no longer a valid class name since php 7.2 php/php-src@8e10c9d

PHP Fatal error:  Cannot use Gui\Components\Object as Object because 'Object' is a special class name in /tmp/vendor/gabrielrcouto/php-gui/src/Application.php on line 5
PHP Stack trace:
PHP   1. {main}() /tmp/myapp.php:0
PHP   2. spl_autoload_call() /tmp/myapp.php:7
PHP   3. Composer\Autoload\ClassLoader->loadClass() /tmp/myapp.php:7
PHP   4. Composer\Autoload\includeFile() /tmp/vendor/composer/ClassLoader.php:322

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

Call Stack:
    0.0002     450856   1. {main}() /tmp/myapp.php:0
    0.0013     530784   2. spl_autoload_call() /tmp/myapp.php:7
    0.0013     530864   3. Composer\Autoload\ClassLoader->loadClass() /tmp/myapp.php:7
    0.0014     530992   4. Composer\Autoload\includeFile() /tmp/vendor/composer/ClassLoader.php:322
@gabrielrcouto
Copy link
Owner

Oh boy, now we need a new name 😢

Thank you @cryptokat, I'll keep this issue opened until the name refactor.

@andreybolonin
Copy link
Contributor

#134

@reisraff
Copy link
Collaborator

#134 merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants