Skip to content

Commit 8f70838

Browse files
authored
Merge pull request #227 from phpcr/analysis-014lxm
Apply fixes from StyleCI
2 parents e1f0cdd + 869a019 commit 8f70838

File tree

2 files changed

+26
-26
lines changed

2 files changed

+26
-26
lines changed

src/PHPCR/Shell/DependencyInjection/Container.php

+25-25
Original file line numberDiff line numberDiff line change
@@ -12,38 +12,38 @@
1212

1313
namespace PHPCR\Shell\DependencyInjection;
1414

15-
use PHPCR\Shell\PhpcrShell;
16-
use Symfony\Component\DependencyInjection\ContainerBuilder;
17-
use Symfony\Component\DependencyInjection\Reference;
18-
use PHPCR\Shell\Transport\Transport\DoctrineDbal;
19-
use PHPCR\Shell\Transport\Transport\Jackrabbit;
20-
use PHPCR\Shell\Transport\Transport\JackalopeFs;
21-
use PHPCR\Shell\Query\UpdateProcessor;
22-
use Symfony\Component\ExpressionLanguage\ExpressionLanguage;
23-
use PHPCR\Shell\Console\Input\AutoComplete;
15+
use DTL\Glob\GlobHelper;
16+
use PHPCR\Shell\Config\Config;
17+
use PHPCR\Shell\Config\ConfigManager;
18+
use PHPCR\Shell\Config\Profile;
19+
use PHPCR\Shell\Config\ProfileLoader;
2420
use PHPCR\Shell\Console\Application\EmbeddedApplication;
2521
use PHPCR\Shell\Console\Application\ShellApplication;
26-
use Symfony\Component\EventDispatcher\EventDispatcher;
27-
use PHPCR\Shell\Subscriber\ExceptionSubscriber;
22+
use PHPCR\Shell\Console\Helper\EditorHelper;
23+
use PHPCR\Shell\Console\Helper\NodeHelper;
24+
use PHPCR\Shell\Console\Helper\PathHelper;
25+
use PHPCR\Shell\Console\Helper\RepositoryHelper;
26+
use PHPCR\Shell\Console\Helper\ResultFormatterHelper;
27+
use PHPCR\Shell\Console\Helper\TextHelper;
28+
use PHPCR\Shell\Console\Input\AutoComplete;
29+
use PHPCR\Shell\Phpcr\SessionManager;
30+
use PHPCR\Shell\PhpcrShell;
31+
use PHPCR\Shell\Query\UpdateProcessor;
2832
use PHPCR\Shell\Subscriber\AliasSubscriber;
2933
use PHPCR\Shell\Subscriber\ConfigInitSubscriber;
30-
use PHPCR\Shell\Subscriber\ProfileWriterSubscriber;
31-
use PHPCR\Shell\Subscriber\ProfileLoaderSubscriber;
34+
use PHPCR\Shell\Subscriber\ExceptionSubscriber;
3235
use PHPCR\Shell\Subscriber\ProfileFromSessionInputSubscriber;
33-
use DTL\Glob\GlobHelper;
34-
use PHPCR\Shell\Phpcr\SessionManager;
36+
use PHPCR\Shell\Subscriber\ProfileLoaderSubscriber;
37+
use PHPCR\Shell\Subscriber\ProfileWriterSubscriber;
38+
use PHPCR\Shell\Transport\Transport\DoctrineDbal;
39+
use PHPCR\Shell\Transport\Transport\JackalopeFs;
40+
use PHPCR\Shell\Transport\Transport\Jackrabbit;
3541
use PHPCR\Shell\Transport\TransportRegistry;
36-
use PHPCR\Shell\Config\Config;
37-
use PHPCR\Shell\Config\ProfileLoader;
38-
use PHPCR\Shell\Config\Profile;
39-
use PHPCR\Shell\Config\ConfigManager;
40-
use PHPCR\Shell\Console\Helper\ResultFormatterHelper;
41-
use PHPCR\Shell\Console\Helper\NodeHelper;
42-
use PHPCR\Shell\Console\Helper\TextHelper;
43-
use PHPCR\Shell\Console\Helper\RepositoryHelper;
44-
use PHPCR\Shell\Console\Helper\PathHelper;
45-
use PHPCR\Shell\Console\Helper\EditorHelper;
4642
use Symfony\Component\Console\Helper\QuestionHelper;
43+
use Symfony\Component\DependencyInjection\ContainerBuilder;
44+
use Symfony\Component\DependencyInjection\Reference;
45+
use Symfony\Component\EventDispatcher\EventDispatcher;
46+
use Symfony\Component\ExpressionLanguage\ExpressionLanguage;
4747

4848
class Container extends ContainerBuilder
4949
{

src/PHPCR/Shell/Phpcr/PhpcrSession.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function chdir($path)
9999
$newPath = $path;
100100
} elseif ($path === '..') {
101101
$newPath = dirname($cwd);
102-
} else if ($this->cwd === '/') {
102+
} elseif ($this->cwd === '/') {
103103
$newPath = sprintf('/%s', $path);
104104
} else {
105105
$newPath = sprintf('%s/%s', $cwd, $path);

0 commit comments

Comments
 (0)