Skip to content

Commit

Permalink
fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
howyi committed Nov 7, 2017
1 parent d6831ee commit 244f8d2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 45 deletions.
31 changes: 0 additions & 31 deletions debug

This file was deleted.

2 changes: 1 addition & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
<exclude>
<directory>./src/JsonSchemaMapper/DebugCommand</directory>
<directory>./src/JsonSchemaMapper/Command</directory>
<directory>./src/JsonSchemaMapper/Expected</directory>
</exclude>
</whitelist>
Expand Down
26 changes: 13 additions & 13 deletions src/JsonSchemaMapper/Command/MapCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,25 @@ protected function configure()
->setName('map')
->setDescription('JSON Schema dir map to PHP Classes.')
->addArgument(
'jsonDir',
InputArgument::REQUIRED,
'JSON Schame directory'
'jsonDir',
InputArgument::REQUIRED,
'JSON Schame directory'
)
->addArgument(
'phpDir',
InputArgument::REQUIRED,
'Map destination directory'
'phpDir',
InputArgument::REQUIRED,
'Map destination directory'
)
->addArgument(
'namespace',
InputArgument::REQUIRED,
'Map PHP namespace'
'namespace',
InputArgument::REQUIRED,
'Map PHP namespace'
)
->addArgument(
'template',
InputArgument::OPTIONAL,
'PHP templates directory',
__DIR__ . '/../../../templates'
'template',
InputArgument::OPTIONAL,
'PHP templates directory',
__DIR__ . '/../../../templates'
);
}

Expand Down

0 comments on commit 244f8d2

Please sign in to comment.