@@ -11,7 +11,6 @@ |
||
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 | { |
@@ -81,7 +81,7 @@ |
||
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()); |
@@ -13,6 +13,10 @@ |
||
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, |
@@ -38,7 +38,7 @@ |
||
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 | } |
@@ -47,9 +47,9 @@ |
||
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')); |
@@ -4,7 +4,7 @@ |
||
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'; |