Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace dirname() call with .. #6990

Merged
merged 1 commit into from
Sep 24, 2016
Merged

replace dirname() call with .. #6990

merged 1 commit into from
Sep 24, 2016

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Sep 21, 2016

Using dirname(__DIR__) is less readable than using __DIR__.'/..'. Also, this is in line with what we use above in configureRoutes().

Using `dirname(__DIR__)` is less readable than using `__DIR__.'/..'`.
Also, this is in line with what we use above in `configureRoutes()`.
Copy link
Member

@javiereguiluz javiereguiluz left a comment

Choose a reason for hiding this comment

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

I agree.

@wouterj
Copy link
Member

wouterj commented Sep 23, 2016

👍
status: reviewed

@xabbuh xabbuh merged commit 4f89612 into symfony:3.1 Sep 24, 2016
xabbuh added a commit that referenced this pull request Sep 24, 2016
This PR was merged into the 3.1 branch.

Discussion
----------

replace dirname() call with ..

Using `dirname(__DIR__)` is less readable than using `__DIR__.'/..'`. Also, this is in line with what we use above in `configureRoutes()`.

Commits
-------

4f89612 replace dirname() call with ..
@xabbuh xabbuh deleted the pr-6935 branch September 24, 2016 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants