File tree Expand file tree Collapse file tree 3 files changed +14
-12
lines changed Expand file tree Collapse file tree 3 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ preset: laravel
33disabled :
44 - concat_without_spaces
55 - unalign_equals
6+ - alpha_ordered_imports
67
78enabled :
89 - align_equals_minimal
10+ - length_ordered_imports
Original file line number Diff line number Diff line change @@ -351,14 +351,14 @@ protected function parseName($name = null)
351351 }
352352
353353 return [
354- '{{pluralCamel}} ' => Str::plural (camel_case ($ name )),
354+ '{{pluralCamel}} ' => Str::plural (Str:: camel ($ name )),
355355 '{{pluralSlug}} ' => Str::plural (Str::slug ($ name )),
356- '{{pluralSnake}} ' => Str::plural (snake_case ($ name )),
357- '{{pluralClass}} ' => Str::plural (studly_case ($ name )),
358- '{{singularCamel}} ' => Str::singular (camel_case ($ name )),
356+ '{{pluralSnake}} ' => Str::plural (Str:: snake ($ name )),
357+ '{{pluralClass}} ' => Str::plural (Str:: studly ($ name )),
358+ '{{singularCamel}} ' => Str::singular (Str:: camel ($ name )),
359359 '{{singularSlug}} ' => Str::singular (Str::slug ($ name )),
360- '{{singularSnake}} ' => Str::singular (snake_case ($ name )),
361- '{{singularClass}} ' => Str::singular (studly_case ($ name )),
360+ '{{singularSnake}} ' => Str::singular (Str:: snake ($ name )),
361+ '{{singularClass}} ' => Str::singular (Str:: studly ($ name )),
362362 '{{namespace}} ' => $ this ->getNamespace (),
363363 ];
364364 }
Original file line number Diff line number Diff line change @@ -245,14 +245,14 @@ protected function parseName($name = null)
245245 }
246246
247247 return [
248- '{{pluralCamel}} ' => Str::plural (camel_case ($ name )),
248+ '{{pluralCamel}} ' => Str::plural (Str:: camel ($ name )),
249249 '{{pluralSlug}} ' => Str::plural (Str::slug ($ name )),
250- '{{pluralSnake}} ' => Str::plural (snake_case ($ name )),
251- '{{pluralClass}} ' => Str::plural (studly_case ($ name )),
252- '{{singularCamel}} ' => Str::singular (camel_case ($ name )),
250+ '{{pluralSnake}} ' => Str::plural (Str:: snake ($ name )),
251+ '{{pluralClass}} ' => Str::plural (Str:: studly ($ name )),
252+ '{{singularCamel}} ' => Str::singular (Str:: camel ($ name )),
253253 '{{singularSlug}} ' => Str::singular (Str::slug ($ name )),
254- '{{singularSnake}} ' => Str::singular (snake_case ($ name )),
255- '{{singularClass}} ' => Str::singular (studly_case ($ name )),
254+ '{{singularSnake}} ' => Str::singular (Str:: snake ($ name )),
255+ '{{singularClass}} ' => Str::singular (Str:: studly ($ name )),
256256 '{{namespace}} ' => $ this ->getNamespace (),
257257 ];
258258 }
You can’t perform that action at this time.
0 commit comments