From d59da02dba7869ab7ced8156853d68fc545a6dc4 Mon Sep 17 00:00:00 2001 From: "J. Peter M. Schuler" Date: Mon, 23 May 2022 18:58:42 +0200 Subject: [PATCH 1/2] [TASK] drop 7.2 compat, update readme --- .github/workflows/ci.yml | 1 - README.md | 13 ++++++++++++- composer.json | 12 ++++++++++++ 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03f9db7..a75cc4d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,6 @@ jobs: fail-fast: false matrix: php-version: - - 7.2 - 7.3 - 7.4 - 8.0 diff --git a/README.md b/README.md index f4a45c5..768406d 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,23 @@ +[![CI](https://github.com/jpmschuler/TYPO3-tvplus-contentslide/actions/workflows/ci.yml/badge.svg)](https://github.com/jpmschuler/TYPO3-tvplus-contentslide/actions/workflows/ci.yml) +[![Release](https://img.shields.io/github/v/release/jpmschuler/TYPO3-tvplus-contentslide.svg)](https://github.com/jpmschuler/TYPO3-tvplus-contentslide/actions/workflows/ci.yml) + + # EXT:tvplus_contentslide This extension allows you to inherit the content of a TemplaVoilaPlus content element column to its child pages - Adaption of EXT:kb_tv_cont_slide to work with templavoilaplus +# Compatibility +As this extension has a quite limited set of features, there will only be seldom updates. +The current version `v11.0.6` is basically compatible with +- TYPO3: 9LTS, 10LTS, 11LTS +- PHP: ^7.3 || ^8.0 +- EXT:templavoilaplus: v7 || v8 + # Installation Either install `EXT:tvplus_contentslide` via TER (Extension Manager) or via composer `jpmschuler/tvplus-contentslide` # How to use -Inside your TypoScript, instead of +Inside your TypoScript, instead of ``` lib.sidebarContent = RECORDS lib.sidebarContent.source.current = 1 diff --git a/composer.json b/composer.json index cd09186..b1ed763 100644 --- a/composer.json +++ b/composer.json @@ -14,6 +14,7 @@ } ], "require": { + "php": "^7.3 || ^8.0", "templavoilaplus/templavoilaplus": "^7.3.0 || ^8.0.0 || 7.3.x-dev || 8.x-dev || *@alpha", "typo3/cms-backend": "^v9.5.31 || ^v10.4.28 || ^v11.5.10", "typo3/cms-core": "^v9.5.31 || ^v10.4.28 || ^v11.5.10", @@ -73,6 +74,17 @@ "check:php": "find *.php Classes Configuration Tests -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l", "check:php-cs-fixer": "php-cs-fixer fix", "check:php-cs-fixer:dry-run": "php-cs-fixer fix --dry-run --using-cache=no --diff", + "check:php:podman": "@check:php:podman:all", + "check:php:podman:all": [ + "@check:php:podman:php73", + "@check:php:podman:php74", + "@check:php:podman:php80", + "@check:php:podman:php81" + ], + "check:php:podman:php73": "podman run --rm -it -v $(pwd):/data thecodingmachine/php:7.3-v4-slim-cli /bin/bash -c \"cd /data; composer run check:php\"", + "check:php:podman:php74": "podman run --rm -it -v $(pwd):/data thecodingmachine/php:7.4-v4-slim-cli /bin/bash -c \"cd /data; composer run check:php\"", + "check:php:podman:php80": "podman run --rm -it -v $(pwd):/data thecodingmachine/php:8.0-v4-slim-cli /bin/bash -c \"cd /data; composer run check:php\"", + "check:php:podman:php81": "podman run --rm -it -v $(pwd):/data thecodingmachine/php:8.1-v4-slim-cli /bin/bash -c \"cd /data; composer run check:php\"", "check:phpcbf": "phpcbf Classes Configuration Tests", "check:phpcs": "@check:phpcbf", "check:phpcs:dry-run": "phpcs Classes Configuration Tests", From e9b3e98f6d7f4d1c1c510b1d188f60f6fe7c5e52 Mon Sep 17 00:00:00 2001 From: "J. Peter M. Schuler" Date: Mon, 23 May 2022 19:02:00 +0200 Subject: [PATCH 2/2] [TASK] fix CI commands --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a75cc4d..58ec05c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: coverage: none tools: composer:v2.3 - name: "Run PHP lint" - run: "composer lint:php" + run: "composer check:php" strategy: fail-fast: false matrix: @@ -59,7 +59,7 @@ jobs: fail-fast: false matrix: command: - - "composer:normalize" + - "normalize" - "check:php-cs-fixer:dry-run" - "check:phpcs:dry-run" - "check:phpstan"