-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented #116: Rename "commithook files:allow-default" to "commith…
…ook files allow-default" - enamed "commithook files:allow-default" to "commithook files allow-default"
- Loading branch information
Showing
4 changed files
with
41 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
123 changes: 0 additions & 123 deletions
123
src/lib/PreCommit/Console/Command/Config/File/AllowDefault.php
This file was deleted.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
src/lib/PreCommit/Console/Command/Config/File/FilesConfig.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
/** | ||
* @license https://raw.githubusercontent.com/andkirby/commithook/master/LICENSE.md | ||
*/ | ||
namespace PreCommit\Console\Command\Config\File; | ||
|
||
use PreCommit\Console\Command\Config\AbstractConfiguredCommand; | ||
|
||
/** | ||
* This command can define path for allowing to commit a file | ||
* | ||
* @package PreCommit\Console\Command\Config\File | ||
*/ | ||
class FilesConfig extends AbstractConfiguredCommand | ||
{ | ||
/** | ||
* Get base command name | ||
* | ||
* @return string | ||
*/ | ||
protected function getDefinedName() | ||
{ | ||
return 'files'; | ||
} | ||
} |