Skip to content

[Config] Some tweaks in the component #127

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

Merged
8 commits merged into from
Mar 9, 2011
Merged

[Config] Some tweaks in the component #127

8 commits merged into from
Mar 9, 2011

Conversation

vicb
Copy link
Contributor

@vicb vicb commented Feb 28, 2011

No description provided.

@@ -36,7 +36,7 @@ class ExprBuilder
/**
* Mark the expression as being always used.
*
* @return Symfony\Component\Config\Definition\Builder\ExprBuilder
Copy link
Member

Choose a reason for hiding this comment

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

Using the FQCN in the PHPdoc was intended as some IDEs does not autocomplete correctly when the short name is given as the PHPdoc does not refers to the use statement. This would maje the autocompletion painful with these IDE.

Copy link
Contributor

Choose a reason for hiding this comment

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

well then again it can also become a problem if the data gets out of sync and any change will lead to potentially unnecessarily long diff's. imho those IDE's need to get fixed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This fix is also for consistency...
And to second Lukas, Sf2 is powerful but not meant to fix IDEs !

& everything is not very consistent yet, I have some more modifs in the pipe

@vicb
Copy link
Contributor Author

vicb commented Feb 28, 2011

If this PR eventually ends up in the master repo, the next step is here.

Notes:

  • The next step is not finished yet,
  • The commits should really be squashed in this newer branch but I have left them for now in order to ease the review.

@vicb
Copy link
Contributor Author

vicb commented Mar 8, 2011

I am quite happy with the current state of the "next step".

I have asked Johannes to review my code when he has time for that.

Note: The commits in the config_refactor branch must really be squashed after review.

jderusse pushed a commit to jderusse/symfony that referenced this pull request Mar 30, 2020
This PR was squashed before being merged into the master branch (closes symfony#128).

Discussion
----------

Check any Composer repository

This is an attempt to implement symfony#127 (and would allow symfony#126 to pass). I haven't used the `ComposerRepository` class before, but couldn't see a simple way to consistently find out if a repository knew a particular package name, so it's doing a search then cycling through the results.

Commits
-------

0cfad5a Check any Composer repository
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants