-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix code style, require php version >= 5.5
- Loading branch information
igor-chepurnoi
committed
Nov 22, 2016
1 parent
ef8d752
commit 0c91602
Showing
22 changed files
with
139 additions
and
87 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
$finder = Symfony\CS\Finder::create() | ||
->exclude('vendor') | ||
->in([__DIR__]); | ||
|
||
$config = Symfony\CS\Config::create() | ||
->fixers([ | ||
'-phpdoc_params', | ||
'-phpdoc_short_description', | ||
'-phpdoc_inline_tag', | ||
'-pre_increment', | ||
'-heredoc_to_nowdoc', | ||
'-spaces_cast', | ||
'-include', | ||
'-phpdoc_no_package', | ||
'concat_with_spaces', | ||
'ordered_use', | ||
'short_array_syntax', | ||
]) | ||
->finder($finder); | ||
|
||
return $config; |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,32 @@ | ||
{ | ||
"name": "yii2mod/yii2-settings", | ||
"description": "Yii2 Settings Module", | ||
"type": "yii2-extension", | ||
"keywords": ["yii2", "settings", "config", "storage"], | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Igor Chepurnoy", | ||
"email": "[email protected]" | ||
"name": "yii2mod/yii2-settings", | ||
"description": "Yii2 Settings Module", | ||
"type": "yii2-extension", | ||
"keywords": [ | ||
"yii2", | ||
"settings", | ||
"config", | ||
"storage" | ||
], | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Igor Chepurnoy", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"php": ">=5.5", | ||
"yiisoft/yii2": ">=2.0.8", | ||
"yii2mod/yii2-editable": "*", | ||
"yii2mod/yii2-enum": "*" | ||
}, | ||
"require-dev": { | ||
"friendsofphp/php-cs-fixer": "~1.7" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"yii2mod\\settings\\": "" | ||
} | ||
} | ||
], | ||
"require": { | ||
"yiisoft/yii2": ">=2.0.8", | ||
"yii2mod/yii2-editable": "*", | ||
"yii2mod/yii2-enum": "*" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"yii2mod\\settings\\": "" | ||
} | ||
} | ||
} |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ public function down() | |
$this->renameTable('{{%setting}}', '{{%Setting}}'); | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.