This commit is contained in:
Fabien Potencier 2016-06-21 08:43:40 +02:00
parent 0691506b1b
commit a41f359e51
4 changed files with 12 additions and 13 deletions

View File

@ -921,7 +921,6 @@ class FilesystemTest extends FilesystemTestCase
$this->assertTrue(is_file($link)); $this->assertTrue(is_file($link));
$this->assertEquals(fileinode($file), fileinode($link)); $this->assertEquals(fileinode($file), fileinode($link));
} }
public function testLinkWithSeveralTargets() public function testLinkWithSeveralTargets()

View File

@ -22,29 +22,29 @@ class CallbackChoiceLoaderTest extends \PHPUnit_Framework_TestCase
/** /**
* @var \Symfony\Component\Form\ChoiceList\Loader\CallbackChoiceLoader * @var \Symfony\Component\Form\ChoiceList\Loader\CallbackChoiceLoader
*/ */
static private $loader; private static $loader;
/** /**
* @var callable * @var callable
*/ */
static private $value; private static $value;
/** /**
* @var array * @var array
*/ */
static private $choices; private static $choices;
/** /**
* @var string[] * @var string[]
*/ */
static private $choiceValues; private static $choiceValues;
/** /**
* @var \Symfony\Component\Form\ChoiceList\LazyChoiceList * @var \Symfony\Component\Form\ChoiceList\LazyChoiceList
*/ */
static private $lazyChoiceList; private static $lazyChoiceList;
static public function setUpBeforeClass() public static function setUpBeforeClass()
{ {
self::$loader = new CallbackChoiceLoader(function () { self::$loader = new CallbackChoiceLoader(function () {
return self::$choices; return self::$choices;
@ -90,7 +90,7 @@ class CallbackChoiceLoaderTest extends \PHPUnit_Framework_TestCase
); );
} }
static public function tearDownAfterClass() public static function tearDownAfterClass()
{ {
self::$loader = null; self::$loader = null;
self::$value = null; self::$value = null;