Completed
Push — master ( a472fe...67507a )
by Paweł
12s
created
src/Form/Type/StaticContentType.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
                 'allow_delete' => true,
40 40
                 'by_reference' => false,
41 41
                 'label' => 'lakion_sylius_cms.form.static_content.routes',
42
-             ])
42
+                ])
43 43
             ->add('body', TextareaType::class, [
44 44
                 'required' => false,
45 45
                 'label' => 'lakion_sylius_cms.form.static_content.body',
Please login to merge, or discard this patch.
src/Tests/Application/app/autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 
6 6
 /** @var ClassLoader $loader */
7 7
 $loader = require __DIR__.'/../../../../vendor/autoload.php';
8
-require_once __DIR__ . '/AppKernel.php';
8
+require_once __DIR__.'/AppKernel.php';
9 9
 
10 10
 AnnotationRegistry::registerLoader([$loader, 'loadClass']);
11 11
 
Please login to merge, or discard this patch.
src/Tests/Application/app/AppKernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,6 +32,6 @@
 block discarded – undo
32 32
      */
33 33
     public function registerContainerConfiguration(LoaderInterface $loader)
34 34
     {
35
-        $loader->load($this->getRootDir() . '/config/config.yml');
35
+        $loader->load($this->getRootDir().'/config/config.yml');
36 36
     }
37 37
 }
Please login to merge, or discard this patch.
src/Repository/StaticContentRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     public function findPublishedOneByName($name)
33 33
     {
34 34
         /** @var StaticContent|null $staticContent */
35
-        $staticContent = $this->find($this->staticContentPath . '/' . $name);
35
+        $staticContent = $this->find($this->staticContentPath.'/'.$name);
36 36
 
37 37
         if (null === $staticContent || !$staticContent->isPublishable()) {
38 38
             return null;
Please login to merge, or discard this patch.
src/Fixture/Factory/RouteExampleFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
         $this->faker = \Faker\Factory::create();
41 41
         $this->optionsResolver =
42 42
             (new OptionsResolver())
43
-                ->setDefault('name', function (Options $options) {
43
+                ->setDefault('name', function(Options $options) {
44 44
                     return StringInflector::nameToCode($this->faker->words(3, true));
45 45
                 })
46 46
                 ->setDefault('content', LazyOption::randomOne($staticContentRepository))
Please login to merge, or discard this patch.
src/Fixture/Factory/StaticContentExampleFactory.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,16 +36,16 @@
 block discarded – undo
36 36
         $this->faker = \Faker\Factory::create();
37 37
         $this->optionsResolver =
38 38
             (new OptionsResolver())
39
-                ->setDefault('title', function (Options $options) {
39
+                ->setDefault('title', function(Options $options) {
40 40
                     return $this->faker->words(3, true);
41 41
                 })
42
-                ->setDefault('name', function (Options $options) {
42
+                ->setDefault('name', function(Options $options) {
43 43
                     return StringInflector::nameToCode($options['title']);
44 44
                 })
45
-                ->setDefault('body', function (Options $options) {
45
+                ->setDefault('body', function(Options $options) {
46 46
                     return $this->faker->paragraphs(4, true);
47 47
                 })
48
-                ->setDefault('publishable', function (Options $options) {
48
+                ->setDefault('publishable', function(Options $options) {
49 49
                     return $this->faker->boolean(90);
50 50
                 })
51 51
                 ->setAllowedTypes('publishable', 'bool')
Please login to merge, or discard this patch.