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

[Console] Inherit phpdoc from OutputFormatterInterface#22342

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
fabpot merged 1 commit intosymfony:2.7fromro0NL:console/move-phpdoc
Apr 10, 2017
Merged

[Console] Inherit phpdoc from OutputFormatterInterface#22342

fabpot merged 1 commit intosymfony:2.7fromro0NL:console/move-phpdoc
Apr 10, 2017

Conversation

@ro0NL
Copy link
Contributor

QA
Branch?2.7
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#22225 (comment)
LicenseMIT
Doc PRsymfony/symfony-docs#...

*
* @return OutputFormatterStyleInterface
*
* @throws \InvalidArgumentException When style isn't defined
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

let me know if this need to be added to the interface (see also#22231).

Copy link
Member

@chalasrchalasrApr 7, 2017
edited
Loading

Choose a reason for hiding this comment

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

I would say it should be. unrelated but this should use the console domain exception instead

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

personally i never add logic ones to the interface.. only concrete runtime scenarios that all implementations must adhere to (SomethingIsWrongException). But this is a thin line in PHP so i dont mind, hence i asked :)

Copy link
Member

Choose a reason for hiding this comment

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

let's see what others think then :)

ro0NL reacted with thumbs up emoji
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

to clarify.. i always follow; logic=programmers fault, runtime=program fault

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

given the actual implementation is a program fault.. i think im gonna add it. I would have usedStyleNotFoundException extends \RuntimeException. But that's semantics.. who cares :P

@nicolas-grekasnicolas-grekas added this to the2.7 milestoneApr 10, 2017
Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

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

👍

@fabpot
Copy link
Member

Thank you@ro0NL.

@fabpotfabpot merged commitff3cb9c intosymfony:2.7Apr 10, 2017
fabpot added a commit that referenced this pull requestApr 10, 2017
…ro0NL)This PR was merged into the 2.7 branch.Discussion----------[Console] Inherit phpdoc from OutputFormatterInterface| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#22225 (comment)| License       | MIT| Doc PR        | symfony/symfony-docs#... <!--highly recommended for new features-->Commits-------ff3cb9c [Console] Inherit phpdoc from OutputFormatterInterface
@ro0NLro0NL deleted the console/move-phpdoc branchApril 10, 2017 17:39
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@chalasrchalasrchalasr left review comments

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

2.7

Development

Successfully merging this pull request may close these issues.

5 participants

@ro0NL@fabpot@nicolas-grekas@chalasr@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp