[TASK] Add rector with target v11 incl. CI job
{ | ||
"name": "t3o/ter", | ||
"description": "Website for TYPO3 Extension Repository", | ||
"authors": [ | ||
{ | ||
"name": "t3o team", | ||
"email": "maintenance@typo3.org" | ||
} | ||
], | ||
"support": { | ||
"email": "maintenance@typo3.org", | ||
"issues": "https://git-t3o.typo3.org/t3o/ter/issues" | ||
}, | ||
"repositories": [ | ||
{ | ||
"type": "path", | ||
"url": "extensions/*" | ||
}, | ||
{ | ||
"type": "composer", | ||
"url": "https://gitlab.typo3.org/api/v4/group/560/-/packages/composer/" | ||
} | ||
], | ||
"require": { | ||
"php": "^7.4", | ||
"ext-curl": "*", | ||
"ext-dom": "*", | ||
"ext-json": "*", | ||
"ext-pdo": "*", | ||
"ext-zip": "*", | ||
"ext-zlib": "*", | ||
"apache-solr-for-typo3/solr": "^11.0", | ||
"b13/typo3-composerize": "dev-main", | ||
"cweagans/composer-patches": "^1.7", | ||
"gordalina/cachetool": "^4.0", | ||
"lcobucci/jwt": "^3.3", | ||
"nimut/testing-framework": "^5.0", | ||
"t3o/t3olayout": "^5.0", | ||
"t3o/ter-frontend": "@dev", | ||
"t3o/ter-layout": "@dev", | ||
"t3o/ter-rest": "@dev", | ||
"t3o/ter-soap": "@dev", | ||
"typo3/cms-adminpanel": "^10.4", | ||
"typo3/cms-seo": "^10.4" | ||
}, | ||
"require-dev": { | ||
"codeception/codeception": "^4.1", | ||
"codeception/module-asserts": "^1.2", | ||
"codeception/module-phpbrowser": "^1.0", | ||
"friendsofphp/php-cs-fixer": "^2.16", | ||
"infection/infection": "^0.20.0", | ||
"neos/utility-arrays": "^6.0", | ||
"neos/utility-files": "^6.0", | ||
"punktde/codeception-cli": "^2.0", | ||
"punktde/codeception-database": "^2.0", | ||
"punktde/codeception-filesystem": "^2.0", | ||
"punktde/codeception-webdriver": "^2.2", | ||
"t3o/test-helpers": "dev-main" | ||
"name": "t3o/ter", | ||
"description": "Website for TYPO3 Extension Repository", | ||
"authors": [ | ||
{ | ||
"name": "t3o team", | ||
"email": "maintenance@typo3.org" | ||
} | ||
], | ||
"support": { | ||
"email": "maintenance@typo3.org", | ||
"issues": "https://git-t3o.typo3.org/t3o/ter/issues" | ||
}, | ||
"repositories": [ | ||
{ | ||
"type": "path", | ||
"url": "extensions/*" | ||
}, | ||
"config": { | ||
"store-auths": false, | ||
"platform": { | ||
"php": "7.4.8" | ||
}, | ||
"sort-packages": true | ||
{ | ||
"type": "composer", | ||
"url": "https://gitlab.typo3.org/api/v4/group/560/-/packages/composer/" | ||
} | ||
], | ||
"require": { | ||
"php": "^7.4", | ||
"ext-curl": "*", | ||
"ext-dom": "*", | ||
"ext-json": "*", | ||
"ext-pdo": "*", | ||
"ext-zip": "*", | ||
"ext-zlib": "*", | ||
"apache-solr-for-typo3/solr": "^11.0", | ||
"b13/typo3-composerize": "dev-main", | ||
"cweagans/composer-patches": "^1.7", | ||
"gordalina/cachetool": "^4.0", | ||
"lcobucci/jwt": "^3.3", | ||
"nimut/testing-framework": "^5.0", | ||
"t3o/t3olayout": "^5.0", | ||
"t3o/ter-frontend": "@dev", | ||
"t3o/ter-layout": "@dev", | ||
"t3o/ter-rest": "@dev", | ||
"t3o/ter-soap": "@dev", | ||
"typo3/cms-adminpanel": "^10.4", | ||
"typo3/cms-seo": "^10.4" | ||
}, | ||
"require-dev": { | ||
"codeception/codeception": "^4.1", | ||
"codeception/module-asserts": "^1.2", | ||
"codeception/module-phpbrowser": "^1.0", | ||
"friendsofphp/php-cs-fixer": "^2.16", | ||
"infection/infection": "^0.20.0", | ||
"neos/utility-arrays": "^6.0", | ||
"neos/utility-files": "^6.0", | ||
"punktde/codeception-cli": "^2.0", | ||
"punktde/codeception-database": "^2.0", | ||
"punktde/codeception-filesystem": "^2.0", | ||
"punktde/codeception-webdriver": "^2.2", | ||
"rector/rector": "^0.12.5", | ||
"t3o/test-helpers": "dev-main" | ||
}, | ||
"config": { | ||
"store-auths": false, | ||
"platform": { | ||
"php": "7.4.8" | ||
}, | ||
"extra": { | ||
"typo3/cms": { | ||
"web-dir": "public", | ||
"root-dir": "private" | ||
}, | ||
"patches-file": "composer.patches.json" | ||
"sort-packages": true | ||
}, | ||
"extra": { | ||
"typo3/cms": { | ||
"web-dir": "public", | ||
"root-dir": "private" | ||
}, | ||
"scripts": { | ||
"test:unit": [ | ||
"XDEBUG_MODE='coverage' ./vendor/bin/phpunit -c .gitlab-ci/Tests/phpunit.xml --log-junit build/junit-report.xml --coverage-text --colors=never" | ||
], | ||
"test:mutation": [ | ||
"XDEBUG_MODE='coverage' ./vendor/bin/infection" | ||
], | ||
"test:api": [ | ||
"./vendor/bin/codecept run api --steps" | ||
], | ||
"test:php": [ | ||
"./vendor/bin/php-cs-fixer fix --dry-run --diff-format=udiff --path-mode=intersection --config=.gitlab-ci/build/.php_cs --diff extensions" | ||
] | ||
} | ||
"patches-file": "composer.patches.json" | ||
}, | ||
"scripts": { | ||
"test:unit": [ | ||
"XDEBUG_MODE='coverage' ./vendor/bin/phpunit -c .gitlab-ci/Tests/phpunit.xml --log-junit build/junit-report.xml --coverage-text --colors=never" | ||
], | ||
"test:mutation": [ | ||
"XDEBUG_MODE='coverage' ./vendor/bin/infection" | ||
], | ||
"test:api": [ | ||
"./vendor/bin/codecept run api --steps" | ||
], | ||
"test:php": [ | ||
"./vendor/bin/php-cs-fixer fix --dry-run --diff-format=udiff --path-mode=intersection --config=.gitlab-ci/build/.php_cs --diff extensions" | ||
], | ||
"test:rector": [ | ||
"rector process -n" | ||
], | ||
"run:rector": [ | ||
"rector process" | ||
] | ||
} | ||
} |
rector.php
0 → 100644
Please register or sign in to comment