Skip to content

Commit

Permalink
Fix: Run 'make coding-standards'
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Oct 23, 2020
1 parent 7409dce commit 59d2f1e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
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 59d2f1e

Please sign in to comment.