diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6e586fc..18c137c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - TYPO3: ['12', '13'] + TYPO3: ['12', '13', '14'] steps: - name: Checkout @@ -27,15 +27,20 @@ jobs: run: composer validate - name: Cache dependencies - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~/.composer/cache key: dependencies-composer-${{ hashFiles('composer.json') }} + - name: Install composer dependencies TYPO3 14 + if: matrix.TYPO3 == '14' + run: | + composer install --no-progress --no-interaction + - name: Install composer dependencies TYPO3 13 if: matrix.TYPO3 == '13' run: | - composer install --no-progress --no-interaction + composer require typo3/cms-core:^13.4 --no-progress --no-interaction --dev -W - name: Install composer dependencies TYPO3 12 if: matrix.TYPO3 == '12' diff --git a/Classes/AvailablePermissionSets.php b/Classes/AvailablePermissionSets.php index a4731db..7281c10 100644 --- a/Classes/AvailablePermissionSets.php +++ b/Classes/AvailablePermissionSets.php @@ -12,8 +12,6 @@ namespace B13\PermissionSets; -use TYPO3\CMS\Backend\Form\FormDataProvider\TcaSelectItems; - /** * Functionality to load all available permission sets for selection of be_groups.permissions.sets */ @@ -21,7 +19,7 @@ class AvailablePermissionSets { public function __construct(protected PermissionSetRegistry $registry) {} - public function backendGroupSelector(array &$params, TcaSelectItems $parentObject) + public function backendGroupSelector(array &$params): void { foreach ($this->registry->all() as $identifier => $permissionSet) { $params['items'][] = ['label' => $permissionSet->label, 'value' => $identifier]; diff --git a/composer.json b/composer.json index 827772e..d4950ff 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "keywords": ["typo3", "permissions", "acl", "deployment"], "license": "GPL-2.0-or-later", "require": { - "typo3/cms-core": "^12.4 || ^13.4" + "typo3/cms-core": "^12.4 || ^13.4 || ^14.3" }, "extra": { "typo3/cms": { @@ -21,10 +21,10 @@ } }, "require-dev": { - "typo3/cms-dashboard": "^12.4 || ^13.4", - "saschaegerer/phpstan-typo3": "^1.8", + "typo3/cms-dashboard": "^12.4 || ^13.4 || ^14.3", + "saschaegerer/phpstan-typo3": "^1.8 || ^2.0", "typo3/coding-standards": "^0.8.0", - "typo3/testing-framework": "^8.0", + "typo3/testing-framework": "^8.0 || ^9.0", "b13/permission-sets-examples": "1.0.0" }, "config": { diff --git a/ext_emconf.php b/ext_emconf.php index f55f373..a319bb1 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -12,7 +12,7 @@ 'version' => '1.0.0', 'constraints' => [ 'depends' => [ - 'typo3' => '12.4.0-13.99.99', + 'typo3' => '12.4.0-14.99.99', ], 'conflicts' => [], 'suggests' => [],