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

Gii generation issue #279

Closed
yii-bot opened this issue Jun 13, 2017 · 1 comment
Closed

Gii generation issue #279

yii-bot opened this issue Jun 13, 2017 · 1 comment
Labels
ext:gii status:to be verified Needs to be reproduced and validated. type:bug Bug
Milestone

Comments

@yii-bot
Copy link

yii-bot commented Jun 13, 2017

This issue has originally been reported by @bylasnoches at yiisoft/yii2#14290.
Moved here by @samdark.


I have generated model via gii. My table has only one field, id (primary_key).

Generated model has the following syntax error:

    public function rules()
    {
        return [
            ,
        ];
    }
Q A
Yii version 2.0.11
PHP version 5.6
Operating system Linux mint 18
@samdark samdark added status:to be verified Needs to be reproduced and validated. type:bug Bug labels Jun 14, 2017
@samdark samdark added this to the 2.0.6 milestone Jun 14, 2017
@dmirogin
Copy link
Contributor

dmirogin commented Aug 5, 2017

It's been fixed here #152

@samdark samdark closed this as completed Aug 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ext:gii status:to be verified Needs to be reproduced and validated. type:bug Bug
Projects
None yet
Development

No branches or pull requests

3 participants