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

Allow override CSS classes added by widgets #52

Merged
merged 3 commits into from
May 28, 2015

Conversation

klimov-paul
Copy link
Member

Allow override CSS classes added by widgets

Fixes:
#15

yiisoft/yii2#8229
yiisoft/yii2#8257
yiisoft/yii2#8405
yiisoft/yii2#4916

@klimov-paul
Copy link
Member Author

Tests are currently failing on Travis, because it uses old version of 'yiisoft/yii2'

@@ -18,7 +18,7 @@
}
],
"require": {
"yiisoft/yii2": ">=2.0.4",
"yiisoft/yii2": "*",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this must keep >=2.0.4 because it depends on the security issue fix in Json helper.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It need to be a master branch, because it depends on changes made recently.
What whould be correct value then?
During 2.0.5 release it should be set to ">=2.0.5", but what value should be used until then?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is good to require >2.0.4 to indicate dev dependency for something after 2.0.4

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if composer can resolve this though...

@cebe
Copy link
Member

cebe commented May 27, 2015

looks good to me, except the version constraint in composer.json

@klimov-paul
Copy link
Member Author

Build solved using

"yiisoft/yii2": ">=2.0.x-dev"

@githubjeka
Copy link
Contributor

👍

@samdark
Copy link
Member

samdark commented May 28, 2015

@klimov-paul shouldn't it be "yiisoft/yii2": ">=2.0.4-dev"?

@klimov-paul
Copy link
Member Author

I am afraid it should not. For '2.0.x-dev' there is an alias declared at yii2 composer.json:
https://github.com/yiisoft/yii2/blob/master/composer.json#L106
"2.0.4-dev" is unlikely to be resolved. Although I have not tried. Besides it should be "2.0.5-dev" - I assume.

Either way it should be changed to ">=2.0.5" before next release.

@samdark
Copy link
Member

samdark commented May 28, 2015

OK.

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

Successfully merging this pull request may close these issues.

4 participants