diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 2630c08..9197865 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -19,8 +19,6 @@ jobs: strategy: matrix: php-version: - - "7.2" - - "7.3" - "7.4" - "8.0" - "8.1" @@ -74,8 +72,6 @@ jobs: - "test:phpmd" - "test:phpstan" php-version: - - "7.2" - - "7.3" - "7.4" - "8.0" - "8.1" @@ -125,12 +121,6 @@ jobs: fail-fast: false matrix: include: - - - typo3-version: "^10.4" - php-version: "7.2" - - - typo3-version: "^10.4" - php-version: "7.3" - typo3-version: "^10.4" php-version: "7.4" diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dc6d0f2..dd60d57 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,7 +17,7 @@ variables: PHPUNIT_OPTIONS: -c $PHPUNIT_CONFIG_FILE --coverage-text --colors=never --log-junit=$JUNIT_LOG --coverage-clover=$COVERAGE_LOG --whitelist=$PHP_ANALYSE_PATHS $PHPUNIT_DIRECTORY ANALYSE_COVERAGE_MIN: '1' ANALYSE_COVERAGE_LAST_THRESHOLD: '5.0' - PHPCOMPATIBILITY_PHP_VERSIONS: '7.2,7.3,7.4,8.0,8.1,8.2,8.3' + PHPCOMPATIBILITY_PHP_VERSIONS: '7.4,8.0,8.1,8.2,8.3' sonarqube: allow_failure: true diff --git a/composer.json b/composer.json index 31f4f79..647ac21 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,8 @@ "require": { "typo3/cms-core": "^10.4 || ^11.5", "orhanerday/open-ai": "^3.5", - "symfony/http-client": "^5.4" + "symfony/http-client": "^5.4", + "php": "^7.4 || ^8.0 || ^8.1 || ^8.2 || ^8.3" }, "require-dev": { "typo3/testing-framework": "^6.16 || ^7.0 || ^8.0", @@ -112,20 +113,12 @@ ".Build/bin/php-cs-fixer fix -v --dry-run --diff" ], "test:phpcompatibility": [ - "@test:phpcompatibility:7.2", - "@test:phpcompatibility:7.3", "@test:phpcompatibility:7.4", "@test:phpcompatibility:8.0", "@test:phpcompatibility:8.1", "@test:phpcompatibility:8.2", "@test:phpcompatibility:8.3" ], - "test:phpcompatibility:7.2": [ - ".Build/bin/phpcs --ignore=.Build/*,Resources/Public/* -p . --standard=.Build/vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 7.2" - ], - "test:phpcompatibility:7.3": [ - ".Build/bin/phpcs --ignore=.Build/*,Resources/Public/* -p . --standard=.Build/vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 7.3" - ], "test:phpcompatibility:7.4": [ ".Build/bin/phpcs --ignore=.Build/*,Resources/Public/* -p . --standard=.Build/vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 7.4" ],