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", "nextcloud/ocp": "^30.0.5",
"roave/security-advisories": "dev-latest", "roave/security-advisories": "dev-latest",
"nextcloud/coding-standard": "^1.3.2", "nextcloud/coding-standard": "^1.3.2",
"nextcloud/rector": "^0.2.1", "nextcloud/rector": "^0.3.0",
"rector/rector": "~1.2.10", "rector/rector": "~1.2.10",
"vimeo/psalm": "^6.2.0" "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", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "b14cd5b41ea485773ddc7a1b82e81d0d", "content-hash": "9ab7d7771899390a7162016fea5776e0",
"packages": [], "packages": [],
"packages-dev": [ "packages-dev": [
{ {
@ -1746,16 +1746,16 @@
}, },
{ {
"name": "nextcloud/rector", "name": "nextcloud/rector",
"version": "v0.2.1", "version": "v0.3.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nextcloud-libraries/rector.git", "url": "https://github.com/nextcloud-libraries/rector.git",
"reference": "d73ab086700564f675eda9a834b6b08410a1da7e" "reference": "0edd9f221df0cff76573f8be63689b46f1146521"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nextcloud-libraries/rector/zipball/d73ab086700564f675eda9a834b6b08410a1da7e", "url": "https://api.github.com/repos/nextcloud-libraries/rector/zipball/0edd9f221df0cff76573f8be63689b46f1146521",
"reference": "d73ab086700564f675eda9a834b6b08410a1da7e", "reference": "0edd9f221df0cff76573f8be63689b46f1146521",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1802,9 +1802,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/nextcloud-libraries/rector/issues", "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", "name": "nikic/php-parser",
@ -1866,16 +1866,16 @@
}, },
{ {
"name": "php-cs-fixer/shim", "name": "php-cs-fixer/shim",
"version": "v3.68.1", "version": "v3.68.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/PHP-CS-Fixer/shim.git", "url": "https://github.com/PHP-CS-Fixer/shim.git",
"reference": "eca7a809b6b5d35d0a033c63a14881107e22a7b6" "reference": "4a0a5cfd39b0677017a85f0fc252d3e8a6a6c02c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/PHP-CS-Fixer/shim/zipball/eca7a809b6b5d35d0a033c63a14881107e22a7b6", "url": "https://api.github.com/repos/PHP-CS-Fixer/shim/zipball/4a0a5cfd39b0677017a85f0fc252d3e8a6a6c02c",
"reference": "eca7a809b6b5d35d0a033c63a14881107e22a7b6", "reference": "4a0a5cfd39b0677017a85f0fc252d3e8a6a6c02c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1912,9 +1912,9 @@
"description": "A tool to automatically fix PHP code style", "description": "A tool to automatically fix PHP code style",
"support": { "support": {
"issues": "https://github.com/PHP-CS-Fixer/shim/issues", "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", "name": "phpdocumentor/reflection-common",
@ -2642,12 +2642,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/Roave/SecurityAdvisories.git", "url": "https://github.com/Roave/SecurityAdvisories.git",
"reference": "fa05b1cdeb1d38692aea5d34bed226b682403a6d" "reference": "c10bce58e215dabda33ba5dd3f3a153e85684222"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/fa05b1cdeb1d38692aea5d34bed226b682403a6d", "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/c10bce58e215dabda33ba5dd3f3a153e85684222",
"reference": "fa05b1cdeb1d38692aea5d34bed226b682403a6d", "reference": "c10bce58e215dabda33ba5dd3f3a153e85684222",
"shasum": "" "shasum": ""
}, },
"conflict": { "conflict": {
@ -2684,6 +2684,7 @@
"asymmetricrypt/asymmetricrypt": "<9.9.99", "asymmetricrypt/asymmetricrypt": "<9.9.99",
"athlon1600/php-proxy": "<=5.1", "athlon1600/php-proxy": "<=5.1",
"athlon1600/php-proxy-app": "<=3", "athlon1600/php-proxy-app": "<=3",
"athlon1600/youtube-downloader": "<=4",
"austintoddj/canvas": "<=3.4.2", "austintoddj/canvas": "<=3.4.2",
"auth0/wordpress": "<=4.6", "auth0/wordpress": "<=4.6",
"automad/automad": "<2.0.0.0-alpha5", "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", "cart2quote/module-quotation-encoded": ">=4.1.6,<=4.4.5|>=5,<5.4.4",
"cartalyst/sentry": "<=2.1.6", "cartalyst/sentry": "<=2.1.6",
"catfan/medoo": "<1.7.5", "catfan/medoo": "<1.7.5",
"causal/oidc": "<2.1", "causal/oidc": "<4",
"cecil/cecil": "<7.47.1", "cecil/cecil": "<7.47.1",
"centreon/centreon": "<22.10.15", "centreon/centreon": "<22.10.15",
"cesnet/simplesamlphp-module-proxystatistics": "<3.1", "cesnet/simplesamlphp-module-proxystatistics": "<3.1",
@ -2745,6 +2746,7 @@
"codeigniter4/framework": "<4.5.8", "codeigniter4/framework": "<4.5.8",
"codeigniter4/shield": "<1.0.0.0-beta8", "codeigniter4/shield": "<1.0.0.0-beta8",
"codiad/codiad": "<=2.8.4", "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", "composer/composer": "<1.10.27|>=2,<2.2.24|>=2.3,<2.7.7",
"concrete5/concrete5": "<9.3.4", "concrete5/concrete5": "<9.3.4",
"concrete5/core": "<8.5.8|>=9,<9.1", "concrete5/core": "<8.5.8|>=9,<9.1",
@ -2785,7 +2787,7 @@
"doctrine/mongodb-odm": "<1.0.2", "doctrine/mongodb-odm": "<1.0.2",
"doctrine/mongodb-odm-bundle": "<3.0.1", "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", "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", "dompdf/dompdf": "<2.0.4",
"doublethreedigital/guest-entries": "<3.1.2", "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", "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", "phpxmlrpc/phpxmlrpc": "<4.9.2",
"pi/pi": "<=2.5", "pi/pi": "<=2.5",
"pimcore/admin-ui-classic-bundle": "<1.5.4", "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-hub": "<1.2.4",
"pimcore/data-importer": "<1.8.9|>=1.9,<1.9.3", "pimcore/data-importer": "<1.8.9|>=1.9,<1.9.3",
"pimcore/demo": "<10.3", "pimcore/demo": "<10.3",
"pimcore/ecommerce-framework-bundle": "<1.0.10", "pimcore/ecommerce-framework-bundle": "<1.0.10",
"pimcore/perspective-editor": "<1.5.1", "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", "pixelfed/pixelfed": "<0.11.11",
"plotly/plotly.js": "<2.25.2", "plotly/plotly.js": "<2.25.2",
"pocketmine/bedrock-protocol": "<8.0.2", "pocketmine/bedrock-protocol": "<8.0.2",
@ -3315,7 +3317,7 @@
"t3g/svg-sanitizer": "<1.0.3", "t3g/svg-sanitizer": "<1.0.3",
"t3s/content-consent": "<1.0.3|>=2,<2.0.2", "t3s/content-consent": "<1.0.3|>=2,<2.0.2",
"tastyigniter/tastyigniter": "<3.3", "tastyigniter/tastyigniter": "<3.3",
"tcg/voyager": "<=1.4", "tcg/voyager": "<=1.8",
"tecnickcom/tc-lib-pdf-font": "<2.6.4", "tecnickcom/tc-lib-pdf-font": "<2.6.4",
"tecnickcom/tcpdf": "<6.8", "tecnickcom/tcpdf": "<6.8",
"terminal42/contao-tablelookupwizard": "<3.3.5", "terminal42/contao-tablelookupwizard": "<3.3.5",
@ -3340,7 +3342,7 @@
"truckersmp/phpwhois": "<=4.3.1", "truckersmp/phpwhois": "<=4.3.1",
"ttskch/pagination-service-provider": "<1", "ttskch/pagination-service-provider": "<1",
"twbs/bootstrap": "<=3.4.1|>=4,<=4.6.2", "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": "<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-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", "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" "type": "tidelift"
} }
], ],
"time": "2025-01-23T18:06:21+00:00" "time": "2025-01-31T21:04:56+00:00"
}, },
{ {
"name": "sebastian/diff", "name": "sebastian/diff",
@ -4539,7 +4541,7 @@
"platform": { "platform": {
"php": "~8.1.17" "php": "~8.1.17"
}, },
"platform-dev": {}, "platform-dev": [],
"platform-overrides": { "platform-overrides": {
"php": "8.1.17" "php": "8.1.17"
}, },

View File

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