Skip to content

Commit 4555fec

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: 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 ba75435 + 19da185 commit 4555fec

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

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

+5-1
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/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ public function setOptions(array $options)
347347
* session.save_handler and session.save_path e.g.
348348
*
349349
* ini_set('session.save_handler', 'files');
350-
* ini_set('session.save_path', /tmp');
350+
* ini_set('session.save_path', '/tmp');
351351
*
352352
* or pass in a NativeSessionHandler instance which configures session.save_handler in the
353353
* constructor, for a template see NativeFileSessionHandler or use handlers in

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

+1-1
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)