Completed
Push — master ( 00da88...18ec14 )
by Kamil
22:59
created
src/Sylius/Bundle/FixturesBundle/DataFixtures/DataFixture.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
         $countries = array_slice($allCountries, 0, count($allCountries) - 5, true);
151 151
 
152 152
         $countryCode = array_rand($countries);
153
-        $country = $this->getReference("Sylius.Country." . $countryCode);
153
+        $country = $this->getReference("Sylius.Country.".$countryCode);
154 154
 
155 155
         if ($province = $country->hasProvinces() ? $this->faker->randomElement($country->getProvinces()->toArray()) : null) {
156 156
             $address->setProvince($province->getCode());
Please login to merge, or discard this patch.
Bundle/ArchetypeBundle/DependencyInjection/SyliusArchetypeExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,6 +108,6 @@
 block discarded – undo
108 108
             ->setArguments(array(new Reference(sprintf('sylius.factory.%s_attribute_value', $subjectName))))
109 109
         ;
110 110
 
111
-        $container->setDefinition('sylius.builder.' . $subjectName . '_archetype', $builderDefinition);
111
+        $container->setDefinition('sylius.builder.'.$subjectName.'_archetype', $builderDefinition);
112 112
     }
113 113
 }
Please login to merge, or discard this patch.
Bundle/ArchetypeBundle/Form/EventListener/ParentArchetypeListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         );
63 63
 
64 64
         if (null != $currentArchetype->getId()) {
65
-            $parentOptions['query_builder'] = function (RepositoryInterface $repository) use ($currentArchetype) {
65
+            $parentOptions['query_builder'] = function(RepositoryInterface $repository) use ($currentArchetype) {
66 66
                 return $repository
67 67
                     ->createQueryBuilder('o')
68 68
                     ->where('o.id != :id')
Please login to merge, or discard this patch.