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

Fix error in bundle installation standard example#4267

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
wouterj merged 1 commit into2.3fromfix-error
Sep 25, 2014
Merged

Conversation

@wouterj
Copy link
Member

I also included the class name, to make it more clear.

QA
Doc fix?yes
New docs?no
Applies toall
Fixed tickets-

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

~1 is equal to*, which I don't think you want here :)

Copy link
Member

Choose a reason for hiding this comment

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

no it is not.~1 is actually the same than~1.0. The semver operator will never allow bumping to the next major version, as BC versions are not BC

Copy link
Contributor

Choose a reason for hiding this comment

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

interesting information@stof thanks! however i agree with@wouterj to give clarity, and because i even recommend locking things to the third number with ~ to be more responsible on even functionality addition that gets in.

Copy link
Member

Choose a reason for hiding this comment

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

I just checked and the Composer doc does not describe this case. It might be worth a contribution...

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Interesting, thanks@stof. I've reverted this change.

@wouterj
Copy link
MemberAuthor

I'm going to merge this, as it annoys me when I copy the template to apply it on bundle docs.

However, we can remove the version completely from the require command since it defaults to stable in the newer composer versions. What do you think,@weaverryan@javiereguiluz ?

@javiereguiluz
Copy link
Member

Thanks for the fix!

Regarding the version number, I don't have a strong opinion about what to do. It's cool to not provide the version, but only works on recent Composer versions. I don't know which is the best solution here.

@wouterj
Copy link
MemberAuthor

@javiereguiluz I've thought about it and I don't like it. Assume a library has a 1.0 version and releases 2.0. Both documentations are still visible and now 1.0 will install the 2.0 version. That isn't nice :)

@wouterjwouterj merged commitbd7da67 into2.3Sep 25, 2014
wouterj added a commit that referenced this pull requestSep 25, 2014
This PR was merged into the 2.3 branch.Discussion----------Fix error in bundle installation standard exampleI also included the class name, to make it more clear.| Q   | A| --- | ---| Doc fix? | yes| New docs? | no| Applies to | all| Fixed tickets | -Commits-------bd7da67 Fix error in code
@wouterjwouterj deleted the fix-error branchSeptember 25, 2014 15:35
@stof
Copy link
Member

I agree that we should keep the version info for the reason of supporting older docs

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@wouterj@javiereguiluz@stof@cordoval

[8]ページ先頭

©2009-2025 Movatter.jp