Skip to content

[DependencyInjection] Document remove() method on the PHP configurator #17098

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

Closed
wants to merge 1 commit into from

Conversation

94noni
Copy link
Contributor

@94noni 94noni commented Aug 2, 2022

Ref #14854
I do not know if it is a proper explanation, feel free to challenge :)

@carsonbot carsonbot added this to the 5.4 milestone Aug 2, 2022
javiereguiluz added a commit that referenced this pull request Aug 3, 2022
This PR was squashed before being merged into the 5.4 branch.

Discussion
----------

Enable code blocks

Revert 8f250a2

Revert fb505de from #17020

Tests were broken, see that example from #17098:

```
Run composer config --no-plugins allow-plugins.symfony/flex true
Error: File "./composer.json" cannot be found in the current directory

In ConfigCommand.php line 206:

  File "./composer.json" cannot be found in the current directory

config [-g|--global] [-e|--editor] [-a|--auth] [--unset] [-l|--list] [-f|--file FILE] [--absolute] [-j|--json] [-m|--merge] [--append] [--source] [--] [<setting-key> [<setting-value>...]]

Error: Process completed with exit code 1.
```

[full output](https://github.com/symfony/symfony-docs/runs/7640214086?check_suite_focus=true)

It should not be necessary now that symfony-tools/symfony-application#14 has been merged.

Commits
-------

7bff8b5 Enable code blocks
@alamirault
Copy link
Contributor

Should we add that remove method can remove Service definition or alias ?

https://github.com/symfony/symfony/pull/39806/files#diff-533abbee25ba0d4f9cec5254ee1acd25d1d85adef4ec83aa69dcb2680eb6a4deR99-R109

@94noni
Copy link
Contributor Author

94noni commented Mar 6, 2023

closing here

@94noni 94noni closed this Mar 6, 2023
@94noni 94noni deleted the di-php-remove branch March 6, 2023 15:14
javiereguiluz added a commit to javiereguiluz/symfony-docs that referenced this pull request Jun 9, 2023
…or` remove method (alamirault)

This PR was merged into the 5.4 branch.

Discussion
----------

[DependencyInjection] Document `ServiceConfigurator` remove method

Continue work started by `@94noni` in symfony#17098

Fix symfony#14854

Commits
-------

3d9dfe6 [DependencyInjection] Document ServiceConfigurator remove method
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.

3 participants