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

[HttpKernel] Introduce KernelInterface::getProjectDir()#28901

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:masterfromro0NL:about
Oct 17, 2018
Merged

[HttpKernel] Introduce KernelInterface::getProjectDir()#28901

fabpot merged 1 commit intosymfony:masterfromro0NL:about
Oct 17, 2018

Conversation

@ro0NL
Copy link
Contributor

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

Removes the last call to getParameter('kernel.project_dir') during runtime in core. Yay :)

cc@fabpot@nicolas-grekas

*
* @author Fabien Potencier <fabien@symfony.com>
*
* @method string getProjectDir()

Choose a reason for hiding this comment

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

let's add a description, eg:
@method string getProjectDir() Gets the application root dir (path of the project's composer file) - not defining it is deprecated since Symfony 4.2

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

it works. can you do a github suggestion? Im so curious about that :D

image

Copy link
Member

Choose a reason for hiding this comment

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

Done :)

*
* @author Fabien Potencier <fabien@symfony.com>
*
span class="pl-s1"> * @method string getProjectDir() Gets the project dir (path of the project's composer file) - not defining it is deprecated since Symfony 4.2

Choose a reason for hiding this comment

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

it failed :)
can you squash also please?

sstok reacted with laugh emoji
@fabpot
Copy link
Member

Thank you@ro0NL.

@fabpotfabpot merged commitb046f41 intosymfony:masterOct 17, 2018
fabpot added a commit that referenced this pull requestOct 17, 2018
…(ro0NL)This PR was merged into the 4.2-dev branch.Discussion----------[HttpKernel] Introduce KernelInterface::getProjectDir()| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no     <!-- seehttps://symfony.com/bc -->| Deprecations? | not yet| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->| Fixed tickets |#28897 (comment)| License       | MIT| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->Removes the last call to getParameter('kernel.project_dir') during runtime in core. Yay :)cc@fabpot@nicolas-grekasCommits-------b046f41 [HttpKernel] Introduce KernelInterface::getProjectDir()
@ro0NLro0NL deleted the about branchOctober 17, 2018 09:57
fabpot added a commit that referenced this pull requestJan 5, 2019
This PR was squashed before being merged into the 4.3-dev branch (closes#28902).Discussion----------[Debug] Detect virtual methods using@method| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no     <!-- seehttps://symfony.com/bc -->| Deprecations? | no| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->| Fixed tickets |#28897 (comment)| License       | MIT| Doc PR        |symfony/symfony-docs#10504My first Debug PR, so im still on it. But early feedback welcome.In#28901 we'll introduce a new virtual interface method using `@method` annotation. IIUC the idea is to trigger whenever such a method is overridden.Commits-------38877c3 [Debug] Detect virtual methods using@method
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot requested changes

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@ro0NL@fabpot@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp