Skip to content

Commit

Permalink
Merge branch '8.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed May 6, 2019
2 parents e5a9507 + 37ed470 commit 613eb63
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .php_cs.dist
Expand Up @@ -142,6 +142,10 @@ return PhpCsFixer\Config::create()
],
],
'ordered_imports' => true,
'ordered_interfaces' => [
'direction' => 'ascend',
'order' => 'alpha',
],
'phpdoc_add_missing_param_annotation' => true,
'phpdoc_align' => true,
'phpdoc_annotation_without_dot' => true,
Expand Down
2 changes: 1 addition & 1 deletion src/Framework/MockObject/InvocationMocker.php
Expand Up @@ -21,7 +21,7 @@
/**
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class InvocationMocker implements MatcherCollection, Invokable, NamespaceMatch
final class InvocationMocker implements Invokable, MatcherCollection, NamespaceMatch
{
/**
* @var MatcherInvocation[]
Expand Down
2 changes: 1 addition & 1 deletion src/Framework/TestCase.php
Expand Up @@ -49,7 +49,7 @@
use SebastianBergmann\GlobalState\Snapshot;
use SebastianBergmann\ObjectEnumerator\Enumerator;

abstract class TestCase extends Assert implements Test, SelfDescribing
abstract class TestCase extends Assert implements SelfDescribing, Test
{
private const LOCALE_CATEGORIES = [\LC_ALL, \LC_COLLATE, \LC_CTYPE, \LC_MONETARY, \LC_NUMERIC, \LC_TIME];

Expand Down
2 changes: 1 addition & 1 deletion src/Framework/TestSuite.php
Expand Up @@ -19,7 +19,7 @@
/**
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
class TestSuite implements Test, SelfDescribing, \IteratorAggregate
class TestSuite implements \IteratorAggregate, SelfDescribing, Test
{
/**
* Enable or disable the backup and restoration of the $GLOBALS array.
Expand Down
2 changes: 1 addition & 1 deletion src/Runner/PhptTestCase.php
Expand Up @@ -27,7 +27,7 @@
/**
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class PhptTestCase implements Test, SelfDescribing
final class PhptTestCase implements SelfDescribing, Test
{
/**
* @var string[]
Expand Down
2 changes: 1 addition & 1 deletion src/Runner/ResultCacheExtension.php
Expand Up @@ -12,7 +12,7 @@
/**
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class ResultCacheExtension implements AfterSuccessfulTestHook, AfterSkippedTestHook, AfterRiskyTestHook, AfterIncompleteTestHook, AfterTestErrorHook, AfterTestWarningHook, AfterTestFailureHook, AfterLastTestHook
final class ResultCacheExtension implements AfterIncompleteTestHook, AfterLastTestHook, AfterRiskyTestHook, AfterSkippedTestHook, AfterSuccessfulTestHook, AfterTestErrorHook, AfterTestFailureHook, AfterTestWarningHook
{
/**
* @var TestResultCache
Expand Down
2 changes: 1 addition & 1 deletion tests/end-to-end/_files/Extension.php
Expand Up @@ -21,7 +21,7 @@
use PHPUnit\Runner\BeforeFirstTestHook;
use PHPUnit\Runner\BeforeTestHook;

final class Extension implements BeforeFirstTestHook, BeforeTestHook, AfterTestHook, AfterSuccessfulTestHook, AfterSkippedTestHook, AfterRiskyTestHook, AfterIncompleteTestHook, AfterTestErrorHook, AfterTestWarningHook, AfterTestFailureHook, AfterLastTestHook
final class Extension implements AfterIncompleteTestHook, AfterLastTestHook, AfterRiskyTestHook, AfterSkippedTestHook, AfterSuccessfulTestHook, AfterTestErrorHook, AfterTestFailureHook, AfterTestHook, AfterTestWarningHook, BeforeFirstTestHook, BeforeTestHook
{
private $amountOfInjectedArguments = 0;

Expand Down

0 comments on commit 613eb63

Please sign in to comment.