Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
31 | public function execute(InputInterface $input, OutputInterface $output) |
||
32 | { |
||
33 | $definition = $this->getDefinition(); |
||
34 | $arguments = $definition->getArguments(); |
||
35 | $arguments['target']->setDefault($this->container->getParameter('kernel.root_dir').'/../web/'); |
||
|
|||
36 | $definition->setArguments($arguments); |
||
37 | |||
38 | if (count($input->getArguments()) === 0) { |
||
39 | $input = new ArgvInput(null, $definition); |
||
40 | $input->setArgument('target', $this->container->getParameter('kernel.root_dir').'/../web/'); |
||
41 | } |
||
42 | |||
43 | return parent::execute($input, $output); |
||
44 | } |
||
45 | } |
||
46 |
This check looks for access to properties that are not accessible from the current context.
If you need to make a property accessible to another context you can either raise its visibility level or provide an accessible getter in the defining class.