Commit 6f13815
committed
minor #14550 Section method only in ConsoleOutputInterface (ybenhssaien)
This PR was submitted for the 5.1 branch but it was squashed and merged into the 4.4 branch instead.
Discussion
----------
Section method only in ConsoleOutputInterface
Since `excecute()` accepts an instanceof `OutputInterface` which doesn't contain the method [`section`](https://github.com/symfony/symfony/blob/5.1/src/Symfony/Component/Console/Output/ConsoleOutputInterface.php#L31) we have to add a check on `ConsoleOutputInterface`
<!--
If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/releases for the list of maintained branches).
If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `5.x` for features of unreleased versions).
-->
Commits
-------
4440725 Section method only in ConsoleOutputInterface1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
184 | 193 | | |
185 | 194 | | |
| 195 | + | |
186 | 196 | | |
187 | 197 | | |
188 | 198 | | |
| |||
0 commit comments