Skip to content

Commit a16c752

Browse files
committed
Merge branch '2.8' into 3.0
* 2.8: [WebProfilerBundle] Remove loading status from AJAX toolbar after error Add missing apostrophe in setSaveHandler phpdoc [VarDumper] Fix typo [FrameworkBundle] Add case in Kernel directory guess for PHPUnit [FrameworkBundle] Add case in Kernel directory guess for PHPUnit
2 parents 48b4bcf + 4555fec commit a16c752

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,14 @@ private static function getPhpUnitCliConfigArgument()
8080
if (preg_match('/^-[^ \-]*c$/', $testArg) || $testArg === '--configuration') {
8181
$dir = realpath($reversedArgs[$argIndex - 1]);
8282
break;
83-
} elseif (strpos($testArg, '--configuration=') === 0) {
83+
} elseif (0 === strpos($testArg, '--configuration=')) {
8484
$argPath = substr($testArg, strlen('--configuration='));
8585
$dir = realpath($argPath);
8686
break;
87+
} elseif (0 === strpos($testArg, '-c')) {
88+
$argPath = substr($testArg, strlen('-c'));
89+
$dir = realpath($argPath);
90+
break;
8791
}
8892
}
8993

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base_js.html.twig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@
188188
Sfjs.removeClass(ajaxToolbarPanel, 'sf-toolbar-status-red');
189189
} else if (state == 'error') {
190190
Sfjs.addClass(ajaxToolbarPanel, 'sf-toolbar-status-red');
191+
Sfjs.removeClass(ajaxToolbarPanel, 'sf-ajax-request-loading');
191192
} else {
192193
Sfjs.addClass(ajaxToolbarPanel, 'sf-ajax-request-loading');
193194
}

src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ public function setOptions(array $options)
332332
* session.save_handler and session.save_path e.g.
333333
*
334334
* ini_set('session.save_handler', 'files');
335-
* ini_set('session.save_path', /tmp');
335+
* ini_set('session.save_path', '/tmp');
336336
*
337337
* or pass in a NativeSessionHandler instance which configures session.save_handler in the
338338
* constructor, for a template see NativeFileSessionHandler or use handlers in

src/Symfony/Component/VarDumper/Cloner/Data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function withMaxDepth($maxDepth)
5353
}
5454

5555
/**
56-
* Limits the numbers of elements per depth level.
56+
* Limits the number of elements per depth level.
5757
*
5858
* @param int $maxItemsPerDepth The max number of items dumped per depth level.
5959
*

0 commit comments

Comments
 (0)