Skip to content

Commit

Permalink
transferred Console related classes on a more appropriate folder
Browse files Browse the repository at this point in the history
  • Loading branch information
kcasas committed Oct 3, 2017
1 parent 0b9de0c commit a761980
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions bin/console
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ if (file_exists(__DIR__.'/../../autoload.php')) {
require __DIR__.'/../vendor/autoload.php';
}

require 'ConsoleCommand.php';
use Zendesk\Console\ConsoleCommand;

$app = new Symfony\Component\Console\Application();
$app->add(new Zendesk\ConsoleCommand);
$app->add(new ConsoleCommand);
$app->setDefaultCommand('console', true);
$app->run();
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"autoload": {
"psr-0": {
"Zendesk\\API\\": "src/",
"Zendesk\\": "bin/"
"Zendesk\\Console\\": "src/"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<?php

namespace Zendesk;
namespace Zendesk\Console;

require 'DocMethodMatcher.php';
require 'Shell.php';
use Zendesk\Console\Matchers\DocMethodMatcher;

use Psy\Configuration;
use RuntimeException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Zendesk;
namespace Zendesk\Console\Matchers;

use InvalidArgumentException;
use Psy\TabCompletion\Matcher\AbstractContextAwareMatcher;
Expand Down
2 changes: 1 addition & 1 deletion bin/Shell.php → src/Zendesk/Console/Shell.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Zendesk;
namespace Zendesk\Console;

use Psy\TabCompletion\Matcher\ObjectAttributesMatcher;
use Psy\TabCompletion\Matcher\ObjectMethodsMatcher;
Expand Down

0 comments on commit a761980

Please sign in to comment.