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

Cannot use yii\base\Object as Object because 'Object' is a special class name #18

Closed
far-east91 opened this issue Jan 28, 2018 · 4 comments

Comments

@far-east91
Copy link

image

@mikehaertl
Copy link
Collaborator

This is because we didn't change the code yet to be compatible with PHP 7.2. See the release notes of Yii 2.0.13 here:
https://github.com/yiisoft/yii2/blob/2.0.13/framework/UPGRADE.md#upgrade-from-yii-2012

As I see it, this is a one way decision: Once we change this, the library will no longer work with Yii < 2.0.13. I'm not really sure yet, how we will solve this.

@mikehaertl
Copy link
Collaborator

@far-east91 I've pushed a fix to master. Could you maybe do a quick test if this fixes the issue? As soon as you confirm I will draft a new release.

@far-east91
Copy link
Author

@mikehaertl i've pull the latest release and it solved the issue, thank you very much brother

@mikehaertl
Copy link
Collaborator

Published release 2.6.0 which requires at least Yii 2.0.13. For older Yii releases version 2.5.x should be used.

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

No branches or pull requests

2 participants