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

How to override vendor directory location #4643

Merged
merged 3 commits into from
Jan 16, 2015
Merged

How to override vendor directory location #4643

merged 3 commits into from
Jan 16, 2015

Conversation

gajdaw
Copy link
Contributor

@gajdaw gajdaw commented Dec 13, 2014

Q A
Doc fix? [no]
New docs? [no]
Applies to [Symfony 2.3]
Fixed tickets [#4642]

@gajdaw
Copy link
Contributor Author

gajdaw commented Dec 13, 2014

@wouterj I have created a new PR and closed the previous one #4642.

---------------------------------

To override the ``vendor`` directory you have to introduce changes
in the following files:
Copy link
Member

Choose a reason for hiding this comment

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

It seems to me that you break lines too early. It's sufficient to add a newline after the first word that crosses the 72nd character (same below).

@gajdaw
Copy link
Contributor Author

gajdaw commented Dec 14, 2014

@xabbuh I have reformatted the commit.

// app/autoload.php
/**
* @var ClassLoader $loader
*/
Copy link
Member

Choose a reason for hiding this comment

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

Do we really need the docblock here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@xabbuh You are right. This is completely unnecessary.

@xabbuh
Copy link
Member

xabbuh commented Dec 14, 2014

@gajdaw Looks good to me. I just left a last comment.

file::

// app/autoload.php

Copy link
Member

Choose a reason for hiding this comment

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

now you just need to remove this empty line and everything is ok. Thanks for your quick action each time!

@timglabisch
Copy link
Contributor

shoulnd this contributed to composers documentation and just linked?

@gajdaw
Copy link
Contributor Author

gajdaw commented Dec 15, 2014

@timglabisch Because of the change in app/autoload.php I think Symfony docs is the right place for it.

Composer's doc contains info about vendor-dir in https://getcomposer.org/doc/04-schema.md

@gajdaw
Copy link
Contributor Author

gajdaw commented Dec 15, 2014

@wouterj @xabbuh : done.

@gajdaw
Copy link
Contributor Author

gajdaw commented Dec 19, 2014

@wouterj I think its finished.

@weaverryan
Copy link
Member

Very nice - thanks Włodzimierz!

@weaverryan weaverryan merged commit 0875bd8 into symfony:2.3 Jan 16, 2015
weaverryan added a commit that referenced this pull request Jan 16, 2015
This PR was merged into the 2.3 branch.

Discussion
----------

How to override vendor directory location

| Q             | A
| ------------- | ---
| Doc fix?      | [no]
| New docs?     | [no]
| Applies to    | [Symfony 2.3]
| Fixed tickets | [#4642]

Commits
-------

0875bd8 How to override vendor directory location - fix
07f6843 How to override vendor directory location - fix
bce4c16 How to override vendor directory location
weaverryan added a commit that referenced this pull request Jan 16, 2015
weaverryan added a commit that referenced this pull request Jan 16, 2015
* 2.3:
  [#4857] Adding missing word thanks to xabbuh
  Fixing bad english thanks to xabbuh
  Adding missing words thanks to javiereguiluz
  [#4643] Minor english changes to make things even smoother (though they were correct before)
  replace API link for SwiftmailerBundle
  Update security.rst
  Update routing.rst
  don't output message from AuthenticationException
  Add custom link labels where Cookbook articles titles looked wrong
  Removed a leftover comma in security config sample
  [#4141] Tweaks to the new form csrf caching entry
  How to override vendor directory location - fix
  How to override vendor directory location - fix
  How to override vendor directory location
weaverryan added a commit that referenced this pull request Jan 16, 2015
* 2.5:
  [#4857] Adding missing word thanks to xabbuh
  Fixing bad english thanks to xabbuh
  Adding missing words thanks to javiereguiluz
  [#4643] Minor english changes to make things even smoother (though they were correct before)
  replace API link for SwiftmailerBundle
  Update security.rst
  Update routing.rst
  don't output message from AuthenticationException
  Add custom link labels where Cookbook articles titles looked wrong
  Fix code example
  Removed a leftover comma in security config sample
  [#4141] Tweaks to the new form csrf caching entry
  How to override vendor directory location - fix
  How to override vendor directory location - fix
  How to override vendor directory location
weaverryan added a commit that referenced this pull request Jan 18, 2015
* 2.6: (30 commits)
  fix merge after removing @Security in 2.3
  Reverting a commit on 2.5 branch, as it was only meant to be on 2.3 (so reverting after the merge)
  [#4735] Reverting what was left on the 2.5 branch after the merge conflict had already put back some of it
  Typo Fix: "allows to" should be "allows you to"
  Adding a link to log things in the prod environment
  [#4857] Adding missing word thanks to xabbuh
  move cautions to make them visible
  Fixing bad english thanks to xabbuh
  Adding missing words thanks to javiereguiluz
  language tweak thanks to xabbuh!
  Adding an example image of the debug_formatter
  [#4643] Minor english changes to make things even smoother (though they were correct before)
  replace API link for SwiftmailerBundle
  Update security.rst
  Update routing.rst
  don't output message from AuthenticationException
  Add custom link labels where Cookbook articles titles looked wrong
  Fix typo: BLOG => BLOB
  Fix code example
  Removed a leftover comma in security config sample
  ...

Conflicts:
	reference/configuration/security.rst
weaverryan added a commit that referenced this pull request Jan 18, 2015
* 2.7: (31 commits)
  fix merge after removing @Security in 2.3
  Reverting a commit on 2.5 branch, as it was only meant to be on 2.3 (so reverting after the merge)
  [#4735] Reverting what was left on the 2.5 branch after the merge conflict had already put back some of it
  Typo Fix: "allows to" should be "allows you to"
  Adding a link to log things in the prod environment
  [#4857] Adding missing word thanks to xabbuh
  move cautions to make them visible
  Fixing bad english thanks to xabbuh
  Adding missing words thanks to javiereguiluz
  language tweak thanks to xabbuh!
  Adding an example image of the debug_formatter
  [#4643] Minor english changes to make things even smoother (though they were correct before)
  replace API link for SwiftmailerBundle
  Update security.rst
  Update routing.rst
  don't output message from AuthenticationException
  Add custom link labels where Cookbook articles titles looked wrong
  Fix typo: BLOG => BLOB
  Fix code example
  Removed a leftover comma in security config sample
  ...
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.

5 participants