mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fixing the path to tests on upgrade shell and also fixing the option for git, it needs to be boolean.
This commit is contained in:
parent
7ae89c3679
commit
265c094f2f
1 changed files with 6 additions and 5 deletions
|
@ -56,8 +56,8 @@ class UpgradeShell extends Shell {
|
|||
'Helper' => 'View/Helper',
|
||||
'Shell' => 'Console/Command',
|
||||
'Task' => 'Console/Command/Task',
|
||||
'Case' => 'tests/Case',
|
||||
'Fixture' => 'tests/Fixture',
|
||||
'Case' => 'Test/Case',
|
||||
'Fixture' => 'Test/Fixture',
|
||||
'Error' => 'Lib/Error',
|
||||
);
|
||||
|
||||
|
@ -644,9 +644,10 @@ class UpgradeShell extends Shell {
|
|||
'help' => __('The extension(s) to search. A pipe delimited list, or a preg_match compatible subpattern'),
|
||||
'default' => 'php|ctp|thtml|inc|tpl'
|
||||
),
|
||||
'git'=> array(
|
||||
'help' => __('use git command for moving files around.'),
|
||||
'default' => 0
|
||||
'git' => array(
|
||||
'short' => 'g',
|
||||
'help' => __('Use git command for moving files around.'),
|
||||
'boolean' => true
|
||||
),
|
||||
'dry-run'=> array(
|
||||
'short' => 'd',
|
||||
|
|
Loading…
Add table
Reference in a new issue