Make sure to pass a string to GU::trimExplode() #198
Workflow file for this run
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
name: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
env: | |
# See version matrix @ https://typo3.org/cms/roadmap | |
- { php: 8.1, typo3: 11 } | |
- { php: 8.1, typo3: 12 } | |
- { php: 8.3, typo3: 13 } | |
env: ${{ matrix.env }} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up PHP Version | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.env.php }} | |
tools: composer:v2 | |
- name: Lint PHP files | |
run: find *.php Classes -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l | |
- 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 | |
run: | | |
composer require typo3/cms-core:^$typo3 typo3/cms-frontend:^$typo3 typo3/cms-backend:^$typo3 | |
- name: Run PHPStan | |
run: composer phpstan |