From d09b079f83e22510fd376112f4367389767783fa Mon Sep 17 00:00:00 2001 From: "John Paul E. Balandan, CPA" Date: Mon, 12 Oct 2026 17:36:03 +0800 Subject: [PATCH] refactor: remove `@see` test annotations in 4.8-only classes --- .../Commands/Utilities/Routes/PlaceholderSampleGenerator.php | 2 -- system/EnvironmentDetector.php | 2 -- system/HTTP/FormRequest.php | 3 --- system/HTTP/RequestInput.php | 2 -- system/HTTP/SSEResponse.php | 2 -- system/HTTP/StreamResponse.php | 2 -- system/Input/InputData.php | 3 --- system/Input/InputDataFactory.php | 3 --- system/Input/ValidatedInput.php | 2 -- 9 files changed, 21 deletions(-) diff --git a/system/Commands/Utilities/Routes/PlaceholderSampleGenerator.php b/system/Commands/Utilities/Routes/PlaceholderSampleGenerator.php index 3f77c09fb6a3..202981406d39 100644 --- a/system/Commands/Utilities/Routes/PlaceholderSampleGenerator.php +++ b/system/Commands/Utilities/Routes/PlaceholderSampleGenerator.php @@ -27,8 +27,6 @@ * The generated candidate is validated against the original pattern with * ``preg_match`` before being returned, so callers never receive a non-matching * sample even when the parser is too permissive for a given edge case. - * - * @see \CodeIgniter\Commands\Utilities\Routes\PlaceholderSampleGeneratorTest */ final class PlaceholderSampleGenerator { diff --git a/system/EnvironmentDetector.php b/system/EnvironmentDetector.php index fdccfa9b763a..369882fdd0b4 100644 --- a/system/EnvironmentDetector.php +++ b/system/EnvironmentDetector.php @@ -27,8 +27,6 @@ * * For custom environment names beyond the built-in production/development/testing, * use {@see self::is()}. - * - * @see \CodeIgniter\EnvironmentDetectorTest */ final readonly class EnvironmentDetector { diff --git a/system/HTTP/FormRequest.php b/system/HTTP/FormRequest.php index 1a38eeae00f4..f0a89a0cb216 100644 --- a/system/HTTP/FormRequest.php +++ b/system/HTTP/FormRequest.php @@ -18,9 +18,6 @@ use ReflectionNamedType; use ReflectionParameter; -/** - * @see \CodeIgniter\HTTP\FormRequestTest - */ abstract class FormRequest { /** diff --git a/system/HTTP/RequestInput.php b/system/HTTP/RequestInput.php index 4c94949cbe4f..f63a76486305 100644 --- a/system/HTTP/RequestInput.php +++ b/system/HTTP/RequestInput.php @@ -19,8 +19,6 @@ /** * Provides typed input access for request data sources. - * - * @see \CodeIgniter\HTTP\RequestInputTest */ final readonly class RequestInput { diff --git a/system/HTTP/SSEResponse.php b/system/HTTP/SSEResponse.php index fd5394ac7f86..8dc35278ddb4 100644 --- a/system/HTTP/SSEResponse.php +++ b/system/HTTP/SSEResponse.php @@ -17,8 +17,6 @@ /** * HTTP response for Server-Sent Events (SSE) streaming. - * - * @see \CodeIgniter\HTTP\SSEResponseTest */ class SSEResponse extends StreamResponse { diff --git a/system/HTTP/StreamResponse.php b/system/HTTP/StreamResponse.php index 4b2cdc2cdc65..6983449533f9 100644 --- a/system/HTTP/StreamResponse.php +++ b/system/HTTP/StreamResponse.php @@ -18,8 +18,6 @@ /** * HTTP response that streams its body to the client as it is generated, * instead of buffering the complete body first. - * - * @see \CodeIgniter\HTTP\StreamResponseTest */ class StreamResponse extends Response implements NonBufferedResponseInterface { diff --git a/system/Input/InputData.php b/system/Input/InputData.php index cae88b10b03b..544af0c092b1 100644 --- a/system/Input/InputData.php +++ b/system/Input/InputData.php @@ -13,9 +13,6 @@ namespace CodeIgniter\Input; -/** - * @see \CodeIgniter\Input\InputDataTest - */ class InputData { /** diff --git a/system/Input/InputDataFactory.php b/system/Input/InputDataFactory.php index ae91d9c9511d..56f62aa773ac 100644 --- a/system/Input/InputDataFactory.php +++ b/system/Input/InputDataFactory.php @@ -13,9 +13,6 @@ namespace CodeIgniter\Input; -/** - * @see \CodeIgniter\Input\InputDataFactoryTest - */ class InputDataFactory { /** diff --git a/system/Input/ValidatedInput.php b/system/Input/ValidatedInput.php index ddcd23e1b203..ee59bd05aacb 100644 --- a/system/Input/ValidatedInput.php +++ b/system/Input/ValidatedInput.php @@ -25,8 +25,6 @@ * * This class is stricter than InputData: missing values may use defaults and * null values remain null, but invalid present values throw. - * - * @see \CodeIgniter\Input\ValidatedInputTest */ class ValidatedInput extends InputData {