Passed
Push — feat/manage-settings ( 112b09...dbdc5f )
by
unknown
01:41
created
server/src/Core/Domain/Common/Model/Dependent/FamilyLog.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,9 +34,9 @@  discard block
 block discarded – undo
34 34
         if (null !== $parent) {
35 35
             $this->parent = $parent;
36 36
             $this->parent->addChild($this);
37
-            $this->path = $parent->slug() . ':' . $name->slugify();
37
+            $this->path = $parent->slug().':'.$name->slugify();
38 38
             if (null !== $this->parent->parent) {
39
-                $this->path = $this->parent->parent->slug() . ':' . $this->parent->slug() . ':' . $name->slugify();
39
+                $this->path = $this->parent->parent->slug().':'.$this->parent->slug().':'.$name->slugify();
40 40
             }
41 41
         }
42 42
     }
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
     private function hasChildren(self $familyLog): ?array
83 83
     {
84 84
         if (null !== $familyLog->children) {
85
-            return \array_map(static function (self $child) {
85
+            return \array_map(static function(self $child) {
86 86
                 return $child->name;
87 87
             }, $familyLog->children);
88 88
         }
Please login to merge, or discard this patch.
server/src/Core/Domain/Common/Model/Dependent/Taxes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     public static function fromPercent(string $name): self
44 44
     {
45 45
         \preg_match('/^(\d*)(,(\d*?)) %$/u', \trim($name), $str);
46
-        $float = $str[1] . '.' . $str[3];
46
+        $float = $str[1].'.'.$str[3];
47 47
 
48 48
         return new self((float) $float);
49 49
     }
Please login to merge, or discard this patch.
server/src/Core/Domain/Common/Model/VO/ContactAddress.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 
52 52
     public function getValue(): string
53 53
     {
54
-        return $this->address . "\n" . $this->zipCode . ' ' . $this->town . ', ' . $this->country;
54
+        return $this->address."\n".$this->zipCode.' '.$this->town.', '.$this->country;
55 55
     }
56 56
 
57 57
     public function address(): string
Please login to merge, or discard this patch.
server/src/Inventory/Infrastructure/Controller/PrepareController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@
 block discarded – undo
25 25
     public function __invoke(): BinaryFileResponse
26 26
     {
27 27
         $projectDir = $this->getParameter('kernel.project_dir');
28
-        $dataInventoryFolder = $projectDir . '/data/Inventory';
29
-        $prepareFile = new \SplFileInfo($dataInventoryFolder . '/prepare.pdf');
28
+        $dataInventoryFolder = $projectDir.'/data/Inventory';
29
+        $prepareFile = new \SplFileInfo($dataInventoryFolder.'/prepare.pdf');
30 30
 
31 31
         return new BinaryFileResponse($prepareFile);
32 32
     }
Please login to merge, or discard this patch.
Infrastructure/Finders/DoctrineOrm/DoctrineSupplierFinder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
         ;
69 69
 
70 70
         return new Suppliers(
71
-            ...\array_map(static function (Supplier $supplier) {
71
+            ...\array_map(static function(Supplier $supplier) {
72 72
                 return new SupplierReadModel(
73 73
                     $supplier->getUuid(),
74 74
                     $supplier->getCompanyName(),
Please login to merge, or discard this patch.
Administration/Infrastructure/Finders/DoctrineOrm/DoctrineUserFinder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
         ;
92 92
 
93 93
         return new Users(
94
-            ...\array_map(static function (User $user) {
94
+            ...\array_map(static function(User $user) {
95 95
                 return new UserReadModel(
96 96
                     $user->getUuid(),
97 97
                     $user->getUsername(),
Please login to merge, or discard this patch.
server/src/Core/Infrastructure/Kernel.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -26,27 +26,27 @@
 block discarded – undo
26 26
     protected function configureContainer(ContainerConfigurator $container, LoaderInterface $loader): void
27 27
     {
28 28
         $container->import('../../../config/{packages}/*.yaml');
29
-        $container->import('../../../config/{packages}/' . $this->environment . '/*.yaml');
29
+        $container->import('../../../config/{packages}/'.$this->environment.'/*.yaml');
30 30
 
31
-        if (\is_file(\dirname(__DIR__, 3) . '/config/services.yaml')) {
31
+        if (\is_file(\dirname(__DIR__, 3).'/config/services.yaml')) {
32 32
             $container->import('../../../config/services.yaml');
33
-            $container->import('../../../config/{services}_' . $this->environment . '.yaml');
34
-        } elseif (\is_file($path = \dirname(__DIR__, 3) . '/config/services.php')) {
33
+            $container->import('../../../config/{services}_'.$this->environment.'.yaml');
34
+        } elseif (\is_file($path = \dirname(__DIR__, 3).'/config/services.php')) {
35 35
             (require $path)($container->withPath($path), $this);
36 36
         }
37 37
 
38
-        $loader->load($this->getProjectDir() . '/src/**/Infrastructure/Symfony/Resources/config/services.yaml', 'glob');
38
+        $loader->load($this->getProjectDir().'/src/**/Infrastructure/Symfony/Resources/config/services.yaml', 'glob');
39 39
     }
40 40
 
41 41
     protected function configureRoutes(RoutingConfigurator $routes): void
42 42
     {
43
-        $routes->import('../../../config/{routes}/' . $this->environment . '/*.yaml');
43
+        $routes->import('../../../config/{routes}/'.$this->environment.'/*.yaml');
44 44
         $routes->import('../../../config/{routes}/*.yaml');
45
-        $routes->import($this->getProjectDir() . '/src/**/Infrastructure/Symfony/Resources/config/routes.yaml', 'glob');
45
+        $routes->import($this->getProjectDir().'/src/**/Infrastructure/Symfony/Resources/config/routes.yaml', 'glob');
46 46
 
47
-        if (\is_file(\dirname(__DIR__, 3) . '/config/routes.yaml')) {
47
+        if (\is_file(\dirname(__DIR__, 3).'/config/routes.yaml')) {
48 48
             $routes->import('../../../config/routes.yaml');
49
-        } elseif (\is_file($path = \dirname(__DIR__, 3) . '/config/routes.php')) {
49
+        } elseif (\is_file($path = \dirname(__DIR__, 3).'/config/routes.php')) {
50 50
             (require $path)($routes->withPath($path), $this);
51 51
         }
52 52
     }
Please login to merge, or discard this patch.