-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* drop TYPO3 10 Support * add TYPO3 13 Support * use CI
- Loading branch information
1 parent
d3fb8a2
commit c21a53e
Showing
10 changed files
with
123 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
testsuite: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
TYPO3: [ '11' , '12', '13'] | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up PHP Version | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 8.1 | ||
tools: composer:v2 | ||
|
||
- name: Validate composer.json and composer.lock | ||
run: composer validate | ||
|
||
- name: Cache dependencies | ||
uses: actions/cache@v1 | ||
with: | ||
path: ~/.composer/cache | ||
key: dependencies-composer-${{ hashFiles('composer.json') }} | ||
|
||
- name: Install composer dependencies TYPO3 13 | ||
if: matrix.TYPO3 == '13' | ||
run: | | ||
composer install --no-progress --no-interaction | ||
|
||
- name: Install composer dependencies TYPO3 12 | ||
if: matrix.TYPO3 == '12' | ||
run: | | ||
composer require typo3/cms-core:^12.4 --no-progress --no-interaction --dev -W | ||
- name: Install composer dependencies TYPO3 11 | ||
if: matrix.TYPO3 == '11' | ||
run: | | ||
composer require typo3/cms-core:^11.5 --no-progress --no-interaction --dev -W | ||
- name: Phpstan 12/13 | ||
if: matrix.TYPO3 != '11' | ||
run: ./vendor/bin/phpstan analyze -c Build/phpstan.neon | ||
- name: Phpstan 11 | ||
if: matrix.TYPO3 == '11' | ||
run: ./vendor/bin/phpstan analyze -c Build/phpstan11.neon | ||
- name: Phpcsfix | ||
run: ./vendor/bin/php-cs-fixer fix --config=Build/php-cs-fixer.php --dry-run --stop-on-violation --using-cache=no |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
includes: | ||
- ../vendor/saschaegerer/phpstan-typo3/extension.neon | ||
parameters: | ||
level: 5 | ||
paths: | ||
- %currentWorkingDirectory%/Classes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
includes: | ||
- ../vendor/saschaegerer/phpstan-typo3/extension.neon | ||
parameters: | ||
level: 5 | ||
paths: | ||
- %currentWorkingDirectory%/Classes | ||
|
||
ignoreErrors: | ||
- '#.*unknown class TYPO3\\CMS\\Core\\TypoScript\\IncludeTree\\Event\\ModifyLoadedPageTsConfigEvent.#' | ||
- '#.*invalid type TYPO3\\CMS\\Core\\TypoScript\\IncludeTree\\Event\\ModifyLoadedPageTsConfigEvent.#' | ||
- '#.*unknown class TYPO3\\CMS\\Core\\TypoScript\\IncludeTree\\Event\\AfterTemplatesHaveBeenDeterminedEvent.#' | ||
- '#.*invalid type TYPO3\\CMS\\Core\\TypoScript\\IncludeTree\\Event\\AfterTemplatesHaveBeenDeterminedEvent.#' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# default user ts config for v13 | ||
# Hide tstemplate "Edit TypoScript record" and "Constant Editor" in core v12 | ||
options.hideModules := addToList(web_typoscript_infomodify, web_typoscript_constanteditor) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters