Skip to content

Commit

Permalink
Enabled the no_superfluous_phpdoc_tags fixer rule
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Jul 19, 2018
1 parent 72eb366 commit f8483c2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
1 change: 1 addition & 0 deletions .php_cs.dist
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ return PhpCsFixer\Config::create()
'linebreak_after_opening_tag' => true,
'mb_str_functions' => true,
'no_php4_constructor' => true,
'no_superfluous_phpdoc_tags' => true,
'no_unreachable_default_argument_value' => true,
'no_useless_else' => true,
'no_useless_return' => true,
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"require-dev": {
"dama/doctrine-test-bundle": "^5.0",
"doctrine/doctrine-fixtures-bundle": "^3.0",
"friendsofphp/php-cs-fixer": "^2.7",
"friendsofphp/php-cs-fixer": "^2.12",
"symfony/browser-kit": "^4.1",
"symfony/css-selector": "^4.1",
"symfony/debug-bundle": "^4.1",
Expand Down
14 changes: 7 additions & 7 deletions composer.lock

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

Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ public function testTransform()
* simplify the tests. See https://phpunit.de/manual/current/en/test-doubles.html.
*
* @param array $findByReturnValues The values returned when calling to the findBy() method
*
* @return TagArrayToStringTransformer
*/
private function getMockedTransformer(array $findByReturnValues = []): TagArrayToStringTransformer
{
Expand All @@ -121,8 +119,6 @@ private function getMockedTransformer(array $findByReturnValues = []): TagArrayT
* This helper method creates a Tag instance for the given tag name.
*
* @param string $name
*
* @return Tag
*/
private function createTag($name): Tag
{
Expand Down

0 comments on commit f8483c2

Please sign in to comment.