From 6fe08fb160d667ce0671efe7e602790e959626ba Mon Sep 17 00:00:00 2001 From: Greg Bowler Date: Tue, 14 Apr 2026 19:13:24 +0100 Subject: [PATCH] tidy: Gt->GT consistency --- composer.json | 9 ++++++- src/BodyStream.php | 2 +- src/CallOrOutOfSequenceException.php | 2 +- src/DataNotCompatibleFormatException.php | 2 +- src/DataNotFileUploadException.php | 2 +- src/ImmutableObjectModificationException.php | 2 +- src/Input.php | 26 +++++++++---------- src/InputData/AbstractInputData.php | 8 +++--- src/InputData/BodyInputData.php | 2 +- src/InputData/CombinedInputData.php | 2 +- src/InputData/Datum/FailedFileUpload.php | 2 +- src/InputData/Datum/FileUpload.php | 6 ++--- src/InputData/Datum/InputDatum.php | 2 +- src/InputData/Datum/MultipleInputDatum.php | 4 +-- .../Datum/StreamNotAvailableException.php | 4 +-- src/InputData/FileUploadInputData.php | 6 ++--- src/InputData/InputData.php | 8 +++--- src/InputData/InputDataFactory.php | 6 ++--- src/InputData/KeyValueArrayAccess.php | 6 ++--- src/InputData/KeyValueCountable.php | 2 +- src/InputData/KeyValueIterator.php | 4 +-- src/InputData/QueryStringInputData.php | 2 +- src/InputException.php | 2 +- src/InputValueGetter.php | 14 +++++----- src/InvalidInputMethodException.php | 2 +- src/MissingInputParameterException.php | 2 +- src/Trigger/Callback.php | 4 +-- src/Trigger/NeverTrigger.php | 2 +- src/Trigger/Trigger.php | 10 +++---- src/UploadedFileMoveException.php | 2 +- src/UploadedFileSecurityException.php | 2 +- src/WithWithoutClashingException.php | 2 +- test/phpunit/Helper/Helper.php | 6 ++--- test/phpunit/Helper/Reflection.php | 2 +- test/phpunit/InputData/BodyInputDataTest.php | 10 +++---- .../InputData/FileUploadInputDataTest.php | 6 ++--- .../InputData/InputDataFactoryTest.php | 8 +++--- test/phpunit/InputData/InputDataTest.php | 4 +-- test/phpunit/InputTest.php | 22 ++++++++-------- test/phpunit/Trigger/CallbackTest.php | 6 ++--- test/phpunit/Trigger/TriggerTest.php | 12 ++++----- 41 files changed, 117 insertions(+), 110 deletions(-) diff --git a/composer.json b/composer.json index 5f43176..3abf8d3 100644 --- a/composer.json +++ b/composer.json @@ -18,18 +18,19 @@ "autoload": { "psr-4": { + "GT\\Input\\": "./src", "Gt\\Input\\": "./src" } }, "autoload-dev": { "psr-4": { + "GT\\Input\\Test\\": "./test/phpunit", "Gt\\Input\\Test\\": "./test/phpunit" } }, "scripts": { "phpunit": "vendor/bin/phpunit --configuration phpunit.xml", - "phpunit:coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --configuration phpunit.xml --coverage-text", "phpstan": "vendor/bin/phpstan analyse --level 6 src --memory-limit 256M", "phpcs": "vendor/bin/phpcs src --standard=phpcs.xml", "phpmd": "vendor/bin/phpmd src/ text phpmd.xml", @@ -41,6 +42,12 @@ ] }, + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "funding": [ { "type": "github", diff --git a/src/BodyStream.php b/src/BodyStream.php index 9b87fd1..51785a6 100644 --- a/src/BodyStream.php +++ b/src/BodyStream.php @@ -1,5 +1,5 @@ diff --git a/src/InputData/AbstractInputData.php b/src/InputData/AbstractInputData.php index 638a50e..fdf405e 100644 --- a/src/InputData/AbstractInputData.php +++ b/src/InputData/AbstractInputData.php @@ -1,12 +1,12 @@ diff --git a/src/InputData/BodyInputData.php b/src/InputData/BodyInputData.php index 452e5d1..4808c2b 100644 --- a/src/InputData/BodyInputData.php +++ b/src/InputData/BodyInputData.php @@ -1,4 +1,4 @@ |iterable>|iterable...$sources */ diff --git a/src/InputData/InputDataFactory.php b/src/InputData/InputDataFactory.php index 618f900..278b11e 100644 --- a/src/InputData/InputDataFactory.php +++ b/src/InputData/InputDataFactory.php @@ -1,8 +1,8 @@ callbacks as $callback) { - /** @var $callback \Gt\Input\Trigger\Callback */ + /** @var $callback \GT\Input\Trigger\Callback */ $callback->call($fields); } } diff --git a/src/UploadedFileMoveException.php b/src/UploadedFileMoveException.php index 46cfee2..26689db 100644 --- a/src/UploadedFileMoveException.php +++ b/src/UploadedFileMoveException.php @@ -1,4 +1,4 @@