diff --git a/src/Symfony/Bridge/Doctrine/Tests/Fixtures/SingleIdentEntity.php b/src/Symfony/Bridge/Doctrine/Tests/Fixtures/SingleIdentEntity.php index 27035772a1..6eab851746 100644 --- a/src/Symfony/Bridge/Doctrine/Tests/Fixtures/SingleIdentEntity.php +++ b/src/Symfony/Bridge/Doctrine/Tests/Fixtures/SingleIdentEntity.php @@ -24,7 +24,8 @@ class SingleIdentEntity /** @Column(type="string", nullable=true) */ public $name; - public function __construct($id, $name) { + public function __construct($id, $name) + { $this->id = $id; $this->name = $name; } diff --git a/src/Symfony/Component/ClassLoader/Tests/Fixtures/php5.4/traits.php b/src/Symfony/Component/ClassLoader/Tests/Fixtures/php5.4/traits.php index 5d1fd3c52b..34257c7120 100644 --- a/src/Symfony/Component/ClassLoader/Tests/Fixtures/php5.4/traits.php +++ b/src/Symfony/Component/ClassLoader/Tests/Fixtures/php5.4/traits.php @@ -4,7 +4,8 @@ namespace { } - class CFoo { + class CFoo + { use TFoo; } } @@ -22,7 +23,8 @@ namespace Foo { } - class CBar implements IBar { + class CBar implements IBar + { use TBar, TFooBar; } } diff --git a/src/Symfony/Component/Console/Application.php b/src/Symfony/Component/Console/Application.php index d8cac26f27..d1c2e39089 100644 --- a/src/Symfony/Component/Console/Application.php +++ b/src/Symfony/Component/Console/Application.php @@ -1033,7 +1033,8 @@ class Application * * @return array A sorted array of similar string */ - private function findAlternatives($name, $collection, $abbrevs, $callback = null) { + private function findAlternatives($name, $collection, $abbrevs, $callback = null) + { $alternatives = array(); foreach ($collection as $item) { diff --git a/src/Symfony/Component/EventDispatcher/Tests/ContainerAwareEventDispatcherTest.php b/src/Symfony/Component/EventDispatcher/Tests/ContainerAwareEventDispatcherTest.php index 10f5e17d99..c62fc10bad 100644 --- a/src/Symfony/Component/EventDispatcher/Tests/ContainerAwareEventDispatcherTest.php +++ b/src/Symfony/Component/EventDispatcher/Tests/ContainerAwareEventDispatcherTest.php @@ -242,7 +242,8 @@ class Service class SubscriberService implements EventSubscriberInterface { - static function getSubscribedEvents() { + static function getSubscribedEvents() + { return array( 'onEvent' => 'onEvent', 'onEvent' => array('onEvent', 10), diff --git a/src/Symfony/Component/Locale/Tests/TestCase.php b/src/Symfony/Component/Locale/Tests/TestCase.php index 634b7deda9..165cf25413 100644 --- a/src/Symfony/Component/Locale/Tests/TestCase.php +++ b/src/Symfony/Component/Locale/Tests/TestCase.php @@ -71,7 +71,8 @@ abstract class TestCase extends \PHPUnit_Framework_TestCase return $icuVersion >= $version; } - protected function isSameAsIcuVersion($version) { + protected function isSameAsIcuVersion($version) + { $version = $this->normalizeIcuVersion($version); $icuVersion = $this->normalizeIcuVersion($this->getIntlExtensionIcuVersion()); diff --git a/src/Symfony/Component/Translation/Tests/Dumper/YamlFileDumperTest.php b/src/Symfony/Component/Translation/Tests/Dumper/YamlFileDumperTest.php index 324f375925..e96681c189 100644 --- a/src/Symfony/Component/Translation/Tests/Dumper/YamlFileDumperTest.php +++ b/src/Symfony/Component/Translation/Tests/Dumper/YamlFileDumperTest.php @@ -16,7 +16,8 @@ use Symfony\Component\Translation\Dumper\YamlFileDumper; class YamlFileDumperTest extends \PHPUnit_Framework_TestCase { - protected function setUp() { + protected function setUp() + { if (!class_exists('Symfony\Component\Yaml\Yaml')) { $this->markTestSkipped('The "Yaml" component is not available'); } diff --git a/src/Symfony/Component/Translation/Tests/Loader/CsvFileLoaderTest.php b/src/Symfony/Component/Translation/Tests/Loader/CsvFileLoaderTest.php index b5a80d3a53..303e22868f 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/CsvFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/CsvFileLoaderTest.php @@ -16,7 +16,8 @@ use Symfony\Component\Config\Resource\FileResource; class CsvFileLoaderTest extends \PHPUnit_Framework_TestCase { - protected function setUp() { + protected function setUp() + { if (!class_exists('Symfony\Component\Config\Loader\Loader')) { $this->markTestSkipped('The "Config" component is not available'); } diff --git a/src/Symfony/Component/Translation/Tests/Loader/IcuDatFileLoaderTest.php b/src/Symfony/Component/Translation/Tests/Loader/IcuDatFileLoaderTest.php index 9214675a02..5dc85f1b56 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/IcuDatFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/IcuDatFileLoaderTest.php @@ -16,7 +16,8 @@ use Symfony\Component\Config\Resource\FileResource; class IcuDatFileLoaderTest extends LocalizedTestCase { - protected function setUp() { + protected function setUp() + { if (!class_exists('Symfony\Component\Config\Loader\Loader')) { $this->markTestSkipped('The "Config" component is not available'); } diff --git a/src/Symfony/Component/Translation/Tests/Loader/IcuResFileLoaderTest.php b/src/Symfony/Component/Translation/Tests/Loader/IcuResFileLoaderTest.php index 4c7960e2d8..eeb84bc0e7 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/IcuResFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/IcuResFileLoaderTest.php @@ -16,7 +16,8 @@ use Symfony\Component\Config\Resource\DirectoryResource; class IcuResFileLoaderTest extends LocalizedTestCase { - protected function setUp() { + protected function setUp() + { if (!class_exists('Symfony\Component\Config\Loader\Loader')) { $this->markTestSkipped('The "Config" component is not available'); } diff --git a/src/Symfony/Component/Translation/Tests/Loader/IniFileLoaderTest.php b/src/Symfony/Component/Translation/Tests/Loader/IniFileLoaderTest.php index 8e73d5c269..30dd3595ed 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/IniFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/IniFileLoaderTest.php @@ -16,7 +16,8 @@ use Symfony\Component\Config\Resource\FileResource; class IniFileLoaderTest extends \PHPUnit_Framework_TestCase { - protected function setUp() { + protected function setUp() + { if (!class_exists('Symfony\Component\Config\Loader\Loader')) { $this->markTestSkipped('The "Config" component is not available'); } diff --git a/src/Symfony/Component/Translation/Tests/Loader/MoFileLoaderTest.php b/src/Symfony/Component/Translation/Tests/Loader/MoFileLoaderTest.php index 00870e711e..b90d07cb3a 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/MoFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/MoFileLoaderTest.php @@ -16,7 +16,8 @@ use Symfony\Component\Config\Resource\FileResource; class MoFileLoaderTest extends \PHPUnit_Framework_TestCase { - protected function setUp() { + protected function setUp() + { if (!class_exists('Symfony\Component\Config\Loader\Loader')) { $this->markTestSkipped('The "Config" component is not available'); } diff --git a/src/Symfony/Component/Translation/Tests/Loader/PhpFileLoaderTest.php b/src/Symfony/Component/Translation/Tests/Loader/PhpFileLoaderTest.php index dc5dda304a..e90aa99539 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/PhpFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/PhpFileLoaderTest.php @@ -16,7 +16,8 @@ use Symfony\Component\Config\Resource\FileResource; class PhpFileLoaderTest extends \PHPUnit_Framework_TestCase { - protected function setUp() { + protected function setUp() + { if (!class_exists('Symfony\Component\Config\Loader\Loader')) { $this->markTestSkipped('The "Config" component is not available'); } diff --git a/src/Symfony/Component/Translation/Tests/Loader/PoFileLoaderTest.php b/src/Symfony/Component/Translation/Tests/Loader/PoFileLoaderTest.php index 8b518fe970..39039120d2 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/PoFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/PoFileLoaderTest.php @@ -16,7 +16,8 @@ use Symfony\Component\Config\Resource\FileResource; class PoFileLoaderTest extends \PHPUnit_Framework_TestCase { - protected function setUp() { + protected function setUp() + { if (!class_exists('Symfony\Component\Config\Loader\Loader')) { $this->markTestSkipped('The "Config" component is not available'); } diff --git a/src/Symfony/Component/Translation/Tests/Loader/QtTranslationsLoaderTest.php b/src/Symfony/Component/Translation/Tests/Loader/QtTranslationsLoaderTest.php index 34edc451c8..16c2f78f6f 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/QtTranslationsLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/QtTranslationsLoaderTest.php @@ -16,7 +16,8 @@ use Symfony\Component\Config\Resource\FileResource; class QtTranslationsLoaderTest extends \PHPUnit_Framework_TestCase { - protected function setUp() { + protected function setUp() + { if (!class_exists('Symfony\Component\Config\Loader\Loader')) { $this->markTestSkipped('The "Config" component is not available'); } diff --git a/src/Symfony/Component/Translation/Tests/Loader/XliffFileLoaderTest.php b/src/Symfony/Component/Translation/Tests/Loader/XliffFileLoaderTest.php index 1afeabb7fe..230ee9903f 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/XliffFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/XliffFileLoaderTest.php @@ -16,7 +16,8 @@ use Symfony\Component\Config\Resource\FileResource; class XliffFileLoaderTest extends \PHPUnit_Framework_TestCase { - protected function setUp() { + protected function setUp() + { if (!class_exists('Symfony\Component\Config\Loader\Loader')) { $this->markTestSkipped('The "Config" component is not available'); } diff --git a/src/Symfony/Component/Translation/Tests/Loader/YamlFileLoaderTest.php b/src/Symfony/Component/Translation/Tests/Loader/YamlFileLoaderTest.php index 30ab24de34..d954dd3f5e 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/YamlFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/YamlFileLoaderTest.php @@ -16,7 +16,8 @@ use Symfony\Component\Config\Resource\FileResource; class YamlFileLoaderTest extends \PHPUnit_Framework_TestCase { - protected function setUp() { + protected function setUp() + { if (!class_exists('Symfony\Component\Config\Loader\Loader')) { $this->markTestSkipped('The "Config" component is not available'); }