Skip to content

Commit 175f9b7

Browse files
committed
[TASK] Make extensions compatible to TYPO3 v14
1 parent 38318f0 commit 175f9b7

17 files changed

Lines changed: 430 additions & 369 deletions

.github/workflows/ci.yaml

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
php-version:
1818
- 8.2
1919
- 8.3
20+
- 8.4
21+
- 8.5
2022
steps:
2123
- name: Checkout
2224
uses: actions/checkout@v4
@@ -47,7 +49,7 @@ jobs:
4749
run: composer install --prefer-dist --no-progress --no-suggest
4850

4951
- name: Coding Guideline
50-
run: vendor/bin/php-cs-fixer fix --config=Build/.php-cs-fixer.dist.php -v --dry-run --using-cache=no --path-mode=intersection ./
52+
run: ./.build/bin/php-cs-fixer fix --config=Build/.php-cs-fixer.dist.php -v --dry-run --using-cache=no --path-mode=intersection ./
5153

5254
code-quality:
5355
runs-on: ubuntu-latest
@@ -59,6 +61,7 @@ jobs:
5961
- php-version: '8.2'
6062
- php-version: '8.3'
6163
- php-version: '8.4'
64+
- php-version: '8.5'
6265
steps:
6366
- uses: actions/checkout@v4
6467

@@ -71,21 +74,23 @@ jobs:
7174
- name: Install dependencies with expected TYPO3 version
7275
run: |-
7376
composer remove --dev ssch/typo3-rector \
74-
&& composer require typo3/cms-install "*" \
7577
&& composer install --no-progress --no-ansi --no-interaction
7678
77-
- name: Code Quality (by PHPStan)
78-
run: vendor/bin/phpstan analyse -c Build/phpstan.neon
79+
- name: Build codeception tester
80+
run: .build/bin/codecept build
7981

80-
tests-acceptance:
82+
- name: Code Quality (by PHPStan)
83+
run: ./.build/bin/phpstan analyse -c Build/phpstan.neon
84+
85+
test-unit:
8186
runs-on: ubuntu-latest
8287
needs:
8388
- coding-guideline
8489
- code-quality
8590
steps:
86-
- uses: actions/checkout@v3
91+
- uses: actions/checkout@v5
8792

88-
- uses: cachix/install-nix-action@v17
93+
- uses: cachix/install-nix-action@v31
8994
with:
9095
nix_path: nixpkgs=channel:nixos-unstable
9196

@@ -98,6 +103,21 @@ jobs:
98103
- name: Run Unit Tests PHP8.4
99104
run: nix-shell --arg phpVersion \"php84\" --pure --run project-test-unit
100105

106+
- name: Run Unit Tests PHP8.5
107+
run: nix-shell --arg phpVersion \"php85\" --pure --run project-test-unit
108+
109+
test-acceptance:
110+
runs-on: ubuntu-latest
111+
needs:
112+
- coding-guideline
113+
- code-quality
114+
steps:
115+
- uses: actions/checkout@v5
116+
117+
- uses: cachix/install-nix-action@v31
118+
with:
119+
nix_path: nixpkgs=channel:nixos-unstable
120+
101121
- name: Run Acceptance Tests PHP8.2
102122
run: nix-shell --arg phpVersion \"php82\" --pure --run project-test-acceptance
103123

@@ -106,3 +126,7 @@ jobs:
106126

107127
- name: Run Acceptance Tests PHP8.4
108128
run: nix-shell --arg phpVersion \"php84\" --pure --run project-test-acceptance
129+
130+
- name: Run Acceptance Tests PHP8.5
131+
run: nix-shell --arg phpVersion \"php85\" --pure --run project-test-acceptance
132+

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,5 @@ Documentation/_make
1010
.DS_Store
1111
.idea
1212

13-
var/
14-
vendor/
15-
1613
phpunit.coverage.xml
1714
phpunit.report.xml

.gitlab-ci.yml

Lines changed: 0 additions & 151 deletions
This file was deleted.

Build/UnitTests.xml

Lines changed: 0 additions & 30 deletions
This file was deleted.

Build/phpmd-ruleset.xml

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)