@@ -16,7 +16,7 @@ |
||
16 | 16 | return; |
17 | 17 | } |
18 | 18 | |
19 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../../Resources/config')); |
|
19 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../../Resources/config')); |
|
20 | 20 | $loader->load('forms.yml'); |
21 | 21 | } |
22 | 22 | } |
@@ -26,7 +26,7 @@ |
||
26 | 26 | $container->removeDefinition('jms_serializer.form_error_handler'); |
27 | 27 | } |
28 | 28 | |
29 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../../Resources/config')); |
|
29 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../../Resources/config')); |
|
30 | 30 | $loader->load('jms_serializer.yml'); |
31 | 31 | |
32 | 32 | if ($container->has('validator')) { |
@@ -21,7 +21,7 @@ |
||
21 | 21 | return; |
22 | 22 | } |
23 | 23 | |
24 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../../Resources/config')); |
|
24 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../../Resources/config')); |
|
25 | 25 | $loader->load('doctrine.yml'); |
26 | 26 | |
27 | 27 | $factory = $container->getDefinition('cruds.factory.reflection'); |
@@ -53,7 +53,7 @@ |
||
53 | 53 | $manager = $this->registry->getManagerForClass($class); |
54 | 54 | |
55 | 55 | if (null === $manager) { |
56 | - throw new \RuntimeException('Not supported class ' . $class); |
|
56 | + throw new \RuntimeException('Not supported class '.$class); |
|
57 | 57 | } |
58 | 58 | |
59 | 59 | if ($manager instanceof EntityManagerInterface) { |
@@ -29,10 +29,10 @@ |
||
29 | 29 | * {@inheritdoc} |
30 | 30 | */ |
31 | 31 | public function construct(VisitorInterface $visitor, |
32 | - ClassMetadata $metadata, |
|
33 | - $data, |
|
34 | - array $type, |
|
35 | - DeserializationContext $context |
|
32 | + ClassMetadata $metadata, |
|
33 | + $data, |
|
34 | + array $type, |
|
35 | + DeserializationContext $context |
|
36 | 36 | ) { |
37 | 37 | if ($context->attributes->containsKey('target') && $context->getDepth() === 1) { |
38 | 38 | return $context->attributes->get('target')->get(); |
@@ -34,7 +34,7 @@ |
||
34 | 34 | } |
35 | 35 | |
36 | 36 | return new static( |
37 | - 'Invalid data submitted for entity: ' . PHP_EOL . |
|
37 | + 'Invalid data submitted for entity: '.PHP_EOL. |
|
38 | 38 | Yaml::dump($errors) |
39 | 39 | ); |
40 | 40 | } |
@@ -3,7 +3,7 @@ |
||
3 | 3 | use ScayTrase\Api\Cruds\DependencyInjection\Configuration; |
4 | 4 | use Symfony\Component\Config\Definition\Dumper\YamlReferenceDumper; |
5 | 5 | |
6 | -require_once __DIR__ . '/../vendor/autoload.php'; |
|
6 | +require_once __DIR__.'/../vendor/autoload.php'; |
|
7 | 7 | |
8 | 8 | $config = new Configuration(); |
9 | 9 | $dumper = new YamlReferenceDumper(); |