Skip to content
This repository was archived by the owner on Apr 16, 2024. It is now read-only.

Commit 16caa6a

Browse files
authored
Merge pull request #17 from lucid-architecture/revert-16-master
Revert "Add ChangeSourceNamespace Command"
2 parents dbefd41 + 05afc03 commit 16caa6a

File tree

4 files changed

+1
-218
lines changed

4 files changed

+1
-218
lines changed

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ To do that, put this in your shell profile (~/.bash_profile, ~/.zshrc, ~/bashrc)
3434
- `delete:model ` Delete an existing Model
3535
- `delete:request ` Delete an existing Request in a service
3636
- `delete:policy ` Delete an existing Policy
37-
- **src**
38-
- `src:name ` Set the source directory namespace.
3937

4038
### Commands Usage
4139

@@ -59,6 +57,3 @@ To do that, put this in your shell profile (~/.bash_profile, ~/.zshrc, ~/bashrc)
5957
- `delete:model <model>`
6058
- `delete:request <request> [<service>]`
6159
- `delete:policy <policy>`
62-
63-
#### Set Source Namespace
64-
- `src:name <name>`

lucid

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ if (file_exists(__DIR__.'/vendor/autoload.php')) {
1010
$laravel = require __DIR__.'/../../../bootstrap/app.php';
1111

1212
$commands = [
13-
new Lucid\Console\Commands\ChangeSourceNamespaceCommand(),
1413
new Lucid\Console\Commands\JobMakeCommand(),
1514
new Lucid\Console\Commands\JobDeleteCommand(),
1615
new Lucid\Console\Commands\ServiceMakeCommand(),
@@ -32,7 +31,7 @@ $commands = [
3231
new \Lucid\Console\Commands\OperationDeleteCommand(),
3332
];
3433

35-
$app = new Symfony\Component\Console\Application('Lucid Console', '0.5.5');
34+
$app = new Symfony\Component\Console\Application('Lucid Console', '0.5.0');
3635
array_walk($commands, [$app, 'add']);
3736

3837
$app->run();

src/Commands/ChangeSourceNamespaceCommand.php

Lines changed: 0 additions & 189 deletions
This file was deleted.

src/Finder.php

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -824,26 +824,4 @@ protected function relativeFromReal($path, $needle = '')
824824

825825
return strstr($path, $needle);
826826
}
827-
828-
/**
829-
* Get the path to the Composer.json file.
830-
*
831-
* @return string
832-
*/
833-
protected function getComposerPath()
834-
{
835-
return app()->basePath().'/composer.json';
836-
}
837-
838-
/**
839-
* Get the path to the given configuration file.
840-
*
841-
* @param string $name
842-
*
843-
* @return string
844-
*/
845-
protected function getConfigPath($name)
846-
{
847-
return app()['path.config'].'/'.$name.'.php';
848-
}
849827
}

0 commit comments

Comments
 (0)