Completed
Push — master ( 2faef5...2c882d )
by
unknown
29s
created
src/SumoCoders/FrameworkCoreBundle/Extensions/Doctrine/MatchAgainst.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,10 +56,10 @@
 block discarded – undo
56 56
             $haystack .= $column->dispatch($sqlWalker);
57 57
         }
58 58
 
59
-        $query = "MATCH(" . $haystack . ") AGAINST (" . $this->needle->dispatch($sqlWalker);
59
+        $query = "MATCH(".$haystack.") AGAINST (".$this->needle->dispatch($sqlWalker);
60 60
 
61 61
         if ($this->mode) {
62
-            $query .= " " . $this->mode->value . " )";
62
+            $query .= " ".$this->mode->value." )";
63 63
         } else {
64 64
             $query .= " )";
65 65
         }
Please login to merge, or discard this patch.
DependencyInjection/SumoCodersFrameworkCoreExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      */
20 20
     public function load(array $configs, ContainerBuilder $container)
21 21
     {
22
-        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
22
+        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
23 23
         $loader->load('services.yml');
24 24
         $loader->load('parameters.yml');
25 25
     }
Please login to merge, or discard this patch.
src/SumoCoders/FrameworkCoreBundle/Form/Extension/DateTimeTypeExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,6 +51,6 @@
 block discarded – undo
51 51
 
52 52
     private function convertToJsFormat(string $intlFormat): string
53 53
     {
54
-        return str_replace(['y', 'MM', 'd', 'H', 'i'], ['YYYY','MM', 'DD', 'HH', 'mm'], $intlFormat);
54
+        return str_replace(['y', 'MM', 'd', 'H', 'i'], ['YYYY', 'MM', 'DD', 'HH', 'mm'], $intlFormat);
55 55
     }
56 56
 }
Please login to merge, or discard this patch.
src/SumoCoders/FrameworkCoreBundle/Form/Extension/DateTypeExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,6 +52,6 @@
 block discarded – undo
52 52
 
53 53
     private function convertToJsFormat(string $intlFormat): string
54 54
     {
55
-        return str_replace(['y', 'MM', 'd'], ['YYYY','MM', 'DD'], $intlFormat);
55
+        return str_replace(['y', 'MM', 'd'], ['YYYY', 'MM', 'DD'], $intlFormat);
56 56
     }
57 57
 }
Please login to merge, or discard this patch.
DependencyInjection/SumoCodersFrameworkUserExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     public function load(array $configs, ContainerBuilder $container)
13 13
     {
14
-        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
14
+        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
15 15
         $loader->load('services.yml');
16 16
     }
17 17
 }
Please login to merge, or discard this patch.
src/SumoCoders/FrameworkUserBundle/Controller/EditController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
      *
65 65
      * @throws AccessDeniedHttpException if not allowed to edit user
66 66
      */
67
-    public function editAction(Request $request, ?int $id): array
67
+    public function editAction(Request $request, ?int $id) : array
68 68
     {
69 69
         if (!$this->authorizationChecker->isGranted('ROLE_ADMIN')
70 70
             && $this->tokenStorage->getToken()->getUser()->getId() !== $id
Please login to merge, or discard this patch.
src/SumoCoders/FrameworkUserBundle/Twig/UserExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,13 +15,13 @@
 block discarded – undo
15 15
         return [
16 16
             new Twig_SimpleTest(
17 17
                 'admin',
18
-                function (BaseUser $user) {
18
+                function(BaseUser $user) {
19 19
                     return $user instanceof Admin;
20 20
                 }
21 21
             ),
22 22
             new Twig_SimpleTest(
23 23
                 'user',
24
-                function (BaseUser $user) {
24
+                function(BaseUser $user) {
25 25
                     return $user instanceof User;
26 26
                 }
27 27
             ),
Please login to merge, or discard this patch.
src/SumoCoders/FrameworkCoreBundle/Controller/DefaultController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,10 +37,10 @@  discard block
 block discarded – undo
37 37
 
38 38
         // cache the result when we're in production environment
39 39
         if ($this->container->get('kernel')->getEnvironment() === 'prod') {
40
-            $webDir = $this->get('kernel')->getRootDir() . '/../web/';
40
+            $webDir = $this->get('kernel')->getRootDir().'/../web/';
41 41
             $fs = new Filesystem();
42 42
             $fs->dumpfile(
43
-                $webDir . $request->getLocale() . '/locale.json',
43
+                $webDir.$request->getLocale().'/locale.json',
44 44
                 json_encode($translations)
45 45
             );
46 46
         }
@@ -87,12 +87,12 @@  discard block
 block discarded – undo
87 87
         $dirs = [];
88 88
         foreach ($this->container->getParameter('kernel.bundles') as $bundle) {
89 89
             $reflection = new \ReflectionClass($bundle);
90
-            if (is_dir($dir = dirname($reflection->getFilename()) . '/Resources/translations')) {
90
+            if (is_dir($dir = dirname($reflection->getFilename()).'/Resources/translations')) {
91 91
                 $dirs[] = $dir;
92 92
             }
93 93
         }
94 94
 
95
-        if (is_dir($dir = $this->container->getParameter('kernel.root_dir') . '/Resources/translations')) {
95
+        if (is_dir($dir = $this->container->getParameter('kernel.root_dir').'/Resources/translations')) {
96 96
             $dirs[] = $dir;
97 97
         }
98 98
 
Please login to merge, or discard this patch.