Skip to content

Commit c99cffd

Browse files
authored
Enhancement: Enable and configure class_attributes_separation fixer (#181)
* Enhancement: Enable and configure class_attributes_separation fixer * Fix: Run 'make cs'
1 parent c059c89 commit c99cffd

File tree

23 files changed

+12
-25
lines changed

23 files changed

+12
-25
lines changed

.php_cs.dist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ return $config
4747
],
4848
],
4949
'cast_spaces' => true,
50+
'class_attributes_separation' => [
51+
'elements' => [
52+
'method' => 'one',
53+
],
54+
],
5055
'combine_nested_dirname' => true,
5156
'compact_nullable_typehint' => true,
5257
'concat_space' => [

src/Faker/ORM/Spot/ColumnTypeGuesser.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ class ColumnTypeGuesser
88
{
99
protected $generator;
1010

11-
1211
/**
1312
* ColumnTypeGuesser constructor.
1413
* @param Generator $generator

src/Faker/Provider/Internet.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ final public static function safeEmailDomain()
9494

9595
return static::randomElement($domains);
9696
}
97+
9798
/**
9899
* @example 'jdoe'
99100
*/
@@ -115,6 +116,7 @@ public function userName()
115116

116117
return $username;
117118
}
119+
118120
/**
119121
* @example 'fY4èHdZv68'
120122
*/

src/Faker/Provider/cs_CZ/Person.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,6 @@ class Person extends \Faker\Provider\Person
431431
* @param int $maxAge maximal age of "generated person" in years
432432
* @return czech birth number
433433
*/
434-
435434
public function birthNumber($gender = null, $minAge = 0, $maxAge = 100, $slashProbability = 50)
436435
{
437436
if ($gender === null) {

src/Faker/Provider/es_PE/Person.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ public static function suffix()
8888
return static::randomElement(static::$suffix);
8989
}
9090

91-
9291
/**
9392
* Generate a Documento Nacional de Identidad (DNI) number
9493
*

src/Faker/Provider/fa_IR/PhoneNumber.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ class PhoneNumber extends \Faker\Provider\PhoneNumber
6868
'0937#######',
6969
'0990#######', // MCI
7070
];
71+
7172
public static function mobileNumber()
7273
{
7374
return static::numerify(static::randomElement(static::$mobileNumberPrefixes));

src/Faker/Provider/fr_FR/PhoneNumber.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ public function mobileNumber()
133133

134134
return static::numerify($this->generator->parse($format));
135135
}
136+
136137
/**
137138
* @example '0891951357'
138139
*/

src/Faker/Provider/ka_GE/Address.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ class Address extends \Faker\Provider\Address
102102
'{{cityPrefix}} {{cityName}}'
103103
];
104104

105-
106105
public static function regionSuffix()
107106
{
108107
return static::randomElement(static::$regionSuffix);

src/Faker/Provider/ka_GE/Company.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ class Company extends \Faker\Provider\Company
2626
'{{companyPrefix}} {{companyNameElement}}{{companyNameElement}}{{companyNameElement}}{{companyNameSuffix}}',
2727
];
2828

29-
3029
/**
3130
* @example 'იმ ელექტროალმასგეოსაბჭო'
3231
*/

src/Faker/Provider/ko_KR/PhoneNumber.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ public function localAreaPhoneNumber()
3131
return self::numerify($this->generator->parse($format));
3232
}
3333

34-
35-
3634
public function cellPhoneNumber()
3735
{
3836
$format = self::randomElement(array_slice(static::$formats, 6, 1));

0 commit comments

Comments
 (0)