Passed
Pull Request — master (#41)
by Mathieu
03:31
created
src/DependencyInjection/Compiler/AccessCompilerPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
             }
55 55
 
56 56
             $roles[$annotation->getRole()] = array_map(
57
-                function (string $permission) use ($prefix) {
57
+                function(string $permission) use ($prefix) {
58 58
                     return $prefix . strtoupper($permission);
59 59
                 },
60 60
                 $annotation->permissions
Please login to merge, or discard this patch.
src/Reader/ListReader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
                 // the name property changes for ListAssociationField
35 35
                 $name = $property->getName();
36 36
                 if ($annotation instanceof ListAssociationField) {
37
-                    $name .= '.'.$annotation->getField();
37
+                    $name .= '.' . $annotation->getField();
38 38
                 }
39 39
 
40 40
                 if (!$annotation->hasPosition()) {
Please login to merge, or discard this patch.
src/Reader/ShowReader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
                 // the name property changes for ShowAssociationField
34 34
                 $name = $property->getName();
35 35
                 if ($annotation instanceof ShowAssociationField) {
36
-                    $name .= '.'.$annotation->getField();
36
+                    $name .= '.' . $annotation->getField();
37 37
                 }
38 38
 
39 39
                 if (!$annotation->hasPosition()) {
Please login to merge, or discard this patch.
src/Reader/DatagridReader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
                 // the name property changes for DatagridAssociationField
30 30
                 $name = $property->getName();
31 31
                 if ($annotation instanceof DatagridAssociationField) {
32
-                    $name .= '.'.$annotation->getField();
32
+                    $name .= '.' . $annotation->getField();
33 33
                 }
34 34
 
35 35
                 if (!$annotation->hasPosition()) {
Please login to merge, or discard this patch.
src/Resources/config/reader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
25 25
 use Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator;
26 26
 
27
-return static function (ContainerConfigurator $containerConfigurator): void {
27
+return static function(ContainerConfigurator $containerConfigurator): void {
28 28
     // Use "service" function for creating references to services when dropping support for Symfony 4.4
29 29
     // Use "param" function for creating references to parameters when dropping support for Symfony 5.1
30 30
     $containerConfigurator->services()
Please login to merge, or discard this patch.
src/DependencyInjection/SonataAnnotationExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
             $config['directory'] ?? $container->getParameter('kernel.project_dir') . '/src/'
25 25
         );
26 26
 
27
-        $loader = new PhpFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
27
+        $loader = new PhpFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
28 28
         $loader->load('reader.php');
29 29
     }
30 30
 }
Please login to merge, or discard this patch.