diff --git a/src/PHPCR/Shell/Console/Application/ShellApplication.php b/src/PHPCR/Shell/Console/Application/ShellApplication.php index 1a75f906..2e7f1cc4 100644 --- a/src/PHPCR/Shell/Console/Application/ShellApplication.php +++ b/src/PHPCR/Shell/Console/Application/ShellApplication.php @@ -198,7 +198,7 @@ protected function registerShellCommands() private function configureFormatter(OutputFormatter $formatter) { $style = new OutputFormatterStyle('yellow', null, array('bold')); - $formatter->setStyle('path', $style); + $formatter->setStyle('pathbold', $style); $style = new OutputFormatterStyle('green'); $formatter->setStyle('localname', $style); diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeInfoCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeInfoCommand.php index 7f9f90b7..5549b383 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeInfoCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeInfoCommand.php @@ -75,7 +75,7 @@ public function execute(InputInterface $input, OutputInterface $output) 'Locked?' => $isLocked, ); - $output->writeln('' . $node->getPath() . ''); + $output->writeln('' . $node->getPath() . ''); $table = new Table($output); foreach ($info as $label => $value) { diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeListCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeListCommand.php index a04cff70..14635c59 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeListCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeListCommand.php @@ -122,7 +122,7 @@ public function execute(InputInterface $input, OutputInterface $output) if ($table->getNumberOfRows() > 0) { $this->nbNodes++; - $output->writeln(sprintf('%s [%s] > %s', + $output->writeln(sprintf('%s [%s] > %s', $node->getPath(), $node->getPrimaryNodeType()->getName(), implode(', ', $node->getPrimaryNodeType()->getDeclaredSupertypeNames()) diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeOrderBeforeCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeOrderBeforeCommand.php index 6551a67a..af24ac74 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeOrderBeforeCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeOrderBeforeCommand.php @@ -27,7 +27,7 @@ protected function configure() $this->setHelp(<</foobar has the children child2 and +For example, given that the node /foobar has the children child2 and child4 then: PHPCRSH> cd foobar diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertyShowCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertyShowCommand.php index e91594f8..8ee16c34 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertyShowCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodePropertyShowCommand.php @@ -58,7 +58,7 @@ public function execute(InputInterface $input, OutputInterface $output) foreach ($properties as $property) { $output->writeln(sprintf( - '%s%s%s: %s', + '%s%s%s: %s', $parentPath = $pathHelper->getParentPath($property->getPath()), $parentPath != '/' ? '/' : '', $pathHelper->getNodeName($property->getPath()), diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeReferencesCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeReferencesCommand.php index dad26366..6467753a 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeReferencesCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeReferencesCommand.php @@ -71,7 +71,7 @@ public function execute(InputInterface $input, OutputInterface $output) } if (0 !== count($references['weak']) || 0 !== count($references['strong'])) { - $output->writeln('' . $node->getPath() . ''); + $output->writeln('' . $node->getPath() . ''); $table->render($output); } } diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeSharedShowCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeSharedShowCommand.php index 82c6ec65..662314a3 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeSharedShowCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeSharedShowCommand.php @@ -43,7 +43,7 @@ public function execute(InputInterface $input, OutputInterface $output) $nodes = $session->findNodes($path); foreach ($nodes as $node) { - $output->writeln('' . $node->getPath() . ''); + $output->writeln('' . $node->getPath() . ''); $sharedSet = $node->getSharedSet(); foreach ($sharedSet as $sharedNode) { diff --git a/src/PHPCR/Shell/Console/Command/Phpcr/NodeUpdateCommand.php b/src/PHPCR/Shell/Console/Command/Phpcr/NodeUpdateCommand.php index 19050741..e876364a 100644 --- a/src/PHPCR/Shell/Console/Command/Phpcr/NodeUpdateCommand.php +++ b/src/PHPCR/Shell/Console/Command/Phpcr/NodeUpdateCommand.php @@ -52,7 +52,7 @@ public function execute(InputInterface $input, OutputInterface $output) $nodes = $session->findNodes($path); foreach ($nodes as $node) { - $output->writeln('' . $node->getPath() . ''); + $output->writeln('' . $node->getPath() . ''); $node->update($srcWorkspace); } }