-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from lcobucci/add-relevant-annotations
Add relevant annotations
- Loading branch information
Showing
6 changed files
with
101 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -202,7 +202,9 @@ | |
@runTestsInSeparateProcesses, | ||
@see, | ||
@Target, | ||
@throws | ||
@test, | ||
@throws, | ||
@uses | ||
" | ||
/> | ||
</properties> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Fancy; | ||
|
||
use PHPUnit\Framework\TestCase; | ||
|
||
/** | ||
* @requires PHP 7.2 | ||
*/ | ||
final class TestCase extends TestCase | ||
{ | ||
/** | ||
* @beforeClass | ||
* @afterClass | ||
*/ | ||
public static function doStuff() : void | ||
{ | ||
} | ||
|
||
/** | ||
* @before | ||
*/ | ||
public function createDependencies() : void | ||
{ | ||
} | ||
|
||
/** | ||
* @test | ||
* | ||
* @covers MyClass::test | ||
* | ||
* @uses MyClass::__construct | ||
*/ | ||
public function methodShouldDoStuff() : void | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Fancy; | ||
|
||
use PHPUnit\Framework\TestCase; | ||
|
||
/** | ||
* @package Quite useless | ||
* | ||
* @requires PHP 7.2 | ||
*/ | ||
final class TestCase extends TestCase | ||
{ | ||
/** | ||
* @beforeClass | ||
* @afterClass | ||
*/ | ||
static public function doStuff(): void | ||
{ | ||
} | ||
|
||
/** | ||
* @before | ||
*/ | ||
public function createDependencies() | ||
{ | ||
} | ||
|
||
/** | ||
* @test | ||
* | ||
* @covers MyClass::test | ||
* | ||
* @uses MyClass::__construct | ||
*/ | ||
public function methodShouldDoStuff() | ||
{ | ||
} | ||
} |