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 4e7293a

Browse filesBrowse files
committed
Merge branch '3.2'
* 3.2: fixed CS fixed CS
2 parents c633f91 + 2106e94 commit 4e7293a
Copy full SHA for 4e7293a

File tree

10 files changed

+9
-11
lines changed
Filter options

10 files changed

+9
-11
lines changed

‎src/Symfony/Bridge/Doctrine/Tests/DependencyInjection/CompilerPass/RegisterMappingsPassTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Doctrine/Tests/DependencyInjection/CompilerPass/RegisterMappingsPassTest.php
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ class RegisterMappingsPassTest extends \PHPUnit_Framework_TestCase
1515
public function testNoDriverParmeterException()
1616
{
1717
$container = $this->createBuilder(array(
18-
1918
));
2019
$this->process($container, array(
2120
'manager.param.one',

‎src/Symfony/Component/Cache/Adapter/FilesystemAdapterTrait.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Cache/Adapter/FilesystemAdapterTrait.php
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace Symfony\Component\Cache\Adapter;
1313

14-
use Symfony\Component\Cache\Exception\CacheException;
1514
use Symfony\Component\Cache\Exception\InvalidArgumentException;
1615

1716
/**

‎src/Symfony/Component/Console/Tester/CommandTester.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Tester/CommandTester.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ private static function createStream(array $inputs)
155155
{
156156
$stream = fopen('php://memory', 'r+', false);
157157

158-
fputs($stream, implode(PHP_EOL, $inputs));
158+
fwrite($stream, implode(PHP_EOL, $inputs));
159159
rewind($stream);
160160

161161
return $stream;

‎src/Symfony/Component/Console/Tests/Fixtures/Style/SymfonyStyle/command/interactive_command_1.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Tests/Fixtures/Style/SymfonyStyle/command/interactive_command_1.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
$output = new SymfonyStyle($input, $output);
1010
$stream = fopen('php://memory', 'r+', false);
1111

12-
fputs($stream, "Foo\nBar\nBaz");
12+
fwrite($stream, "Foo\nBar\nBaz");
1313
rewind($stream);
1414
$input->setStream($stream);
1515

‎src/Symfony/Component/Debug/Exception/FlattenException.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/Exception/FlattenException.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ private function flattenArgs($args, $level = 0, &$count = 0)
240240
$result[$key] = array('null', null);
241241
} elseif (is_bool($value)) {
242242
$result[$key] = array('boolean', $value);
243-
} elseif (is_integer($value)) {
243+
} elseif (is_int($value)) {
244244
$result[$key] = array('integer', $value);
245245
} elseif (is_float($value)) {
246246
$result[$key] = array('float', $value);

‎src/Symfony/Component/Debug/Tests/Exception/FlattenExceptionTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Debug/Tests/Exception/FlattenExceptionTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ function () {},
255255

256256
// assertEquals() does not like NAN values.
257257
$this->assertEquals($array[$i][0], 'float');
258-
$this->assertTrue(is_nan($array[$i++][1]));
258+
$this->assertNan($array[$i++][1]);
259259
}
260260

261261
public function testRecursionInArguments()

‎src/Symfony/Component/DomCrawler/Tests/CrawlerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/DomCrawler/Tests/CrawlerTest.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ public function testConstructor()
3030
public function testGetUri()
3131
{
3232
$uri = 'http://symfony.com';
33-
$crawler = new Crawler(null, $uri);
33+
$crawler = new Crawler(null, $uri);
3434
$this->assertEquals($uri, $crawler->getUri());
3535
}
3636

3737
public function testGetBaseHref()
3838
{
3939
$baseHref = 'http://symfony.com';
40-
$crawler = new Crawler(null, null, $baseHref);
40+
$crawler = new Crawler(null, null, $baseHref);
4141
$this->assertEquals($baseHref, $crawler->getBaseHref());
4242
}
4343

‎src/Symfony/Component/Process/Tests/ProcessTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Process/Tests/ProcessTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1281,7 +1281,7 @@ public function testInputStreamOnEmpty()
12811281
{
12821282
$i = 0;
12831283
$input = new InputStream();
1284-
$input->onEmpty(function () use (&$i) {++$i;});
1284+
$input->onEmpty(function () use (&$i) { ++$i; });
12851285

12861286
$process = $this->getProcess(self::$phpBin.' -r '.escapeshellarg('echo 123; echo fread(STDIN, 1); echo 456;'));
12871287
$process->setInput($input);

‎src/Symfony/Component/Validator/Tests/Constraints/EmailValidatorTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Tests/Constraints/EmailValidatorTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public function testStrictWithInvalidEmails($email)
123123
}
124124

125125
/**
126-
* @link https://github.com/egulias/EmailValidator/blob/1.2.8/tests/egulias/Tests/EmailValidator/EmailValidatorTest.php
126+
* @see https://github.com/egulias/EmailValidator/blob/1.2.8/tests/egulias/Tests/EmailValidator/EmailValidatorTest.php
127127
*/
128128
public function getInvalidEmailsForStrictChecks()
129129
{

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/VarDumper/Cloner/Data.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ private function dumpChildren($dumper, $parentCursor, &$refs, $children, $hashCu
256256
$cursor->hashCut = $hashCut;
257257
foreach ($children as $key => $child) {
258258
$cursor->hashKeyIsBinary = isset($key[0]) && !preg_match('//u', $key);
259-
$cursor->hashKey = $dumpKeys ? $key : null;
259+
$cursor->hashKey = $dumpKeys ? $key : null;
260260
$this->dumpItem($dumper, $cursor, $refs, $child);
261261
if (++$cursor->hashIndex === $this->maxItemsPerDepth || $cursor->stop) {
262262
$parentCursor->stop = true;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.