Skip to content

Commit

Permalink
chore: v12 only
Browse files Browse the repository at this point in the history
  • Loading branch information
aoekrz committed Jul 3, 2024
1 parent d6e8466 commit 16f027c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 20 deletions.
27 changes: 9 additions & 18 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.1",
"ext-json": "*",
"ext-mbstring": "*",
"ext-iconv": "*",
"typo3/cms-core": "^11.5 || ^12.4",
"typo3/cms-core": "^12.4",
"luracast/restler": "^5.0",
"cweagans/composer-patches": "^1.7"
},
"require-dev": {
"typo3/testing-framework": "^7.0.4 || ^8.0",
"typo3/testing-framework": "^8.0",
"phpspec/prophecy-phpunit": "^2.0",
"phpunit/phpcov": "*",
"phpunit/phpcov": "^9.0.0",
"phpcompatibility/php-compatibility": "^9.3",
"phpstan/phpstan": "^1.10",
"rector/rector": "^1.0",
"symplify/easy-coding-standard": "12.1.14",
"symplify/phpstan-rules": "12.4.8"
"symplify/phpstan-rules": "^13.0"
},
"keywords": [
"TYPO3",
Expand All @@ -52,6 +52,7 @@
"config": {
"vendor-dir": ".Build/vendor",
"bin-dir": ".Build/bin",
"process-timeout": 0,
"allow-plugins": {
"typo3/cms-composer-installers": true,
"typo3/class-alias-loader": true,
Expand All @@ -76,10 +77,6 @@
"./.Build/bin/ecs check --config .code-quality/ecs.php",
"./.Build/bin/rector process --dry-run --config .code-quality/rector.php"
],
"code-style-upgrade": [
"[ -e ./.Build/bin/rector ] || composer install",
"./.Build/bin/rector process --dry-run --config .code-quality/rector-8_0.php"
],
"code-analysis": [
"./.Build/bin/phpstan analyse -c .code-quality/phpstan.neon --memory-limit=1G"
],
Expand All @@ -90,8 +87,6 @@
"[ -e ./.Build/vendor/symplify/easy-coding-standard/vendor/squizlabs/php_codesniffer/bin/phpcs ] || composer install",
"[ -d ./reports/php_checkstyle ] || mkdir -p reports/php_checkstyle/",
"./.code-quality/configure-checkstyle.sh",
"./.Build/vendor/symplify/easy-coding-standard/vendor/squizlabs/php_codesniffer/bin/phpcs -d memory_limit=1G --standard=PHPCompatibility --colors --ignore=*/.Build/*,*.min.js -p . --runtime-set testVersion 7.4",
"./.Build/vendor/symplify/easy-coding-standard/vendor/squizlabs/php_codesniffer/bin/phpcs -d memory_limit=1G --standard=PHPCompatibility --colors --ignore=*/.Build/*,*.min.js -p . --runtime-set testVersion 8.0",
"./.Build/vendor/symplify/easy-coding-standard/vendor/squizlabs/php_codesniffer/bin/phpcs -d memory_limit=1G --standard=PHPCompatibility --colors --ignore=*/.Build/*,*.min.js -p . --runtime-set testVersion 8.1",
"./.Build/vendor/symplify/easy-coding-standard/vendor/squizlabs/php_codesniffer/bin/phpcs -d memory_limit=1G --standard=PHPCompatibility --colors --ignore=*/.Build/*,*.min.js -p . --runtime-set testVersion 8.2",
"./.Build/vendor/symplify/easy-coding-standard/vendor/squizlabs/php_codesniffer/bin/phpcs -d memory_limit=1G --standard=PHPCompatibility --colors --ignore=*/.Build/*,*.min.js -p . --runtime-set testVersion 8.3"
Expand All @@ -102,20 +97,16 @@
"@composer code-compatibility"
],
"extension-release": [
"rm -rf .github",
"rm -rf .Build",
"rm -rf .code-quality",
"rm -rf Tests/",
"rm .gitignore",
"rm .scrutinizer.yml"
"@composer install --no-dev",
"rm -rf .github .Build code-quality Tests .gitignore scrutinizer.yml"
]
},
"scripts-descriptions": {
"test:unit": "Run unit-tests - example to run only SOME unit-tests: composer test:unit -- --filter DispatcherTest"
},
"extra": {
"branch-alias": {
"dev-main": "11.0.x-dev"
"dev-main": "12.0.x-dev"
},
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
Expand Down
4 changes: 2 additions & 2 deletions ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
'state' => 'stable',
'uploadfolder' => 0,
'clearCacheOnLoad' => 0,
'version' => '11.2.0',
'version' => '12.0.0',
'constraints' => [
'depends' => [
'typo3' => '11.0.0-11.5.99'
'typo3' => '12.4.0-12.4.99'
],
'conflicts' => [],
'suggests' => [],
Expand Down

0 comments on commit 16f027c

Please sign in to comment.