Skip to content

Commit

Permalink
Enhancement: Enable phpdoc_no_access fixer (FakerPHP#222)
Browse files Browse the repository at this point in the history
* Enhancement: Enable phpdoc_no_access fixer

* Fix: Run 'make cs'
  • Loading branch information
localheinz committed Dec 22, 2020
1 parent ea9c970 commit 13e2d54
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 18 deletions.
1 change: 1 addition & 0 deletions .php_cs.dist
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ return $config
'phpdoc_indent' => true,
'phpdoc_inline_tag_normalizer' => true,
'phpdoc_line_span' => true,
'phpdoc_no_access' => true,
'phpdoc_no_alias_tag' => [
'replacements' => [
'link' => 'see',
Expand Down
2 changes: 0 additions & 2 deletions src/Faker/Provider/en_IN/Person.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,6 @@ class Person extends \Faker\Provider\Person
*
* @example 'Kumar'
*
* @access public
*
* @return string Middle name
*/
public function middleNameMale()
Expand Down
6 changes: 0 additions & 6 deletions src/Faker/Provider/id_ID/Person.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,6 @@ public function lastName($gender = null)
/**
* Return last name for male
*
* @access public
*
* @return string last name
*/
public static function lastNameMale()
Expand All @@ -276,8 +274,6 @@ public static function lastNameMale()
/**
* Return last name for female
*
* @access public
*
* @return string last name
*/
public static function lastNameFemale()
Expand All @@ -288,8 +284,6 @@ public static function lastNameFemale()
/**
* For academic title
*
* @access public
*
* @return string suffix
*/
public static function suffix()
Expand Down
6 changes: 0 additions & 6 deletions src/Faker/Provider/ru_RU/Person.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@ class Person extends \Faker\Provider\Person
*
* @example 'Иванович'
*
* @access public
*
* @return string Middle name
*/
public function middleNameMale()
Expand All @@ -126,8 +124,6 @@ public function middleNameMale()
*
* @example 'Ивановна'
*
* @access public
*
* @return string Middle name
*/
public function middleNameFemale()
Expand All @@ -138,8 +134,6 @@ public function middleNameFemale()
/**
* Return middle name for the specified gender.
*
* @access public
*
* @param string|null $gender A gender the middle name should be generated
* for. If the argument is skipped a random gender will be used.
*
Expand Down
4 changes: 0 additions & 4 deletions src/Faker/Provider/uk_UA/Person.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ class Person extends \Faker\Provider\Person
* Return male middle name
*
* @example 'Іванович'
* @access public
*
* @return string Middle name
*/
Expand All @@ -68,7 +67,6 @@ public function middleNameMale()
* Return female middle name
*
* @example 'Івановна'
* @access public
*
* @return string Middle name
*/
Expand All @@ -80,8 +78,6 @@ public function middleNameFemale()
/**
* Return middle name for the specified gender.
*
* @access public
*
* @param string|null $gender A gender the middle name should be generated
* for. If the argument is skipped a random gender will be used.
*
Expand Down

0 comments on commit 13e2d54

Please sign in to comment.