10000 minor #26122 Revert "[Workflow] Added the symfony/phpunit-bridge" (ly… · symfony/symfony@2ab947f · GitHub
[go: up one dir, main page]

Skip to content

Commit 2ab947f

Browse files
committed
minor #26122 Revert "[Workflow] Added the symfony/phpunit-bridge" (lyrixx)
This PR was merged into the 4.1-dev branch. Discussion ---------- Revert "[Workflow] Added the symfony/phpunit-bridge" | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | --- This PR revert #26090. I chatted with @stof and @nicolas-grekas and for now they think the best is to revert this PR. --- About the previous PR: I made that in ordre to increase the quality via the code coverage of the component. One thing to know: If the listener is defined in the phpunit.xml.dist the classe has to exist. If not, phpunit fails. So if we add the listener in the component, then the deps should be here. Anyway, people seems to agree that is a bad idea to add the bridge in each component. So what could we do to enable this listener everywhere in ordre to increase the right computing of the code covarage? Commits ------- 71c2ecf Revert "[Workflow] Added the symfony/phpunit-bridge"
2 parents 347438e + 71c2ecf commit 2ab947f

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/Symfony/Component/Workflow/composer.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,13 @@
2828
"symfony/dependency-injection": "~3.4|~4.0",
2929
"symfony/event-dispatcher": "~3.4|~4.0",
3030
"symfony/expression-language": "~3.4|~4.0",
31-
"symfony/phpunit-bridge": "~3.4|~4.0",
3231
"symfony/security-core": "~3.4|~4.0",
3332
"symfony/validator": "~3.4|~4.0"
3433
},
3534
"autoload": {
3635
"psr-4": { "Symfony\\Component\\Workflow\\": "" }
3736
},
3837
"minimum-stability": "dev",
39-
"config": {
40-
"sort-packages": true
41-
},
4238
"extra": {
4339
"branch-alias": {
4440
"dev-master": "4.1-dev"

src/Symfony/Component/Workflow/phpunit.xml.dist

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,4 @@
2727
</exclude>
2828
</whitelist>
2929
</filter>
30-
31-
<listeners>
32-
<listener class="Symfony\Bridge\PhpUnit\CoverageListener"></listener>
33-
</listeners>
3430
</phpunit>

0 commit comments

Comments
 (0)
0