Skip to content

Commit

Permalink
composer(deps): bump friendsofphp/php-cs-fixer from 3.17.0 to 3.20.0 …
Browse files Browse the repository at this point in the history
…in /vendor-bin/php-cs-fixer (#668)

* composer(deps): bump friendsofphp/php-cs-fixer

Bumps [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) from 3.17.0 to 3.20.0.
- [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases)
- [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md)
- [Commits](PHP-CS-Fixer/PHP-CS-Fixer@v3.17.0...v3.20.0)

---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix: Run 'make cs'

* Fix: Whitespace

* Enhancement: Configure blank_lines_before_namespace instead of deprecated single_blank_line_before_namespace fixer

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andreas Möller <[email protected]>
  • Loading branch information
dependabot[bot] and localheinz authored Jul 2, 2023
1 parent d08588d commit 5c1e500
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 59 deletions.
5 changes: 4 additions & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@
'yield',
],
],
'blank_lines_before_namespace' => [
'max_line_breaks' => 2,
'min_line_breaks' => 2,
],
'cast_spaces' => true,
'class_attributes_separation' => [
'elements' => [
Expand Down Expand Up @@ -186,7 +190,6 @@
'return_type_declaration' => true,
'semicolon_after_instruction' => true,
'short_scalar_cast' => true,
'single_blank_line_before_namespace' => true,
'single_line_comment_style' => true,
'single_quote' => true,
'single_space_around_construct' => [
Expand Down
14 changes: 7 additions & 7 deletions src/Faker/Provider/nl_BE/Person.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,17 @@ class Person extends \Faker\Provider\Person
];

/**
* Belgian Rijksregister numbers are used to identify each citizen,
* it consists of three parts, the person's day of birth, in the
* format 'ymd', followed by a number between 1 and 997, odd for
* males, even for females. The last part is used to check if it's
* a valid number.
* Belgian Rijksregister numbers are used to identify each citizen,
* it consists of three parts, the person's day of birth, in the
* format 'ymd', followed by a number between 1 and 997, odd for
* males, even for females. The last part is used to check if it's
* a valid number.
*
* @see https://nl.wikipedia.org/wiki/Rijksregisternummer
*
* @param string|null $gender 'male', 'female' or null for any
* @param string|null $gender 'male', 'female' or null for any
*
* @return string
* @return string
*/
public static function rrn($gender = null)
{
Expand Down
56 changes: 28 additions & 28 deletions src/Faker/Provider/pt_BR/Text.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,52 +5,52 @@
class Text extends \Faker\Provider\Text
{
/**
* The Project Gutenberg EBook of Dom Casmurro, by Machado de Assis
* The Project Gutenberg EBook of Dom Casmurro, by Machado de Assis
*
* This eBook is for the use of anyone anywhere in the United States and most
* other parts of the world at no cost and with almost no restrictions
* whatsoever. You may copy it, give it away or re-use it under the terms of
* the Project Gutenberg License included with this eBook or online at
* www.gutenberg.org. If you are not located in the United States, you'll have
* to check the laws of the country where you are located before using this ebook.
* This eBook is for the use of anyone anywhere in the United States and most
* other parts of the world at no cost and with almost no restrictions
* whatsoever. You may copy it, give it away or re-use it under the terms of
* the Project Gutenberg License included with this eBook or online at
* www.gutenberg.org. If you are not located in the United States, you'll have
* to check the laws of the country where you are located before using this ebook.
*
* Title: Dom Casmurro
* Title: Dom Casmurro
*
* Author: Machado de Assis
* Author: Machado de Assis
*
* Release Date: October 15, 2017 [EBook #55752]
* Release Date: October 15, 2017 [EBook #55752]
*
* Language: Portuguese
* Language: Portuguese
*
* *** START OF THIS PROJECT GUTENBERG EBOOK DOM CASMURRO ***
* *** START OF THIS PROJECT GUTENBERG EBOOK DOM CASMURRO ***
*
* Produced by Laura Natal Rodriguez & Marc D'Hooghe at Free
* Literature (online soon in an extended version,also linking
* to free sources for education worldwide ... MOOC's,
* educational materials,...) (Images generously made available
* by the Bibliotheca Nacional Digital Brasil.)
* Produced by Laura Natal Rodriguez & Marc D'Hooghe at Free
* Literature (online soon in an extended version,also linking
* to free sources for education worldwide ... MOOC's,
* educational materials,...) (Images generously made available
* by the Bibliotheca Nacional Digital Brasil.)
*
* DOM CASMURRO
* DOM CASMURRO
*
* POR
* POR
*
* MACHADO DE ASSIS
* MACHADO DE ASSIS
*
* DA ACADEMIA BRAZILEIRA
* DA ACADEMIA BRAZILEIRA
*
* H. GARNIER, LIVREIRO-EDITOR
* H. GARNIER, LIVREIRO-EDITOR
*
* RUA MOREIRA CEZAR, 71
* RUA MOREIRA CEZAR, 71
*
* RIO DE JANEIRO
* RIO DE JANEIRO
*
* 6, RUE DES SAINTS-PÈRES, 6
* 6, RUE DES SAINTS-PÈRES, 6
*
* PARIZ
* PARIZ
*
* @see https://www.gutenberg.org/cache/epub/55752/pg55752.txt
* @see https://www.gutenberg.org/cache/epub/55752/pg55752.txt
*
* @var string
* @var string
*/
protected static $baseText = <<<'EOT'
I
Expand Down
2 changes: 1 addition & 1 deletion vendor-bin/php-cs-fixer/composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"require": {
"php": "^7.4 || ^8.0",
"friendsofphp/php-cs-fixer": "^3.17.0"
"friendsofphp/php-cs-fixer": "^3.20.0"
},
"config": {
"platform": {
Expand Down
48 changes: 26 additions & 22 deletions vendor-bin/php-cs-fixer/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5c1e500

Please sign in to comment.