diff --git a/src/Symfony/Bridge/Doctrine/Tests/Fixtures/SingleIdentEntity.php b/src/Symfony/Bridge/Doctrine/Tests/Fixtures/SingleIdentEntity.php index 27035772a153..6eab8517462b 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 5d1fd3c52bc9..34257c7120cc 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 @@ trait TFoo { } - class CFoo { + class CFoo + { use TFoo; } } @@ -22,7 +23,8 @@ trait TFooBar { } - 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 d8cac26f2790..d1c2e3908926 100644 --- a/src/Symfony/Component/Console/Application.php +++ b/src/Symfony/Component/Console/Application.php @@ -1033,7 +1033,8 @@ private function findAlternativeNamespace($name, $abbrevs) * * @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 10f5e17d99d6..c62fc10bad4d 100644 --- a/src/Symfony/Component/EventDispatcher/Tests/ContainerAwareEventDispatcherTest.php +++ b/src/Symfony/Component/EventDispatcher/Tests/ContainerAwareEventDispatcherTest.php @@ -242,7 +242,8 @@ function onEvent(Event $e) 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 634b7deda947..165cf254139c 100644 --- a/src/Symfony/Component/Locale/Tests/TestCase.php +++ b/src/Symfony/Component/Locale/Tests/TestCase.php @@ -71,7 +71,8 @@ protected function isGreaterOrEqualThanIcuVersion($version) 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 324f375925c0..e96681c189d9 100644 --- a/src/Symfony/Component/Translation/Tests/Dumper/YamlFileDumperTest.php +++ b/src/Symfony/Component/Translation/Tests/Dumper/YamlFileDumperTest.php @@ -16,7 +16,8 @@ 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 b5a80d3a53f3..303e22868f14 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/CsvFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/CsvFileLoaderTest.php @@ -16,7 +16,8 @@ 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 9214675a02da..5dc85f1b561e 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/IcuDatFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/IcuDatFileLoaderTest.php @@ -16,7 +16,8 @@ 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 4c7960e2d8e6..eeb84bc0e720 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/IcuResFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/IcuResFileLoaderTest.php @@ -16,7 +16,8 @@ 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 8e73d5c26910..30dd3595ed84 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/IniFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/IniFileLoaderTest.php @@ -16,7 +16,8 @@ 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 00870e711e22..b90d07cb3a27 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/MoFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/MoFileLoaderTest.php @@ -16,7 +16,8 @@ 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 dc5dda304a4a..e90aa995392d 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/PhpFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/PhpFileLoaderTest.php @@ -16,7 +16,8 @@ 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 8b518fe9702e..39039120d23b 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/PoFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/PoFileLoaderTest.php @@ -16,7 +16,8 @@ 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 34edc451c8b4..16c2f78f6fd6 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/QtTranslationsLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/QtTranslationsLoaderTest.php @@ -16,7 +16,8 @@ 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 1afeabb7fea0..230ee9903f6e 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/XliffFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/XliffFileLoaderTest.php @@ -16,7 +16,8 @@ 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 30ab24de346c..d954dd3f5efd 100644 --- a/src/Symfony/Component/Translation/Tests/Loader/YamlFileLoaderTest.php +++ b/src/Symfony/Component/Translation/Tests/Loader/YamlFileLoaderTest.php @@ -16,7 +16,8 @@ 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'); }