File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+
9+ jobs :
10+ check-composer :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v2
14+
15+ - name : Install PHP
16+ uses : shivammathur/setup-php@v2
17+ with :
18+ php-version : 8.1
19+ coverage : none
20+ tools : composer:v2
21+ env :
22+ COMPOSER_TOKEN : ${{ secrets.GITHUB_TOKEN }}
23+
24+ - name : Validate composer.json
25+ run : composer validate
26+
27+ php-linting :
28+ runs-on : ubuntu-latest
29+ strategy :
30+ matrix :
31+ php-version :
32+ - 8.0
33+ - 8.1
34+ steps :
35+ - name : Checkout
36+ uses : actions/checkout@v2
37+
38+ - name : Install PHP
39+ uses : shivammathur/setup-php@v2
40+ with :
41+ php-version : " ${{ matrix.php-version }}"
42+ coverage : none
43+
44+ - name : PHP lint
45+ run : " find *.php Classes Configuration -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l"
46+
47+ code-quality :
48+ runs-on : ubuntu-latest
49+ strategy :
50+ matrix :
51+ php-version :
52+ - 8.0
53+ - 8.1
54+ steps :
55+ - uses : actions/checkout@v2
56+
57+ - name : Install PHP
58+ uses : shivammathur/setup-php@v2
59+ with :
60+ php-version : " ${{ matrix.php-version }}"
61+ coverage : none
62+ tools : composer:v2
63+ env :
64+ COMPOSER_TOKEN : ${{ secrets.GITHUB_TOKEN }}
65+
66+ - name : Install dependencies with expected TYPO3 version
67+ run : composer require --prefer-dist --no-progress
68+
69+ - name : Code Quality (by PHPStan)
70+ run : ./vendor/bin/phpstan analyse
Original file line number Diff line number Diff line change 66 " GPL-2.0-or-later"
77 ],
88 "require" : {
9- "typo3/cms-core" : " ^11" ,
109 "cloudinary/cloudinary_php" : " ^1.15" ,
1110 "ext-json" : " *" ,
12- "php" : " ^7.3 || ~8.0 || ~8.1"
11+ "php" : " ~8.0 || ~8.1" ,
12+ "typo3/cms-backend" : " ^11.5" ,
13+ "typo3/cms-extbase" : " ^11.5"
14+ },
15+ "require-dev" : {
16+ "phpstan/phpstan" : " ^1.8"
1317 },
1418 "autoload" : {
1519 "psr-4" : {
2125 "typo3/cms" : {
2226 "extension-key" : " cloudinary"
2327 }
28+ },
29+ "config" : {
30+ "allow-plugins" : {
31+ "typo3/cms-composer-installers" : true ,
32+ "typo3/class-alias-loader" : true
33+ }
2434 }
2535}
You can’t perform that action at this time.
0 commit comments