8000 Merge branch '3.4' into 4.4 · symfony/symfony@da8b955 · GitHub
[go: up one dir, main page]

Skip to content

Commit da8b955

Browse files
Merge branch '3.4' into 4.4
* 3.4: [3.4] CS fixes
2 parents 020fa77 + 1e1060f commit da8b955

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Symfony/Component/Config/Tests/Definition/Builder/ExprBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public function testThenEmptyArrayExpression()
149149
/**
150150
* @dataProvider castToArrayValues
151151
*/
152-
public function testcastToArrayExpression($configValue, $expectedValue)
152+
public function testCastToArrayExpression($configValue, $expectedValue)
153153
{
154154
$test = $this->getTestBuilder()
155155
->castToArray()

src/Symfony/Component/Console/Tests/TerminalTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function test()
6060
$this->assertSame(60, $terminal->getHeight());
6161
}
6262

63-
public function test_zero_values()
63+
public function testZeroValues()
6464
{
6565
putenv('COLUMNS=0');
6666
putenv('LINES=0');

src/Symfony/Component/Lock/Tests/Store/SemaphoreStoreTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ public function testResourceRemoval()
4848
private function getOpenedSemaphores()
4949
{
5050
if ('Darwin' === PHP_OS) {
51-
$lines = explode(PHP_EOL, trim(`ipcs -s`));
51+
$lines = explode(PHP_EOL, trim(shell_exec('ipcs -s')));
5252
if (-1 === $start = array_search('Semaphores:', $lines)) {
5353
throw new \Exception('Failed to extract list of opened semaphores. Expected a Semaphore list, got '.implode(PHP_EOL, $lines));
5454
}
5555

5656
return \count(\array_slice($lines, ++$start));
5757
}
5858

59-
$lines = explode(PHP_EOL, trim(`LC_ALL=C ipcs -su`));
59+
$lines = explode(PHP_EOL, trim(shell_exec('LC_ALL=C ipcs -su')));
6060
if ('------ Semaphore Status --------' !== $lines[0]) {
6161
throw new \Exception('Failed to extract list of opened semaphores. Expected a Semaphore status, got '.implode(PHP_EOL, $lines));
6262
}

0 commit comments

Comments
 (0)
0