chore: ⬆️ update nextcloud/rector
All checks were successful
repod / xml (push) Successful in 13s
repod / php (push) Successful in 1m10s
repod / nodejs (push) Successful in 1m9s
repod / release (push) Has been skipped

This commit is contained in:
Michel Roux 2025-02-03 14:34:29 +00:00
parent d579b74022
commit 69d82f2160
3 changed files with 28 additions and 27 deletions

View File

@ -22,7 +22,7 @@
"nextcloud/ocp": "^30.0.5",
"roave/security-advisories": "dev-latest",
"nextcloud/coding-standard": "^1.3.2",
"nextcloud/rector": "^0.2.1",
"nextcloud/rector": "^0.3.0",
"rector/rector": "~1.2.10",
"vimeo/psalm": "^6.2.0"
},

50
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "b14cd5b41ea485773ddc7a1b82e81d0d",
"content-hash": "9ab7d7771899390a7162016fea5776e0",
"packages": [],
"packages-dev": [
{
@ -1746,16 +1746,16 @@
},
{
"name": "nextcloud/rector",
"version": "v0.2.1",
"version": "v0.3.0",
"source": {
"type": "git",
"url": "https://github.com/nextcloud-libraries/rector.git",
"reference": "d73ab086700564f675eda9a834b6b08410a1da7e"
"reference": "0edd9f221df0cff76573f8be63689b46f1146521"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nextcloud-libraries/rector/zipball/d73ab086700564f675eda9a834b6b08410a1da7e",
"reference": "d73ab086700564f675eda9a834b6b08410a1da7e",
"url": "https://api.github.com/repos/nextcloud-libraries/rector/zipball/0edd9f221df0cff76573f8be63689b46f1146521",
"reference": "0edd9f221df0cff76573f8be63689b46f1146521",
"shasum": ""
},
"require": {
@ -1802,9 +1802,9 @@
],
"support": {
"issues": "https://github.com/nextcloud-libraries/rector/issues",
"source": "https://github.com/nextcloud-libraries/rector/tree/v0.2.1"
"source": "https://github.com/nextcloud-libraries/rector/tree/v0.3.0"
},
"time": "2024-10-01T12:24:08+00:00"
"time": "2025-02-03T13:19:25+00:00"
},
{
"name": "nikic/php-parser",
@ -1866,16 +1866,16 @@
},
{
"name": "php-cs-fixer/shim",
"version": "v3.68.1",
"version": "v3.68.5",
"source": {
"type": "git",
"url": "https://github.com/PHP-CS-Fixer/shim.git",
"reference": "eca7a809b6b5d35d0a033c63a14881107e22a7b6"
"reference": "4a0a5cfd39b0677017a85f0fc252d3e8a6a6c02c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/PHP-CS-Fixer/shim/zipball/eca7a809b6b5d35d0a033c63a14881107e22a7b6",
"reference": "eca7a809b6b5d35d0a033c63a14881107e22a7b6",
"url": "https://api.github.com/repos/PHP-CS-Fixer/shim/zipball/4a0a5cfd39b0677017a85f0fc252d3e8a6a6c02c",
"reference": "4a0a5cfd39b0677017a85f0fc252d3e8a6a6c02c",
"shasum": ""
},
"require": {
@ -1912,9 +1912,9 @@
"description": "A tool to automatically fix PHP code style",
"support": {
"issues": "https://github.com/PHP-CS-Fixer/shim/issues",
"source": "https://github.com/PHP-CS-Fixer/shim/tree/v3.68.1"
"source": "https://github.com/PHP-CS-Fixer/shim/tree/v3.68.5"
},
"time": "2025-01-17T09:21:08+00:00"
"time": "2025-01-30T17:01:41+00:00"
},
{
"name": "phpdocumentor/reflection-common",
@ -2642,12 +2642,12 @@
"source": {
"type": "git",
"url": "https://github.com/Roave/SecurityAdvisories.git",
"reference": "fa05b1cdeb1d38692aea5d34bed226b682403a6d"
"reference": "c10bce58e215dabda33ba5dd3f3a153e85684222"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/fa05b1cdeb1d38692aea5d34bed226b682403a6d",
"reference": "fa05b1cdeb1d38692aea5d34bed226b682403a6d",
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/c10bce58e215dabda33ba5dd3f3a153e85684222",
"reference": "c10bce58e215dabda33ba5dd3f3a153e85684222",
"shasum": ""
},
"conflict": {
@ -2684,6 +2684,7 @@
"asymmetricrypt/asymmetricrypt": "<9.9.99",
"athlon1600/php-proxy": "<=5.1",
"athlon1600/php-proxy-app": "<=3",
"athlon1600/youtube-downloader": "<=4",
"austintoddj/canvas": "<=3.4.2",
"auth0/wordpress": "<=4.6",
"automad/automad": "<2.0.0.0-alpha5",
@ -2732,7 +2733,7 @@
"cart2quote/module-quotation-encoded": ">=4.1.6,<=4.4.5|>=5,<5.4.4",
"cartalyst/sentry": "<=2.1.6",
"catfan/medoo": "<1.7.5",
"causal/oidc": "<2.1",
"causal/oidc": "<4",
"cecil/cecil": "<7.47.1",
"centreon/centreon": "<22.10.15",
"cesnet/simplesamlphp-module-proxystatistics": "<3.1",
@ -2745,6 +2746,7 @@
"codeigniter4/framework": "<4.5.8",
"codeigniter4/shield": "<1.0.0.0-beta8",
"codiad/codiad": "<=2.8.4",
"components/jquery": ">=1.0.3,<3.5",
"composer/composer": "<1.10.27|>=2,<2.2.24|>=2.3,<2.7.7",
"concrete5/concrete5": "<9.3.4",
"concrete5/core": "<8.5.8|>=9,<9.1",
@ -2785,7 +2787,7 @@
"doctrine/mongodb-odm": "<1.0.2",
"doctrine/mongodb-odm-bundle": "<3.0.1",
"doctrine/orm": ">=1,<1.2.4|>=2,<2.4.8|>=2.5,<2.5.1|>=2.8.3,<2.8.4",
"dolibarr/dolibarr": "<19.0.2",
"dolibarr/dolibarr": "<19.0.2|==21.0.0.0-beta",
"dompdf/dompdf": "<2.0.4",
"doublethreedigital/guest-entries": "<3.1.2",
"drupal/core": ">=6,<6.38|>=7,<7.102|>=8,<10.2.11|>=10.3,<10.3.9|>=11,<11.0.8",
@ -3134,13 +3136,13 @@
"phpxmlrpc/phpxmlrpc": "<4.9.2",
"pi/pi": "<=2.5",
"pimcore/admin-ui-classic-bundle": "<1.5.4",
"pimcore/customer-management-framework-bundle": "<4.0.6",
"pimcore/customer-management-framework-bundle": "<4.2.1",
"pimcore/data-hub": "<1.2.4",
"pimcore/data-importer": "<1.8.9|>=1.9,<1.9.3",
"pimcore/demo": "<10.3",
"pimcore/ecommerce-framework-bundle": "<1.0.10",
"pimcore/perspective-editor": "<1.5.1",
"pimcore/pimcore": "<11.2.4",
"pimcore/pimcore": "<11.2.4|>=11.4.2,<11.5.3",
"pixelfed/pixelfed": "<0.11.11",
"plotly/plotly.js": "<2.25.2",
"pocketmine/bedrock-protocol": "<8.0.2",
@ -3315,7 +3317,7 @@
"t3g/svg-sanitizer": "<1.0.3",
"t3s/content-consent": "<1.0.3|>=2,<2.0.2",
"tastyigniter/tastyigniter": "<3.3",
"tcg/voyager": "<=1.4",
"tcg/voyager": "<=1.8",
"tecnickcom/tc-lib-pdf-font": "<2.6.4",
"tecnickcom/tcpdf": "<6.8",
"terminal42/contao-tablelookupwizard": "<3.3.5",
@ -3340,7 +3342,7 @@
"truckersmp/phpwhois": "<=4.3.1",
"ttskch/pagination-service-provider": "<1",
"twbs/bootstrap": "<=3.4.1|>=4,<=4.6.2",
"twig/twig": "<3.11.2|>=3.12,<3.14.1",
"twig/twig": "<3.11.2|>=3.12,<3.14.1|>=3.16,<3.19",
"typo3/cms": "<9.5.29|>=10,<10.4.35|>=11,<11.5.23|>=12,<12.2",
"typo3/cms-backend": "<4.1.14|>=4.2,<4.2.15|>=4.3,<4.3.7|>=4.4,<4.4.4|>=7,<=7.6.50|>=8,<=8.7.39|>=9,<=9.5.24|>=10,<10.4.46|>=11,<11.5.40|>=12,<12.4.21|>=13,<13.3.1",
"typo3/cms-belog": ">=10,<=10.4.47|>=11,<=11.5.41|>=12,<=12.4.24|>=13,<=13.4.2",
@ -3504,7 +3506,7 @@
"type": "tidelift"
}
],
"time": "2025-01-23T18:06:21+00:00"
"time": "2025-01-31T21:04:56+00:00"
},
{
"name": "sebastian/diff",
@ -4539,7 +4541,7 @@
"platform": {
"php": "~8.1.17"
},
"platform-dev": {},
"platform-dev": [],
"platform-overrides": {
"php": "8.1.17"
},

View File

@ -7,12 +7,11 @@ use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withPaths([
__DIR__.'/appinfo',
__DIR__.'/lib',
])
->withPhpSets(php81: true)
->withSets([
NextcloudSets::NEXTCLOUD_27,
NextcloudSets::NEXTCLOUD_30,
])
->withPreparedSets(
deadCode: true,