8000 Merge branch '2.7' · ostrolucky/symfony@0c56942 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0c56942

Browse files
committed
Merge branch '2.7'
* 2.7: (65 commits) Configure firewall's kernel exception listener with configured entry point or a default entry point PSR-2 fixes [DependencyInjection] make paths relative to __DIR__ in the generated container [FrameworkBundle][Router Cmd] use debug namespace. [FrameworkBundle] Update deprecated service call Fix PHP Fatal error: Cannot call constructor in symfony/console/Symfony/Component/Console/Helper/DialogHelper.php on line 37 Removed a dev annotation from a version constraint Fixed the syntax of a composer.json file Fixed the symfony/config version constraint Tweaked the password-compat version constraint Docblock fixes Append to PR symfony#12737 referring Ticket symfony#12704 Issue symfony#12658 Add a deprecation note about Translator's setFallbackLocale... Issue symfony#12606 Adding warning logs about the deprecation of [...]/Tests/FormIntegration... Hackday deprecated 12621 Added deprecation log for validate and validateValue on ExecutionContext... [Console] [Hackday] [2.7] Add a deprecation note about ProgressHelper [Hackday][2.7] Add a deprecation note about MetadataInterface's accept() method [Validator] Added a deprecation note about setPropertyAccessor symfony#12698 [Locale] Adding a deprecation note about the Locale component ...
2 parents 541018d + 6e39640 commit 0c56942

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

Controller/ProfilerController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ public function infoAction($about)
155155
/**
156156
* Renders the Web Debug Toolbar.
157157
*
158-
* @param Request $request The current HTTP Request
159-
* @param string $token The profiler token
158+
* @param Request $request The current HTTP Request
159+
* @param string $token The profiler token
160160
*
161161
* @return Response A Response instance
162162
*

Resources/views/Collector/time.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
/**
116116
* Query an element with a CSS selector.
117117
*
118-
* @param string selector a CSS-selector-compatible query string.
118+
* @param string selector a CSS-selector-compatible query string.
119119
*
120120
* @return DOMElement|null
121121
*/

Tests/Profiler/TemplateManagerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ public function testGetTemplates()
100100
->will($this->returnCallback(array($this, 'profileHasCollectorCallback')));
101101

102102
$result = $this->templateManager->getTemplates($profile);
103-
$this->assertArrayHasKey('foo',$result);
104-
$this->assertArrayNotHasKey('bar',$result);
105-
$this->assertArrayNotHasKey('baz',$result);
103+
$this->assertArrayHasKey('foo', $result);
104+
$this->assertArrayNotHasKey('bar', $result);
105+
$this->assertArrayNotHasKey('baz', $result);
106106
}
107107

108108
public function profilerHasCallback($panel)

phpunit.xml.dist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
colors="true"
77
bootstrap="vendor/autoload.php"
88
>
9+
<php>
10+
<!-- Disable E_USER_DEPRECATED until 3.0 -->
11+
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
12+
<ini name="error_reporting" value="-16385"/>
13+
</php>
914

1015
<testsuites>
1116
<testsuite name="Symfony WebProfilerBundle Test Suite">

0 commit comments

Comments
 (0)
0