Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] drop 7.2 compat, update readme #14

Merged
merged 2 commits into from
May 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@ jobs:
coverage: none
tools: composer:v2.3
- name: "Run PHP lint"
run: "composer lint:php"
run: "composer check:php"
strategy:
fail-fast: false
matrix:
php-version:
- 7.2
- 7.3
- 7.4
- 8.0
Expand Down Expand Up @@ -60,7 +59,7 @@ jobs:
fail-fast: false
matrix:
command:
- "composer:normalize"
- "normalize"
- "check:php-cs-fixer:dry-run"
- "check:phpcs:dry-run"
- "check:phpstan"
Expand Down
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
12 changes: 12 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down