Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fixes the issue with the missing name attribute default mentioned in #58#59

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
yajra merged 2 commits intoyajra:3.0fromNamoshek:fix-default-for-column-name-attribute
Feb 21, 2018
Merged

Fixes the issue with the missing name attribute default mentioned in #58#59

yajra merged 2 commits intoyajra:3.0fromNamoshek:fix-default-for-column-name-attribute
Feb 21, 2018

Conversation

@Namoshek
Copy link
Contributor

As discussed in#58, there has been an issue where the documentation said that thename attribute of columns is set to thedata attribute if not present. This PR fixes this issue for both theBuilder::columns(array $columns) method as well as for theColumn::__construct(array $attr) method.

I think the changes are quite straight forward, although I haven't tested them (don't have an easy way to do so on this machine). In theory this should be no breaking change as the behavior can always be overwritten.

There has been no hint which branch we should create PRs for, so I've chosen master. Feel free to ask for another PR if this doesn't work out for you!

yajra reacted with thumbs up emoji
@Namoshek
Copy link
ContributorAuthor

Note: ThePHP_EOL to"\n" change was made for consistency as this is what is used in theBuilder::scripts() method. WithPHP_EOL, tests did not pass on windows (\n ->\r\n).

@yajrayajra changed the base branch frommaster to3.0February 21, 2018 06:34
@yajrayajra merged commit2f44058 intoyajra:3.0Feb 21, 2018
@yajra
Copy link
Owner

Thanks, released on v3.7.0 🍻

Namoshek reacted with heart emoji

@NamoshekNamoshek deleted the fix-default-for-column-name-attribute branchFebruary 21, 2018 12:57
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@Namoshek@yajra

[8]ページ先頭

©2009-2025 Movatter.jp