File tree Expand file tree Collapse file tree 8 files changed +40
-16
lines changed Expand file tree Collapse file tree 8 files changed +40
-16
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,14 @@ class AccessableTest extends TestCase
1515{
1616 /**
1717 * This test will test a custom implementation of the Accessable interface.
18- * DO NOT CHANGE THIS!
19- * Changes are only allowed by increasing the major version number.
2018 */
2119 public function testBcForAccessableInterface (): void
2220 {
21+ /**
22+ * DO NOT CHANGE THIS CLASS!
23+ *
24+ * This anonymous class represents an implementation in user code
25+ */
2326 $ class = new class () implements Accessable {
2427 /**
2528 * Get a value by a key
Original file line number Diff line number Diff line change @@ -17,15 +17,18 @@ class ElementTest extends TestCase
1717{
1818 /**
1919 * This test will test a custom implementation of the Element interface.
20- * DO NOT CHANGE THIS!
21- * Changes are only allowed by increasing the major version number.
2220 */
2321 public function testBcForElementInterface (): void
2422 {
2523 $ data = null ;
2624 $ manager = $ this ->createMock (Manager::class);
2725 $ parent = $ this ->createMock (Accessable::class);
2826
27+ /**
28+ * DO NOT CHANGE THIS CLASS!
29+ *
30+ * This anonymous class represents an implementation in user code
31+ */
2932 $ class = new class ($ data , $ manager , $ parent ) implements Element {
3033 /**
3134 * Sets the manager and parent
Original file line number Diff line number Diff line change @@ -15,11 +15,14 @@ class ExceptionTest extends TestCase
1515{
1616 /**
1717 * This test will test a custom implementation of the Exception interface.
18- * DO NOT CHANGE THIS!
19- * Changes are only allowed by increasing the major version number.
2018 */
2119 public function testBcForExceptionInterface (): void
2220 {
21+ /**
22+ * DO NOT CHANGE THIS CLASS!
23+ *
24+ * This anonymous class represents an implementation in user code
25+ */
2326 $ class = new class () implements Exception {};
2427
2528 $ this ->assertInstanceOf (Exception::class, $ class );
Original file line number Diff line number Diff line change @@ -15,11 +15,14 @@ class FactoryTest extends TestCase
1515{
1616 /**
1717 * This test will test a custom implementation of the Factory interface.
18- * DO NOT CHANGE THIS!
19- * Changes are only allowed by increasing the major version number.
2018 */
2119 public function testBcForFactoryInterface (): void
2220 {
21+ /**
22+ * DO NOT CHANGE THIS CLASS!
23+ *
24+ * This anonymous class represents an implementation in user code
25+ */
2326 $ class = new class () implements Factory {
2427 /**
2528 * Create a new instance of a class
Original file line number Diff line number Diff line change @@ -15,11 +15,14 @@ class InputTest extends TestCase
1515{
1616 /**
1717 * This test will test a custom implementation of the Input interface.
18- * DO NOT CHANGE THIS!
19- * Changes are only allowed by increasing the major version number.
2018 */
2119 public function testBcForInputInterface (): void
2220 {
21+ /**
22+ * DO NOT CHANGE THIS CLASS!
23+ *
24+ * This anonymous class represents an implementation in user code
25+ */
2326 $ class = new class () implements Input {
2427 /**
2528 * Get the input as simple object
Original file line number Diff line number Diff line change @@ -15,11 +15,14 @@ class RequestInputTest extends TestCase
1515{
1616 /**
1717 * This test will test a custom implementation of the RequestInput interface.
18- * DO NOT CHANGE THIS!
19- * Changes are only allowed by increasing the major version number.
2018 */
2119 public function testBcForRequestInputInterface (): void
2220 {
21+ /**
22+ * DO NOT CHANGE THIS CLASS!
23+ *
24+ * This anonymous class represents an implementation in user code
25+ */
2326 $ class = new class () implements RequestInput {};
2427
2528 $ this ->assertInstanceOf (RequestInput::class, $ class );
Original file line number Diff line number Diff line change @@ -16,11 +16,14 @@ class ManagerTest extends TestCase
1616{
1717 /**
1818 * This test will test a custom implementation of the Manager interface.
19- * DO NOT CHANGE THIS!
20- * Changes are only allowed by increasing the major version number.
2119 */
2220 public function testBcForManagerInterface (): void
2321 {
22+ /**
23+ * DO NOT CHANGE THIS CLASS!
24+ *
25+ * This anonymous class represents an implementation in user code
26+ */
2427 $ class = new class () implements Manager {
2528 /**
2629 * Parse the input
Original file line number Diff line number Diff line change @@ -16,11 +16,14 @@ class SerializerTest extends TestCase
1616{
1717 /**
1818 * This test will test a custom implementation of the Serializer interface.
19- * DO NOT CHANGE THIS!
20- * Changes are only allowed by increasing the major version number.
2119 */
2220 public function testBcForSerializerInterface (): void
2321 {
22+ /**
23+ * DO NOT CHANGE THIS CLASS!
24+ *
25+ * This anonymous class represents an implementation in user code
26+ */
2427 $ class = new class () implements Serializer {
2528 /**
2629 * Serialize data
You can’t perform that action at this time.
0 commit comments