Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1e1060f

Browse filesBrowse files
minor #36756 [3.4] CS fixes (nicolas-grekas)
This PR was merged into the 3.4 branch. Discussion ---------- [3.4] CS fixes | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Commits ------- 02b378f [3.4] CS fixes
2 parents f6ae18e + 02b378f commit 1e1060f
Copy full SHA for 1e1060f

File tree

Expand file treeCollapse file tree

3 files changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+4
-4
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Config/Tests/Definition/Builder/ExprBuilderTest.php
+1-1Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Tests/TerminalTest.php
+1-1Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Lock/Tests/Store/SemaphoreStoreTest.php
+2-2Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.