mirror of
https://github.com/ZorgCC/lumen-generators.git
synced 2025-04-26 23:09:30 +03:00
editorconfig added
This commit is contained in:
parent
9ba5b5f7fe
commit
de26849f18
14
.editorconfig
Normal file
14
.editorconfig
Normal file
@ -0,0 +1,14 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
indent_style = space
|
||||
|
||||
[*.php]
|
||||
charset = utf-8
|
||||
indent_size = 4
|
||||
|
||||
[*.{json,yml}]
|
||||
charset = utf-8
|
||||
indent_size = 2
|
@ -4,6 +4,7 @@ php:
|
||||
- 5.5
|
||||
- 5.6
|
||||
- 7.0
|
||||
- 7.1
|
||||
- hhvm
|
||||
|
||||
matrix:
|
||||
|
@ -1,6 +1,7 @@
|
||||
# Lumen generators
|
||||
|
||||
[](https://travis-ci.org/webNeat/lumen-generators)
|
||||
[](https://scrutinizer-ci.com/g/webNeat/lumen-generators/?branch=master)
|
||||
[](http://opensource.org/licenses/MIT)
|
||||
|
||||
A collection of generators for [Lumen](http://lumen.laravel.com) and [Laravel 5](http://laravel.com/).
|
||||
|
@ -138,7 +138,7 @@ class ArgumentFormatLoader {
|
||||
|
||||
$attr = $matches['attr'];
|
||||
$type = empty($matches['type']) ? null : $matches['type'];
|
||||
$isArray = (@$matches[2][0] === '[');
|
||||
$isArray = (isset($matches[2][0]) && $matches[2][0] === '[');
|
||||
|
||||
return [$attr, $type, $isArray];
|
||||
}
|
||||
|
@ -16,9 +16,9 @@ class CommandsServiceProvider extends ServiceProvider
|
||||
$this->registerResourcesCommand();
|
||||
$this->registerPivotTableCommand();
|
||||
$this->registerFactoryCommand();
|
||||
// $this->registerSeederCommand();
|
||||
// $this->registerPivotSeederCommand();
|
||||
// $this->registerTestCommand();
|
||||
// registerSeederCommand
|
||||
// registerPivotSeederCommand
|
||||
// registerTestCommand
|
||||
}
|
||||
|
||||
protected function registerModelCommand(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user