8000 [3.4] CS fixes · symfony/symfony@02b378f · GitHub
[go: up one dir, main page]

Skip to content

Commit 02b378f

Browse files
[3.4] CS fixes
1 parent f6ae18e commit 02b378f

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
@@ -148,7 +148,7 @@ public function testThenEmptyArrayExpression()
148148
/**
149149
* @dataProvider castToArrayValues
150150
*/
151-
public function testcastToArrayExpression($configValue, $expectedValue)
151+
public function testCastToArrayExpression($configValue, $expectedValue)
152152
{
153153
$test = $this->getTestBuilder()
154154
->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
@@ -51,15 +51,15 @@ public function testResourceRemoval()
5151
private function getOpenedSemaphores()
5252
{
5353
if ('Darwin' === PHP_OS) {
54-
$lines = explode(PHP_EOL, trim(`ipcs -s`));
54+
$lines = explode(PHP_EOL, trim(shell_exec('ipcs -s')));
5555
if (-1 === $start = array_search('Semaphores:', $lines)) {
5656
throw new \Exception('Failed to extract list of opened semaphores. Expected a Semaphore list, got '.implode(PHP_EOL, $lines));
5757
}
5858

5959
return \count(\array_slice($lines, ++$start));
6060
}
6161

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

0 commit comments

Comments
 (0)
0