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

[FrameworkBundle] read commands from bundles when accessing list#17569

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.3fromhavvg:hotfix/register-commands
Feb 18, 2016

Conversation

@havvg
Copy link
Contributor

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

This allows access to the list of commands registered by the kernel (bundle and later service ids) programmatically when you do notrun the application.

@fabpot
Copy link
Member

Looks like a new feature to me.

useSymfony\Component\DependencyInjection\ContainerAwareInterface;
useSymfony\Component\HttpKernel\Bundle\Bundle;
useSymfony\Component\HttpKernel\Kernel;
useSymfony\Component\HttpKernel\KernelInterface;
Copy link
Member

Choose a reason for hiding this comment

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

The reordering should be reverted

@fabpot
Copy link
Member

Thank you@havvg.

@fabpotfabpot merged commit0fe3088 intosymfony:2.3Feb 18, 2016
fabpot added a commit that referenced this pull requestFeb 18, 2016
…g list (havvg)This PR was merged into the 2.3 branch.Discussion----------[FrameworkBundle] read commands from bundles when accessing list| Q             | A| ------------- | ---| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets || License       | MIT| Doc PR        |This allows access to the list of commands registered by the kernel (bundle and later service ids) programmatically when you do not `run` the application.Commits-------0fe3088 register commands from kernel when accessing list
@HeahDude
Copy link
Contributor

It may have broken the tests on 2.7 :

Fatal error: Call to a member function hasParameter() on null in /home/travis/build/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php on line 131

@fabpot
Copy link
Member

@HeahDude Can you have a look and try to propose a fix?

@havvghavvg deleted the hotfix/register-commands branchFebruary 19, 2016 07:47
HeahDude added a commit to HeahDude/symfony that referenced this pull requestFeb 19, 2016
@HeahDude
Copy link
Contributor

@fabpot done, see#17859 :)

fabpot added a commit that referenced this pull requestFeb 22, 2016
…(HeahDude)This PR was merged into the 2.7 branch.Discussion----------[2.7] [FrameworkBundle] minor fix tests added by#17569| Q             | A| ------------- | ---| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | n/a| License       | MIT| Doc PR        | -Commits-------ce6e5ac [2.7] [FrameworkBundle] minor fix tests added by#17569
fabpot added a commit that referenced this pull requestFeb 22, 2016
* 2.7:  Update twig.html.twig  [2.7] [FrameworkBundle] minor fix tests added by#17569  fixed CS  fixed CS  documented the $url parameter better  [Form] add test for ArrayChoiceList handling null  [Form] fix edge cases with choice placeholder  register commands from kernel when accessing list  Update FileSystem
fabpot added a commit that referenced this pull requestFeb 23, 2016
* 2.8:  fixed typo  fixed typo  Fixed a minor XML issue in a translation file  Fix merge  Fix merge  Fix merge  Fix merge  Update twig.html.twig  PhpUnitNoDedicateAssertFixer results  Improve Norwegian translations  [2.7] [FrameworkBundle] minor fix tests added by#17569  Fixed the antialiasing of the toolbar text  Simplify markdown for PR template  fixed CS  fixed CS  documented the $url parameter better  [Form] add test for ArrayChoiceList handling null  [Form] fix edge cases with choice placeholder  register commands from kernel when accessing list  Update FileSystem
fabpot added a commit that referenced this pull requestFeb 23, 2016
* 3.0: (21 commits)  fixed typo  fixed typo  Fixed a minor XML issue in a translation file  Fix merge  Fix merge  Fix merge  Fix merge  Update twig.html.twig  PhpUnitNoDedicateAssertFixer results  disable the assets helper when assets are disabled  Improve Norwegian translations  [2.7] [FrameworkBundle] minor fix tests added by#17569  Fixed the antialiasing of the toolbar text  Simplify markdown for PR template  fixed CS  fixed CS  documented the $url parameter better  [Form] add test for ArrayChoiceList handling null  [Form] fix edge cases with choice placeholder  register commands from kernel when accessing list  ...
This was referencedFeb 28, 2016
ostrolucky pushed a commit to ostrolucky/symfony that referenced this pull requestMar 25, 2018
* 2.7:  Update twig.html.twig  [2.7] [FrameworkBundle] minor fix tests added bysymfony#17569  fixed CS  fixed CS  documented the $url parameter better  [Form] add test for ArrayChoiceList handling null  [Form] fix edge cases with choice placeholder  register commands from kernel when accessing list  Update FileSystem
ostrolucky pushed a commit to ostrolucky/symfony that referenced this pull requestMar 25, 2018
* 2.8:  fixed typo  fixed typo  Fixed a minor XML issue in a translation file  Fix merge  Fix merge  Fix merge  Fix merge  Update twig.html.twig  PhpUnitNoDedicateAssertFixer results  Improve Norwegian translations  [2.7] [FrameworkBundle] minor fix tests added bysymfony#17569  Fixed the antialiasing of the toolbar text  Simplify markdown for PR template  fixed CS  fixed CS  documented the $url parameter better  [Form] add test for ArrayChoiceList handling null  [Form] fix edge cases with choice placeholder  register commands from kernel when accessing list  Update FileSystem
ostrolucky pushed a commit to ostrolucky/symfony that referenced this pull requestMar 25, 2018
* 3.0: (21 commits)  fixed typo  fixed typo  Fixed a minor XML issue in a translation file  Fix merge  Fix merge  Fix merge  Fix merge  Update twig.html.twig  PhpUnitNoDedicateAssertFixer results  disable the assets helper when assets are disabled  Improve Norwegian translations  [2.7] [FrameworkBundle] minor fix tests added bysymfony#17569  Fixed the antialiasing of the toolbar text  Simplify markdown for PR template  fixed CS  fixed CS  documented the $url parameter better  [Form] add test for ArrayChoiceList handling null  [Form] fix edge cases with choice placeholder  register commands from kernel when accessing list  ...
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.

4 participants

@havvg@fabpot@HeahDude@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp