Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 36aedd8

Browse files
Merge branch '3.2'
* 3.2: [Bridge/PhpUnit] Relax expectedDeprecation for forward compat [FrameworkBundle] Remove Response* from classes to compile [Workflow] Removed twig from composer.json (dev section, not used)
2 parents 6f6100a + 886a28c commit 36aedd8

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

src/Symfony/Bridge/PhpUnit/SymfonyTestsListener.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ public function endTest(\PHPUnit_Framework_Test $test, $time)
192192

193193
if (!in_array($test->getStatus(), array(\PHPUnit_Runner_BaseTestRunner::STATUS_SKIPPED, \PHPUnit_Runner_BaseTestRunner::STATUS_INCOMPLETE, \PHPUnit_Runner_BaseTestRunner::STATUS_FAILURE, \PHPUnit_Runner_BaseTestRunner::STATUS_ERROR), true)) {
194194
try {
195-
$prefix = "@expectedDeprecation:\n ";
196-
$test->assertStringMatchesFormat($prefix.implode("\n ", $this->expectedDeprecations), $prefix.implode("\n ", $this->gatheredDeprecations));
195+
$prefix = "@expectedDeprecation:\n";
196+
$test->assertStringMatchesFormat($prefix.'%A '.implode("\n%A ", $this->expectedDeprecations)."\n%A", $prefix.' '.implode("\n ", $this->gatheredDeprecations)."\n");
197197
} catch (\PHPUnit_Framework_AssertionFailedError $e) {
198198
$test->getTestResultObject()->addFailure($test, $e, $time);
199199
}

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,6 @@ public function load(array $configs, ContainerBuilder $container)
224224
'Symfony\\Component\\EventDispatcher\\Event',
225225
'Symfony\\Component\\EventDispatcher\\ContainerAwareEventDispatcher',
226226

227-
'Symfony\\Component\\HttpFoundation\\Response',
228-
'Symfony\\Component\\HttpFoundation\\ResponseHeaderBag',
229-
230227
'Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener',
231228
'Symfony\\Component\\HttpKernel\\EventListener\\RouterListener',
232229
'Symfony\\Component\\HttpKernel\\Bundle\\Bundle',

src/Symfony/Component/Workflow/composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525
},
2626
"require-dev": {
2727
"psr/log": "~1.0",
28-
"symfony/event-dispatcher": "~2.1|~3.0",
29-
"twig/twig": "~1.14"
28+
"symfony/event-dispatcher": "~2.1|~3.0"
3029
},
3130
"autoload": {
3231
"psr-4": { "Symfony\\Component\\Workflow\\": "" }

0 commit comments

Comments
 (0)