From 8cc9ba28faef7338ef1290ef81a4c774ef1f0cc8 Mon Sep 17 00:00:00 2001
From: Oliver Klee <typo3-coding@oliverklee.de>
Date: Fri, 11 Aug 2023 16:01:42 +0200
Subject: [PATCH] [TASK] Unify descriptions for fixture classes of abstract
 classes

There is no point repeating the name of the extended class in the
class PHPDoc comment.

This makes creating new fixture classes less of a hassle.

This is a separate change in order to make the other changes that
get rid of `getMockForAbstractClass` shorter and more focused,
following the "one kind of change per change" principle.

Resolves: #101665
Related: #101601
Releases: main, 12.4
Change-Id: I7ee95e63149ff90c6f5817438e5b4634d04f4e93
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80947
Tested-by: Benjamin Franzke <ben@bnf.dev>
Reviewed-by: Benjamin Franzke <ben@bnf.dev>
Tested-by: core-ci <typo3@b13.com>
---
 .../Unit/Log/Processor/Fixtures/TestingMemoryProcessor.php      | 2 +-
 .../Unit/Resource/Collection/Fixtures/TestingFileCollection.php | 2 +-
 .../core/Tests/Unit/Resource/Driver/Fixtures/TestingDriver.php  | 2 +-
 .../Unit/Resource/Repository/Fixtures/TestingRepository.php     | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/typo3/sysext/core/Tests/Unit/Log/Processor/Fixtures/TestingMemoryProcessor.php b/typo3/sysext/core/Tests/Unit/Log/Processor/Fixtures/TestingMemoryProcessor.php
index 0bc37c0b4fa6..4fdf135655cc 100644
--- a/typo3/sysext/core/Tests/Unit/Log/Processor/Fixtures/TestingMemoryProcessor.php
+++ b/typo3/sysext/core/Tests/Unit/Log/Processor/Fixtures/TestingMemoryProcessor.php
@@ -21,7 +21,7 @@ use TYPO3\CMS\Core\Log\LogRecord;
 use TYPO3\CMS\Core\Log\Processor\AbstractMemoryProcessor;
 
 /**
- * Testing subclass of `AbstractMemoryProcessor`.
+ * Testing subclass of the abstract class.
  */
 final class TestingMemoryProcessor extends AbstractMemoryProcessor
 {
diff --git a/typo3/sysext/core/Tests/Unit/Resource/Collection/Fixtures/TestingFileCollection.php b/typo3/sysext/core/Tests/Unit/Resource/Collection/Fixtures/TestingFileCollection.php
index 2ac7ddef960a..132e141e00f8 100644
--- a/typo3/sysext/core/Tests/Unit/Resource/Collection/Fixtures/TestingFileCollection.php
+++ b/typo3/sysext/core/Tests/Unit/Resource/Collection/Fixtures/TestingFileCollection.php
@@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Resource\Collection\Fixtures;
 use TYPO3\CMS\Core\Resource\Collection\AbstractFileCollection;
 
 /**
- * Testing subclass of `AbstractFileCollection`.
+ * Testing subclass of the abstract class.
  */
 final class TestingFileCollection extends AbstractFileCollection
 {
diff --git a/typo3/sysext/core/Tests/Unit/Resource/Driver/Fixtures/TestingDriver.php b/typo3/sysext/core/Tests/Unit/Resource/Driver/Fixtures/TestingDriver.php
index 69994323a42a..d561e7a26640 100644
--- a/typo3/sysext/core/Tests/Unit/Resource/Driver/Fixtures/TestingDriver.php
+++ b/typo3/sysext/core/Tests/Unit/Resource/Driver/Fixtures/TestingDriver.php
@@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Resource\Driver\Fixtures;
 use TYPO3\CMS\Core\Resource\Driver\AbstractDriver;
 
 /**
- * Testing subclass of `AbstractDriver`.
+ * Testing subclass of the abstract class.
  */
 final class TestingDriver extends AbstractDriver
 {
diff --git a/typo3/sysext/core/Tests/Unit/Resource/Repository/Fixtures/TestingRepository.php b/typo3/sysext/core/Tests/Unit/Resource/Repository/Fixtures/TestingRepository.php
index 362f96bf455b..5d2913f46d8f 100644
--- a/typo3/sysext/core/Tests/Unit/Resource/Repository/Fixtures/TestingRepository.php
+++ b/typo3/sysext/core/Tests/Unit/Resource/Repository/Fixtures/TestingRepository.php
@@ -20,7 +20,7 @@ namespace TYPO3\CMS\Core\Tests\Unit\Resource\Repository\Fixtures;
 use TYPO3\CMS\Core\Resource\AbstractRepository;
 
 /**
- * Testing subclass of `AbstractRepository`.
+ * Testing subclass of the abstract class.
  */
 final class TestingRepository extends AbstractRepository
 {
-- 
GitLab