mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
Apply new code style
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<?php declare(strict_types=1);
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace phpDocumentor\Reflection\DocBlock;
|
||||
|
||||
@@ -7,7 +9,7 @@ use phpDocumentor\Reflection\DocBlock\Tags\Example;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @coversDefaultClass phpDocumentor\Reflection\DocBlock\ExampleFinder
|
||||
* @coversDefaultClass \phpDocumentor\Reflection\DocBlock\ExampleFinder
|
||||
* @covers ::<private>
|
||||
*/
|
||||
class ExampleFinderTest extends TestCase
|
||||
@@ -18,23 +20,24 @@ class ExampleFinderTest extends TestCase
|
||||
/**
|
||||
* Call Mockery::close after each test.
|
||||
*/
|
||||
public function tearDown(): void
|
||||
public function tearDown() : void
|
||||
{
|
||||
m::close();
|
||||
}
|
||||
|
||||
public function setUp(): void
|
||||
public function setUp() : void
|
||||
{
|
||||
$this->fixture = new ExampleFinder();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers ::find
|
||||
* @covers ::getSourceDirectory
|
||||
* @uses \phpDocumentor\Reflection\DocBlock\Tags\Example
|
||||
* @uses \phpDocumentor\Reflection\DocBlock\Description
|
||||
*
|
||||
* @covers ::find
|
||||
* @covers ::getSourceDirectory
|
||||
*/
|
||||
public function testFileNotFound(): void
|
||||
public function testFileNotFound() : void
|
||||
{
|
||||
$example = new Example('./example.php', false, 1, 0, new Description('Test'));
|
||||
$this->assertSame('** File not found : ./example.php **', $this->fixture->find($example));
|
||||
|
||||
Reference in New Issue
Block a user