Skip to content

Commit 13e2d54

Browse files
authored
Enhancement: Enable phpdoc_no_access fixer (#222)
* Enhancement: Enable phpdoc_no_access fixer * Fix: Run 'make cs'
1 parent ea9c970 commit 13e2d54

File tree

5 files changed

+1
-18
lines changed

5 files changed

+1
-18
lines changed

.php_cs.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ return $config
122122
'phpdoc_indent' => true,
123123
'phpdoc_inline_tag_normalizer' => true,
124124
'phpdoc_line_span' => true,
125+
'phpdoc_no_access' => true,
125126
'phpdoc_no_alias_tag' => [
126127
'replacements' => [
127128
'link' => 'see',

src/Faker/Provider/en_IN/Person.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ class Person extends \Faker\Provider\Person
116116
*
117117
* @example 'Kumar'
118118
*
119-
* @access public
120-
*
121119
* @return string Middle name
122120
*/
123121
public function middleNameMale()

src/Faker/Provider/id_ID/Person.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,6 @@ public function lastName($gender = null)
264264
/**
265265
* Return last name for male
266266
*
267-
* @access public
268-
*
269267
* @return string last name
270268
*/
271269
public static function lastNameMale()
@@ -276,8 +274,6 @@ public static function lastNameMale()
276274
/**
277275
* Return last name for female
278276
*
279-
* @access public
280-
*
281277
* @return string last name
282278
*/
283279
public static function lastNameFemale()
@@ -288,8 +284,6 @@ public static function lastNameFemale()
288284
/**
289285
* For academic title
290286
*
291-
* @access public
292-
*
293287
* @return string suffix
294288
*/
295289
public static function suffix()

src/Faker/Provider/ru_RU/Person.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,6 @@ class Person extends \Faker\Provider\Person
112112
*
113113
* @example 'Иванович'
114114
*
115-
* @access public
116-
*
117115
* @return string Middle name
118116
*/
119117
public function middleNameMale()
@@ -126,8 +124,6 @@ public function middleNameMale()
126124
*
127125
* @example 'Ивановна'
128126
*
129-
* @access public
130-
*
131127
* @return string Middle name
132128
*/
133129
public function middleNameFemale()
@@ -138,8 +134,6 @@ public function middleNameFemale()
138134
/**
139135
* Return middle name for the specified gender.
140136
*
141-
* @access public
142-
*
143137
* @param string|null $gender A gender the middle name should be generated
144138
* for. If the argument is skipped a random gender will be used.
145139
*

src/Faker/Provider/uk_UA/Person.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ class Person extends \Faker\Provider\Person
5555
* Return male middle name
5656
*
5757
* @example 'Іванович'
58-
* @access public
5958
*
6059
* @return string Middle name
6160
*/
@@ -68,7 +67,6 @@ public function middleNameMale()
6867
* Return female middle name
6968
*
7069
* @example 'Івановна'
71-
* @access public
7270
*
7371
* @return string Middle name
7472
*/
@@ -80,8 +78,6 @@ public function middleNameFemale()
8078
/**
8179
* Return middle name for the specified gender.
8280
*
83-
* @access public
84-
*
8581
* @param string|null $gender A gender the middle name should be generated
8682
* for. If the argument is skipped a random gender will be used.
8783
*

0 commit comments

Comments
 (0)