@@ -27,19 +27,20 @@ jobs:
2727
2828 strategy :
2929 matrix :
30- php-versions : ['7.4']
30+ env :
31+ - { PHP: 7.4 }
3132
32- name : Lint PHP ${{ matrix.php-versions }}
33+ name : Lint PHP ${{ matrix.env.PHP }}
3334 steps :
3435 - name : Checkout
3536 uses : actions/checkout@v2
3637
3738 - name : Setup PHP
3839 uses : shivammathur/setup-php@v2
3940 with :
40- php-version : ${{ matrix.php-versions }}
41+ php-version : ${{ matrix.env.PHP }}
4142
42- - name : Running php lint with ${{ matrix.php-versions }}
43+ - name : Running php lint with ${{ matrix.env.PHP }}
4344 run : errors=$(find . -name \*.php ! -path "./.Build/*" -exec php -d display_errors=stderr -l "{}" 2>&1 >/dev/null \;) && echo "${errors}" && test -z "${errors}"
4445
4546 phpunit :
5253 fail-fast : false
5354 matrix :
5455 env :
55- - { php: 7.4, TYPO3_VERSION: ^11.0, TESTING_FRAMEWORK: ^6.6.2 }
56- - { php: 7.4, TYPO3_VERSION: ^11.0, TESTING_FRAMEWORK: ^6.6.2, PREFER_LOWEST: "--prefer-lowest" }
57- - { php: 7.4, TYPO3_VERSION: "dev-master ", TESTING_FRAMEWORK: ^6.6.2 , experimental: true }
56+ - { php: 7.4, TYPO3_VERSION: " ^11.0" , TESTING_FRAMEWORK: " ^6.6.2" }
57+ - { php: 7.4, TYPO3_VERSION: " ^11.0" , TESTING_FRAMEWORK: " ^6.6.2" , PREFER_LOWEST: "--prefer-lowest" }
58+ - { php: 7.4, TYPO3_VERSION: "dev-main ", TESTING_FRAMEWORK: "dev-main" , experimental: true }
5859
5960 env : ${{ matrix.env }}
6061
6667 - name : Setup PHP
6768 uses : shivammathur/setup-php@v2
6869 with :
69- php-version : ${{ matrix.env.php }}
70+ php-version : ${{ matrix.env.PHP }}
7071 tools : composer
7172 extensions : pdo, sqlite3
7273
8081 key : dependencies-composer-${{ hashFiles('composer.json') }}
8182
8283 - name : Ensure stability dev
83- if : ${{ matrix.env.TYPO3_VERSION == 'dev-master ' }}
84+ if : ${{ matrix.env.TYPO3_VERSION == 'dev-main ' }}
8485 run : |
8586 composer config minimum-stability dev
8687 composer config prefer-stable true
0 commit comments