CS: fixes
This commit is contained in:
parent
8593b90465
commit
11e3a9e4e5
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace {
|
||||
class A
|
||||
{
|
||||
|
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
namespace {
|
||||
trait TFoo
|
||||
{
|
||||
|
@ -114,7 +114,7 @@ class ExprBuilderTest extends \PHPUnit_Framework_TestCase
|
||||
$this->assertFinalizedValueIs('new_value', $test);
|
||||
|
||||
$test = $this->getTestBuilder()
|
||||
->ifNotInArray(array('foo', 'bar', 'value_from_config' ))
|
||||
->ifNotInArray(array('foo', 'bar', 'value_from_config'))
|
||||
->then($this->returnClosure('new_value'))
|
||||
->end();
|
||||
$this->assertFinalizedValueIs('new_value', $test);
|
||||
|
@ -36,7 +36,8 @@ class FilePathsIteratorTest extends RealIteratorTestCase
|
||||
return array(
|
||||
array(
|
||||
$tmpDir,
|
||||
array( // paths
|
||||
array(
|
||||
// paths
|
||||
$tmpDir.DIRECTORY_SEPARATOR.'.git' => $tmpDir.DIRECTORY_SEPARATOR.'.git',
|
||||
$tmpDir.DIRECTORY_SEPARATOR.'test.py' => $tmpDir.DIRECTORY_SEPARATOR.'test.py',
|
||||
$tmpDir.DIRECTORY_SEPARATOR.'foo' => $tmpDir.DIRECTORY_SEPARATOR.'foo',
|
||||
@ -44,7 +45,8 @@ class FilePathsIteratorTest extends RealIteratorTestCase
|
||||
$tmpDir.DIRECTORY_SEPARATOR.'test.php' => $tmpDir.DIRECTORY_SEPARATOR.'test.php',
|
||||
$tmpDir.DIRECTORY_SEPARATOR.'toto' => $tmpDir.DIRECTORY_SEPARATOR.'toto',
|
||||
),
|
||||
array( // subPaths
|
||||
array(
|
||||
// subPaths
|
||||
$tmpDir.DIRECTORY_SEPARATOR.'.git' => '',
|
||||
$tmpDir.DIRECTORY_SEPARATOR.'test.py' => '',
|
||||
$tmpDir.DIRECTORY_SEPARATOR.'foo' => '',
|
||||
@ -52,7 +54,8 @@ class FilePathsIteratorTest extends RealIteratorTestCase
|
||||
$tmpDir.DIRECTORY_SEPARATOR.'test.php' => '',
|
||||
$tmpDir.DIRECTORY_SEPARATOR.'toto' => '',
|
||||
),
|
||||
array( // subPathnames
|
||||
array(
|
||||
// subPathnames
|
||||
$tmpDir.DIRECTORY_SEPARATOR.'.git' => '.git',
|
||||
$tmpDir.DIRECTORY_SEPARATOR.'test.py' => 'test.py',
|
||||
$tmpDir.DIRECTORY_SEPARATOR.'foo' => 'foo',
|
||||
|
@ -1,13 +1,13 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\Form\Tests;
|
||||
|
||||
|
@ -1,5 +1,14 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Symfony\Component\Form\Tests;
|
||||
|
||||
use Symfony\Component\Form\CallbackTransformer;
|
||||
@ -30,8 +39,8 @@ class CallbackTransformerTest extends \PHPUnit_Framework_TestCase
|
||||
public function invalidCallbacksProvider()
|
||||
{
|
||||
return array(
|
||||
array( null, function () {} ),
|
||||
array( function () {}, null ),
|
||||
array(null, function () {}),
|
||||
array(function () {}, null),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
|
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
use Symfony\Component\Routing\RouteCollection;
|
||||
use Symfony\Component\Routing\Route;
|
||||
|
||||
|
Reference in New Issue
Block a user