Skip to content

Commit

Permalink
Merge pull request #290 from ergebnis/dependabot/composer/ergebnis/ph…
Browse files Browse the repository at this point in the history
…p-cs-fixer-config-2.4.0

composer(deps-dev): bump ergebnis/php-cs-fixer-config from 2.3.0 to 2.4.0
  • Loading branch information
ergebnis-bot authored Oct 23, 2020
2 parents cd9c9a6 + 59d2f1e commit 7c72796
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 37 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"require-dev": {
"ergebnis/composer-normalize": "^2.9.0",
"ergebnis/license": "^1.1.0",
"ergebnis/php-cs-fixer-config": "^2.3.0",
"ergebnis/php-cs-fixer-config": "^2.4.0",
"ergebnis/test-util": "^1.3.0",
"infection/infection": "~0.15.3",
"nette/di": "^3.0.1",
Expand Down
50 changes: 25 additions & 25 deletions composer.lock

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

5 changes: 0 additions & 5 deletions src/Classes/FinalRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ final class FinalRule implements Rule
private $errorMessageTemplate = 'Class %s is not final.';

/**
* @param bool $allowAbstractClasses
* @param string[] $classesNotRequiredToBeAbstractOrFinal
*/
public function __construct(bool $allowAbstractClasses, array $classesNotRequiredToBeAbstractOrFinal)
Expand Down Expand Up @@ -112,10 +111,6 @@ public function processNode(Node $node, Scope $scope): array
* @see https://github.com/keradus
* @see https://github.com/SpacePossum
* @see https://github.com/Slamdunk
*
* @param Node $node
*
* @return bool
*/
private function isWhitelisted(Node $node): bool
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ final class NoParameterWithContainerTypeDeclarationRule implements Rule

/**
* @param array<int, string> $interfacesImplementedByContainers
* @param Broker $broker
*/
public function __construct(Broker $broker, array $interfacesImplementedByContainers)
{
Expand Down
5 changes: 0 additions & 5 deletions test/Integration/AbstractTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ abstract class AbstractTestCase extends RuleTestCase
{
/**
* @dataProvider provideCasesWhereAnalysisShouldSucceed
*
* @param string $path
*/
final public function testAnalysisSucceeds(string $path): void
{
Expand All @@ -37,9 +35,6 @@ final public function testAnalysisSucceeds(string $path): void

/**
* @dataProvider provideCasesWhereAnalysisShouldFail
*
* @param string $path
* @param array $error
*/
final public function testAnalysisFails(string $path, array $error): void
{
Expand Down

0 comments on commit 7c72796

Please sign in to comment.