chore: ⬆️ upgrade rector
This commit is contained in:
parent
edf5bb871b
commit
62a260375a
@ -22,10 +22,10 @@
|
||||
"require-dev": {
|
||||
"nextcloud/coding-standard": "^1.3.2",
|
||||
"nextcloud/ocp": "^31.0.2",
|
||||
"nextcloud/rector": "^0.3.1",
|
||||
"phpstan/phpstan": "~1.12.23",
|
||||
"phpstan/phpstan-deprecation-rules": "~1.2.1",
|
||||
"rector/rector": "~1.2.10",
|
||||
"nextcloud/rector": "^0.4.1",
|
||||
"phpstan/phpstan": "^2.1.11",
|
||||
"phpstan/phpstan-deprecation-rules": "^2.0.1",
|
||||
"rector/rector": "^2.0.11",
|
||||
"roave/security-advisories": "dev-latest"
|
||||
},
|
||||
"config": {
|
||||
|
171
composer.lock
generated
171
composer.lock
generated
@ -4,21 +4,21 @@
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "a5c5cbe8c8f58767bb5a924a57cb6c3a",
|
||||
"content-hash": "6eb02b53c54228f6b21ce442f37b8128",
|
||||
"packages": [],
|
||||
"packages-dev": [
|
||||
{
|
||||
"name": "kubawerlos/php-cs-fixer-custom-fixers",
|
||||
"version": "v3.23.0",
|
||||
"version": "v3.24.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers.git",
|
||||
"reference": "b3210c6e546bdfc95664297a8971ae3b6b1f4a5a"
|
||||
"reference": "93222100a91399314c3726857e249e76c4a7d760"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/kubawerlos/php-cs-fixer-custom-fixers/zipball/b3210c6e546bdfc95664297a8971ae3b6b1f4a5a",
|
||||
"reference": "b3210c6e546bdfc95664297a8971ae3b6b1f4a5a",
|
||||
"url": "https://api.github.com/repos/kubawerlos/php-cs-fixer-custom-fixers/zipball/93222100a91399314c3726857e249e76c4a7d760",
|
||||
"reference": "93222100a91399314c3726857e249e76c4a7d760",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -28,7 +28,7 @@
|
||||
"php": "^7.4 || ^8.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^9.6.4 || ^10.5.29"
|
||||
"phpunit/phpunit": "^9.6.22 || 10.5.45 || ^11.5.7"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
@ -49,9 +49,9 @@
|
||||
"description": "A set of custom fixers for PHP CS Fixer",
|
||||
"support": {
|
||||
"issues": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers/issues",
|
||||
"source": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers/tree/v3.23.0"
|
||||
"source": "https://github.com/kubawerlos/php-cs-fixer-custom-fixers/tree/v3.24.0"
|
||||
},
|
||||
"time": "2025-02-15T09:15:56+00:00"
|
||||
"time": "2025-03-22T16:51:39+00:00"
|
||||
},
|
||||
{
|
||||
"name": "nextcloud/coding-standard",
|
||||
@ -145,25 +145,27 @@
|
||||
},
|
||||
{
|
||||
"name": "nextcloud/rector",
|
||||
"version": "v0.3.1",
|
||||
"version": "v0.4.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/nextcloud-libraries/rector.git",
|
||||
"reference": "25e71025c3acdf346f2d26034d3edd8e17e4596e"
|
||||
"reference": "9c5c78cc323537ec6dba5b3cd9c422ff9524d8cf"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/nextcloud-libraries/rector/zipball/25e71025c3acdf346f2d26034d3edd8e17e4596e",
|
||||
"reference": "25e71025c3acdf346f2d26034d3edd8e17e4596e",
|
||||
"url": "https://api.github.com/repos/nextcloud-libraries/rector/zipball/9c5c78cc323537ec6dba5b3cd9c422ff9524d8cf",
|
||||
"reference": "9c5c78cc323537ec6dba5b3cd9c422ff9524d8cf",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "^8.1"
|
||||
"nextcloud/ocp": ">=27",
|
||||
"php": "^8.1",
|
||||
"rector/rector": "^2.0.4",
|
||||
"webmozart/assert": "^1.11"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^10.5",
|
||||
"ramsey/devtools": "^2.0",
|
||||
"rector/rector": "^1.2"
|
||||
"ramsey/devtools": "^2.0"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
@ -180,6 +182,7 @@
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"OCP\\": "vendor/nextcloud/ocp/OCP",
|
||||
"Nextcloud\\Rector\\": "src/"
|
||||
}
|
||||
},
|
||||
@ -201,22 +204,22 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/nextcloud-libraries/rector/issues",
|
||||
"source": "https://github.com/nextcloud-libraries/rector/tree/v0.3.1"
|
||||
"source": "https://github.com/nextcloud-libraries/rector/tree/v0.4.1"
|
||||
},
|
||||
"time": "2025-02-06T09:32:20+00:00"
|
||||
"time": "2025-03-31T15:27:10+00:00"
|
||||
},
|
||||
{
|
||||
"name": "php-cs-fixer/shim",
|
||||
"version": "v3.73.1",
|
||||
"version": "v3.75.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/PHP-CS-Fixer/shim.git",
|
||||
"reference": "6bcfe9ff734019315cf9c6ea4f43cbcd87d1cc82"
|
||||
"reference": "eea219a577085bd13ff0cb644a422c20798316c7"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/PHP-CS-Fixer/shim/zipball/6bcfe9ff734019315cf9c6ea4f43cbcd87d1cc82",
|
||||
"reference": "6bcfe9ff734019315cf9c6ea4f43cbcd87d1cc82",
|
||||
"url": "https://api.github.com/repos/PHP-CS-Fixer/shim/zipball/eea219a577085bd13ff0cb644a422c20798316c7",
|
||||
"reference": "eea219a577085bd13ff0cb644a422c20798316c7",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -253,26 +256,26 @@
|
||||
"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.73.1"
|
||||
"source": "https://github.com/PHP-CS-Fixer/shim/tree/v3.75.0"
|
||||
},
|
||||
"time": "2025-03-19T23:42:33+00:00"
|
||||
"time": "2025-03-31T18:45:02+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpstan/phpstan",
|
||||
"version": "1.12.23",
|
||||
"version": "2.1.11",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/phpstan/phpstan.git",
|
||||
"reference": "29201e7a743a6ab36f91394eab51889a82631428"
|
||||
"reference": "8ca5f79a8f63c49b2359065832a654e1ec70ac30"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/29201e7a743a6ab36f91394eab51889a82631428",
|
||||
"reference": "29201e7a743a6ab36f91394eab51889a82631428",
|
||||
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/8ca5f79a8f63c49b2359065832a654e1ec70ac30",
|
||||
"reference": "8ca5f79a8f63c49b2359065832a654e1ec70ac30",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "^7.2|^8.0"
|
||||
"php": "^7.4|^8.0"
|
||||
},
|
||||
"conflict": {
|
||||
"phpstan/phpstan-shim": "*"
|
||||
@ -313,30 +316,30 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2025-03-23T14:57:32+00:00"
|
||||
"time": "2025-03-24T13:45:00+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpstan/phpstan-deprecation-rules",
|
||||
"version": "1.2.1",
|
||||
"version": "2.0.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/phpstan/phpstan-deprecation-rules.git",
|
||||
"reference": "f94d246cc143ec5a23da868f8f7e1393b50eaa82"
|
||||
"reference": "1cc1259cb91ee4cfbb5c39bca9f635f067c910b4"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/f94d246cc143ec5a23da868f8f7e1393b50eaa82",
|
||||
"reference": "f94d246cc143ec5a23da868f8f7e1393b50eaa82",
|
||||
"url": "https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/1cc1259cb91ee4cfbb5c39bca9f635f067c910b4",
|
||||
"reference": "1cc1259cb91ee4cfbb5c39bca9f635f067c910b4",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "^7.2 || ^8.0",
|
||||
"phpstan/phpstan": "^1.12"
|
||||
"php": "^7.4 || ^8.0",
|
||||
"phpstan/phpstan": "^2.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"php-parallel-lint/php-parallel-lint": "^1.2",
|
||||
"phpstan/phpstan-phpunit": "^1.0",
|
||||
"phpunit/phpunit": "^9.5"
|
||||
"phpstan/phpstan-phpunit": "^2.0",
|
||||
"phpunit/phpunit": "^9.6"
|
||||
},
|
||||
"type": "phpstan-extension",
|
||||
"extra": {
|
||||
@ -358,9 +361,9 @@
|
||||
"description": "PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.",
|
||||
"support": {
|
||||
"issues": "https://github.com/phpstan/phpstan-deprecation-rules/issues",
|
||||
"source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/1.2.1"
|
||||
"source": "https://github.com/phpstan/phpstan-deprecation-rules/tree/2.0.1"
|
||||
},
|
||||
"time": "2024-09-11T15:52:35+00:00"
|
||||
"time": "2024-11-28T21:56:36+00:00"
|
||||
},
|
||||
{
|
||||
"name": "psr/clock",
|
||||
@ -565,21 +568,21 @@
|
||||
},
|
||||
{
|
||||
"name": "rector/rector",
|
||||
"version": "1.2.10",
|
||||
"version": "2.0.11",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/rectorphp/rector.git",
|
||||
"reference": "40f9cf38c05296bd32f444121336a521a293fa61"
|
||||
"reference": "059b827cc648929711606e9824337e41e2f9ed92"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/rectorphp/rector/zipball/40f9cf38c05296bd32f444121336a521a293fa61",
|
||||
"reference": "40f9cf38c05296bd32f444121336a521a293fa61",
|
||||
"url": "https://api.github.com/repos/rectorphp/rector/zipball/059b827cc648929711606e9824337e41e2f9ed92",
|
||||
"reference": "059b827cc648929711606e9824337e41e2f9ed92",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "^7.2|^8.0",
|
||||
"phpstan/phpstan": "^1.12.5"
|
||||
"php": "^7.4|^8.0",
|
||||
"phpstan/phpstan": "^2.1.9"
|
||||
},
|
||||
"conflict": {
|
||||
"rector/rector-doctrine": "*",
|
||||
@ -612,7 +615,7 @@
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/rectorphp/rector/issues",
|
||||
"source": "https://github.com/rectorphp/rector/tree/1.2.10"
|
||||
"source": "https://github.com/rectorphp/rector/tree/2.0.11"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -620,7 +623,7 @@
|
||||
"type": "github"
|
||||
}
|
||||
],
|
||||
"time": "2024-11-08T13:59:10+00:00"
|
||||
"time": "2025-03-28T10:25:17+00:00"
|
||||
},
|
||||
{
|
||||
"name": "roave/security-advisories",
|
||||
@ -628,12 +631,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Roave/SecurityAdvisories.git",
|
||||
"reference": "786548323f3a9452244ddf83672e34c260d6b717"
|
||||
"reference": "ea5e66cfcb7a8a5b915924fd8eca542397d6f324"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/786548323f3a9452244ddf83672e34c260d6b717",
|
||||
"reference": "786548323f3a9452244ddf83672e34c260d6b717",
|
||||
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/ea5e66cfcb7a8a5b915924fd8eca542397d6f324",
|
||||
"reference": "ea5e66cfcb7a8a5b915924fd8eca542397d6f324",
|
||||
"shasum": ""
|
||||
},
|
||||
"conflict": {
|
||||
@ -662,7 +665,7 @@
|
||||
"andrewhaine/silverstripe-form-capture": ">=0.2,<=0.2.3|>=1,<1.0.2|>=2,<2.2.5",
|
||||
"apache-solr-for-typo3/solr": "<2.8.3",
|
||||
"apereo/phpcas": "<1.6",
|
||||
"api-platform/core": ">=2.2,<2.2.10|>=2.3,<2.3.6|>=2.6,<2.7.10|>=3,<3.0.12|>=3.1,<3.1.3",
|
||||
"api-platform/core": ">=2.2,<2.2.10|>=2.3,<2.3.6|>=2.6,<2.7.10|>=3,<3.0.12|>=3.1,<3.1.3|>=3.3.8,<3.3.15",
|
||||
"appwrite/server-ce": "<=1.2.1",
|
||||
"arc/web": "<3",
|
||||
"area17/twill": "<1.2.5|>=2,<2.5.3",
|
||||
@ -1136,7 +1139,7 @@
|
||||
"pimcore/ecommerce-framework-bundle": "<1.0.10",
|
||||
"pimcore/perspective-editor": "<1.5.1",
|
||||
"pimcore/pimcore": "<11.5.4",
|
||||
"pixelfed/pixelfed": "<0.11.11",
|
||||
"pixelfed/pixelfed": "<0.12.5",
|
||||
"plotly/plotly.js": "<2.25.2",
|
||||
"pocketmine/bedrock-protocol": "<8.0.2",
|
||||
"pocketmine/pocketmine-mp": "<5.25.2",
|
||||
@ -1417,7 +1420,7 @@
|
||||
"yiisoft/yii2": "<2.0.49.4-dev",
|
||||
"yiisoft/yii2-authclient": "<2.2.15",
|
||||
"yiisoft/yii2-bootstrap": "<2.0.4",
|
||||
"yiisoft/yii2-dev": "<2.0.43",
|
||||
"yiisoft/yii2-dev": "<=2.0.45",
|
||||
"yiisoft/yii2-elasticsearch": "<2.0.5",
|
||||
"yiisoft/yii2-gii": "<=2.2.4",
|
||||
"yiisoft/yii2-jui": "<2.0.4",
|
||||
@ -1500,7 +1503,65 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2025-03-21T18:06:15+00:00"
|
||||
"time": "2025-03-26T15:05:37+00:00"
|
||||
},
|
||||
{
|
||||
"name": "webmozart/assert",
|
||||
"version": "1.11.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/webmozarts/assert.git",
|
||||
"reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991",
|
||||
"reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"ext-ctype": "*",
|
||||
"php": "^7.2 || ^8.0"
|
||||
},
|
||||
"conflict": {
|
||||
"phpstan/phpstan": "<0.12.20",
|
||||
"vimeo/psalm": "<4.6.1 || 4.6.2"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^8.5.13"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.10-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Webmozart\\Assert\\": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Bernhard Schussek",
|
||||
"email": "bschussek@gmail.com"
|
||||
}
|
||||
],
|
||||
"description": "Assertions to validate method input/output with nice error messages.",
|
||||
"keywords": [
|
||||
"assert",
|
||||
"check",
|
||||
"validate"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/webmozarts/assert/issues",
|
||||
"source": "https://github.com/webmozarts/assert/tree/1.11.0"
|
||||
},
|
||||
"time": "2022-06-03T18:03:27+00:00"
|
||||
}
|
||||
],
|
||||
"aliases": [],
|
||||
@ -1513,7 +1574,7 @@
|
||||
"platform": {
|
||||
"php": "^8.1"
|
||||
},
|
||||
"platform-dev": {},
|
||||
"platform-dev": [],
|
||||
"platform-overrides": {
|
||||
"php": "8.1"
|
||||
},
|
||||
|
672
package-lock.json
generated
672
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -37,7 +37,7 @@
|
||||
"@nextcloud/eslint-config": "^8.4.2",
|
||||
"@nextcloud/prettier-config": "^1.1.0",
|
||||
"@nextcloud/stylelint-config": "^3.0.1",
|
||||
"@types/node": "~20.17.28",
|
||||
"@types/node": "~20.17.29",
|
||||
"@types/toastify-js": "^1.12.3",
|
||||
"@vue/tsconfig": "^0.7.0",
|
||||
"eslint-config-prettier": "^10.1.1",
|
||||
|
@ -27,7 +27,5 @@ return RectorConfig::configure()
|
||||
doctrineCodeQuality: true,
|
||||
symfonyCodeQuality: true,
|
||||
symfonyConfigs: true,
|
||||
twig: true,
|
||||
phpunit: true,
|
||||
)
|
||||
;
|
||||
|
Loading…
x
Reference in New Issue
Block a user