Skip to content

Commit

Permalink
Codestyle fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
wgevaert authored and sebastianbergmann committed Oct 7, 2019
1 parent a85c010 commit 2c27563
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/Framework/DataProviderTestSuite.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public function getSize(): int
{
[$className, $methodName] = \explode('::', $this->getName());

/** @psalm-suppress ArgumentTypeCoercion */
return TestUtil::getSize($className, $methodName);
}
}
2 changes: 1 addition & 1 deletion src/Util/Annotation/DocBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public static function ofClass(\ReflectionClass $class): self
}

/**
* @psalm-param class-string $className
* @psalm-param class-string $classNameInHierarchy
*/
public static function ofMethod(\ReflectionMethod $method, string $classNameInHierarchy): self
{
Expand Down
1 change: 1 addition & 0 deletions src/Util/TestDox/NamePrettifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public function __construct($useColor = false)

/**
* Prettifies the name of a test class.
*
* @psalm-param class-string $className
*/
public function prettifyTestClass(string $className): string
Expand Down
8 changes: 4 additions & 4 deletions tests/_files/VariousIterableDataProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ public function asTraversableProvider()
*/
public function testNonStatic(): void
{
}
}

/**
* @dataProvider asArrayProviderInParent
* @dataProvider asIteratorProviderInParent
* @dataProvider asTraversableProviderInParent
*/
public function testFromParent(): void
{
}
public function testFromParent(): void
{
}
}

0 comments on commit 2c27563

Please sign in to comment.