Completed
Branch master (b3931f)
by Daniel
10:34
created
src/Command/DebugCommand.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 use Symfony\Component\Console\Input\InputArgument;
12 12
 use Symfony\Component\Console\Input\InputInterface;
13 13
 use Symfony\Component\Console\Output\OutputInterface;
14
-use Symfony\Component\OptionsResolver\Options;
15 14
 
16 15
 class DebugCommand extends Command
17 16
 {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
 
82 82
     private function showField(OutputInterface $output, $key, LoadedField $field)
83 83
     {
84
-        $output->writeln('<info>Field: </info>' . $key);
84
+        $output->writeln('<info>Field: </info>'.$key);
85 85
         $output->write(PHP_EOL);
86 86
         $output->write('<comment>View: </comment>');
87 87
         $output->writeln($field->getInnerField()->getViewType());
Please login to merge, or discard this patch.
src/DependencyInjection/Compiler/AbstractRegistryPass.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -13,6 +13,10 @@
 block discarded – undo
13 13
     private $serviceTag;
14 14
     private $registerByAlias;
15 15
 
16
+    /**
17
+     * @param string $registryId
18
+     * @param string $serviceTag
19
+     */
16 20
     public function __construct(
17 21
         $registryId,
18 22
         $serviceTag,
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
             if ($this->registerByAlias) {
39 39
                 if (!isset($attributes['alias'])) {
40 40
                     throw new InvalidArgumentException(sprintf(
41
-                        $this->context . ' "%s" has no "alias" attribute in its tag',
41
+                        $this->context.' "%s" has no "alias" attribute in its tag',
42 42
                         $serviceId
43 43
                     ));
44 44
                 }
Please login to merge, or discard this patch.
src/DependencyInjection/Storage/PhpcrOdmLoader.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,9 +47,9 @@
 block discarded – undo
47 47
     public function load(array $config)
48 48
     {
49 49
         $prefix = 'psi_content_type.storage.doctrine_phpcr_odm.';
50
-        $this->container->setParameter($prefix . 'namespace_prefix', $config['phpcr']['namespace_prefix']);
51
-        $this->container->setParameter($prefix . 'namespace_uri', '');
52
-        $this->container->setParameter($prefix . 'mapped_namespaces', $config['mapped_namespaces']);
50
+        $this->container->setParameter($prefix.'namespace_prefix', $config['phpcr']['namespace_prefix']);
51
+        $this->container->setParameter($prefix.'namespace_uri', '');
52
+        $this->container->setParameter($prefix.'mapped_namespaces', $config['mapped_namespaces']);
53 53
 
54 54
 
55 55
         $loader = new Loader\XmlFileLoader($this->container, new FileLocator(__DIR__.'/../../Resources/config'));
Please login to merge, or discard this patch.
example/web/app_dev.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 use Symfony\Component\Debug\Debug;
5 5
 use Symfony\Component\HttpFoundation\Request;
6 6
 
7
-require __DIR__ . '/../../vendor/autoload.php';
7
+require __DIR__.'/../../vendor/autoload.php';
8 8
 
9 9
 Debug::enable();
10 10
 require_once __DIR__.'/../app/AppKernel.php';
Please login to merge, or discard this patch.