Skip to content

Commit 5bff232

Browse files
Merge branch '11.5' into 12.5
* 11.5: Fix Make PHPUnit\Framework\MockObject exceptions subtypes of PHPUnit\Exception
2 parents 28f4e25 + 1390afc commit 5bff232

12 files changed

Lines changed: 13 additions & 15 deletions

File tree

src/Event/Emitter/Emitter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
/**
2323
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
2424
*
25-
* @internal This class is not covered by the backward compatibility promise for PHPUnit
25+
* @internal This interface is not covered by the backward compatibility promise for PHPUnit
2626
*/
2727
interface Emitter
2828
{

src/Framework/Exception/Incomplete/IncompleteTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
1616
*
17-
* @internal This class is not covered by the backward compatibility promise for PHPUnit
17+
* @internal This interface is not covered by the backward compatibility promise for PHPUnit
1818
*/
1919
interface IncompleteTest extends Throwable
2020
{

src/Framework/Exception/Skipped/SkippedTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
1616
*
17-
* @internal This class is not covered by the backward compatibility promise for PHPUnit
17+
* @internal This interface is not covered by the backward compatibility promise for PHPUnit
1818
*/
1919
interface SkippedTest extends Throwable
2020
{

src/Framework/MockObject/Exception/Exception.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@
99
*/
1010
namespace PHPUnit\Framework\MockObject;
1111

12-
use Throwable;
13-
1412
/**
1513
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
1614
*
17-
* @internal This class is not covered by the backward compatibility promise for PHPUnit
15+
* @internal This interface is not covered by the backward compatibility promise for PHPUnit
1816
*/
19-
interface Exception extends Throwable
17+
interface Exception extends \PHPUnit\Exception
2018
{
2119
}

src/Framework/MockObject/Runtime/Stub/Stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
1616
*
17-
* @internal This class is not covered by the backward compatibility promise for PHPUnit
17+
* @internal This interface is not covered by the backward compatibility promise for PHPUnit
1818
*/
1919
interface Stub
2020
{

src/Framework/Reorderable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/**
1313
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
1414
*
15-
* @internal This class is not covered by the backward compatibility promise for PHPUnit
15+
* @internal This interface is not covered by the backward compatibility promise for PHPUnit
1616
*/
1717
interface Reorderable
1818
{

src/Metadata/Parser/Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
1616
*
17-
* @internal This class is not covered by the backward compatibility promise for PHPUnit
17+
* @internal This interface is not covered by the backward compatibility promise for PHPUnit
1818
*/
1919
interface Parser
2020
{

src/Runner/Exception/Exception.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/**
1313
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
1414
*
15-
* @internal This class is not covered by the backward compatibility promise for PHPUnit
15+
* @internal This interface is not covered by the backward compatibility promise for PHPUnit
1616
*/
1717
interface Exception extends \PHPUnit\Exception
1818
{

src/Runner/ResultCache/ResultCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
1616
*
17-
* @internal This class is not covered by the backward compatibility promise for PHPUnit
17+
* @internal This interface is not covered by the backward compatibility promise for PHPUnit
1818
*/
1919
interface ResultCache
2020
{

src/TextUI/Command/Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/**
1313
* @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
1414
*
15-
* @internal This class is not covered by the backward compatibility promise for PHPUnit
15+
* @internal This interface is not covered by the backward compatibility promise for PHPUnit
1616
*/
1717
interface Command
1818
{

0 commit comments

Comments
 (0)