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

Add BC layer for updated constructor types#32074

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
nicolas-grekas merged 1 commit intosymfony:4.4fromnicolas-grekas:cstr-fix
Jun 17, 2019

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?4.4
Bug fix?no
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets-
LicenseMIT
Doc PR-

Reverts some CS changes done in#32066 + replaces its BC breaks by a BC layer.
Our CI is too good, it bites us hard when we break our own rules :)

@nicolas-grekasnicolas-grekas merged commitc34fcd9 intosymfony:4.4Jun 17, 2019
nicolas-grekas added a commit that referenced this pull requestJun 17, 2019
This PR was merged into the 4.4 branch.Discussion----------Add BC layer for updated constructor types| Q             | A| ------------- | ---| Branch?       | 4.4| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | -Reverts some CS changes done in#32066 + replaces its BC breaks by a BC layer.Our CI is too good, it bites us hard when we break our own rules :)Commits-------c34fcd9 Add BC layer for updated constructor types
@nicolas-grekasnicolas-grekas deleted the cstr-fix branchJune 17, 2019 19:48
$name ='';
}
if (false !==strpos($name,$pathSeparator)) {
if (false !==strpos($name = (string)$name,$pathSeparator)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Changing a variable, esp it's type within a call and later rely on this is really not-obivous. It took me a while to see this.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

I understand, but this reduces merge conflicts as you know.

@Tobion
Copy link
Contributor

I don't see why those changes were necessary. If tests in other branches fail, the tests should be fixed like I did in 4.4. This is purely a test setup problem like missing mocks that don't follow the contract.

@nicolas-grekas
Copy link
MemberAuthor

nicolas-grekas commentedJun 17, 2019
edited
Loading

The CI is here to spot BC breaks, it did its job. We have bad past experiences about doing apparently minor changes but breaking real apps. Better stick to our processes.

symfony-splitter pushed a commit to symfony/security-core that referenced this pull requestJun 25, 2019
This PR was squashed before being merged into the 5.0-dev branch (closes #32160).Discussion----------Removed legacy code and cleanup| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | -Seesymfony/symfony#32074,symfony/symfony#26981labels: `HttpFoundation`, `Form`, `Security`, `SecurityBundle`, `Validator`Commits-------7b99fb45bb Removed legacy code and cleanup
fabpot added a commit that referenced this pull requestJun 25, 2019
This PR was squashed before being merged into the 5.0-dev branch (closes#32160).Discussion----------Removed legacy code and cleanup| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | -See#32074,#26981labels: `HttpFoundation`, `Form`, `Security`, `SecurityBundle`, `Validator`Commits-------7b99fb4 Removed legacy code and cleanup
@nicolas-grekasnicolas-grekas modified the milestones:next,4.4Oct 27, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@xabbuhxabbuhAwaiting requested review from xabbuhxabbuh is a code owner

1 more reviewer

@TobionTobionTobion left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

3 participants

@nicolas-grekas@Tobion@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp