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 Debug component dependencies#32248

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:3.4fromxabbuh:pr-31065
Jun 28, 2019
Merged

Conversation

@xabbuh
Copy link
Member

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

"symfony/class-loader":"~3.2",
"symfony/dependency-injection":"^3.4.24|^4.2.5",
"symfony/config":"~3.4|~4.0",
"symfony/debug":"~2.8|~3.0|~4.0",
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

FrameworkBundle registersSymfony\Component\Debug\ErrorHandler whenboot() is called

"require": {
"php":"^5.5.9|>=7.0.8",
"symfony/config":"~3.2|~4.0",
"symfony/debug":"~2.8|~3.0|~4.0",
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

ExceptionController::showAction() has a parameter of typeSymfony\Component\Debug\Exception\FlattenException

@xabbuh
Copy link
MemberAuthor

Before#31065, the Debug component was installed as a transitive dependency.


$this->assertInstanceOf('Symfony\Component\Debug\Exception\ClassNotFoundException',$exception);
$this->assertSame($translatedMessage,$exception->getMessage());
$this->assertRegExp($translatedMessage,$exception->getMessage());
Copy link
Member

Choose a reason for hiding this comment

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

why switching this to a regex, while all your regexps are anchored on both sides and contain only static parts ?

Copy link
Member

Choose a reason for hiding this comment

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

He added a.* in lines 103 and 121.

xabbuh reacted with thumbs up emoji
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

error messages differ slightly for these two cases when the ErrorCatcher component is present:https://travis-ci.org/symfony/symfony/jobs/551399461#L4725

@nicolas-grekas
Copy link
Member

Thank you@xabbuh.

@nicolas-grekasnicolas-grekas merged commit87fe077 intosymfony:3.4Jun 28, 2019
nicolas-grekas added a commit that referenced this pull requestJun 28, 2019
This PR was merged into the 3.4 branch.Discussion----------fix Debug component dependencies| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets || License       | MIT| Doc PR        |Commits-------87fe077 fix Debug component dependencies
@xabbuhxabbuh deleted the pr-31065 branchJune 28, 2019 11:40
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof approved these changes

@derrabusderrabusderrabus approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

5 participants

@xabbuh@nicolas-grekas@stof@derrabus@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp