diff --git a/biome.json b/biome.json index 5faab12..c5cdfb5 100644 --- a/biome.json +++ b/biome.json @@ -1,5 +1,5 @@ { - "$schema": "https://biomejs.dev/schemas/2.5.14/schema.json", + "$schema": "https://biomejs.dev/schemas/2.6.9/schema.json", "vcs": { "enabled": true, "clientKind": "git", diff --git a/composer.lock b/composer.lock index a1d2e8a..089b9e1 100644 --- a/composer.lock +++ b/composer.lock @@ -3053,16 +3053,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "2.5.1", + "version": "2.6.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "839c252522bb9d2be16ce89d99487d2a75eadc8e" + "reference": "516c0ce982f41343e4bb18dd6aa503a2d1fa72d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/839c252522bb9d2be16ce89d99487d2a75eadc8e", - "reference": "839c252522bb9d2be16ce89d99487d2a75eadc8e", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/516c0ce982f41343e4bb18dd6aa503a2d1fa72d0", + "reference": "516c0ce982f41343e4bb18dd6aa503a2d1fa72d0", "shasum": "" }, "require": { @@ -3094,9 +3094,9 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/2.5.1" + "source": "https://github.com/phpstan/phpdoc-parser/tree/2.6.0" }, - "time": "2026-11-28T13:46:42+00:00" + "time": "2026-12-01T16:31:50+00:00" }, { "name": "phpstan/phpstan", @@ -3521,16 +3521,16 @@ }, { "name": "phpunit/phpunit", - "version": "12.5.42", + "version": "12.5.45", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "1d6dbe748c079e5d2b03bca1be69d0f4cc52a578" + "reference": "ca97be2931de6a0adf824da12889cbf935a016e9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/1d6dbe748c079e5d2b03bca1be69d0f4cc52a578", - "reference": "1d6dbe748c079e5d2b03bca1be69d0f4cc52a578", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/ca97be2931de6a0adf824da12889cbf935a016e9", + "reference": "ca97be2931de6a0adf824da12889cbf935a016e9", "shasum": "" }, "require": { @@ -3558,7 +3558,7 @@ "sebastian/object-enumerator": "^7.0.0", "sebastian/recursion-context": "^7.0.1", "sebastian/type": "^6.0.4", - "sebastian/version": "^6.0.1", + "sebastian/version": "^6.0.2", "staabm/side-effects-detector": "^1.0.5" }, "bin": [ @@ -3599,7 +3599,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/12.5.42" + "source": "https://github.com/sebastianbergmann/phpunit/tree/12.5.45" }, "funding": [ { @@ -3607,30 +3607,32 @@ "type": "other" } ], - "time": "2026-10-27T04:15:03+00:00" + "time": "2026-11-19T12:16:09+00:00" }, { "name": "psalm/plugin-laravel", - "version": "v4.23.2", + "version": "v4.23.3", "source": { "type": "git", "url": "https://github.com/psalm/psalm-plugin-laravel.git", - "reference": "0b5050418c3ee28e29e15d26c24e17265be1c0a6" + "reference": "ef6b27aef9d46a68ce18f33140c1ae344accadbb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/psalm/psalm-plugin-laravel/zipball/0b5050418c3ee28e29e15d26c24e17265be1c0a6", - "reference": "0b5050418c3ee28e29e15d26c24e17265be1c0a6", + "url": "https://api.github.com/repos/psalm/psalm-plugin-laravel/zipball/ef6b27aef9d46a68ce18f33140c1ae344accadbb", + "reference": "ef6b27aef9d46a68ce18f33140c1ae344accadbb", "shasum": "" }, "require": { + "ext-libxml": "*", "ext-simplexml": "*", + "ext-tokenizer": "*", "nikic/php-parser": "^5.0", "php": "^8.2", "psalm/psalm-plugin-api": "^0.4.5 || ^0.5", "sebastian/diff": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0", "symfony/console": "^6.4 || ^7.0 || ^8.0", - "vimeo/psalm": "^7.14.0@stable" + "vimeo/psalm": "^7.18.0@stable" }, "conflict": { "laravel/framework": "<12.27 || 13.0.0 || >=13.1 <13.20", @@ -3638,7 +3640,7 @@ }, "require-dev": { "alies-dev/psalm-tester": "^0.4", - "boundwize/structarmed": "^0.21", + "boundwize/structarmed": "^0.22", "brianium/paratest": "^7.7", "friendsofphp/php-cs-fixer": "^3.94", "laravel/framework": "^12.27 || ^13.20", @@ -3689,7 +3691,7 @@ ], "support": { "issues": "https://github.com/psalm/psalm-plugin-laravel/issues", - "source": "https://github.com/psalm/psalm-plugin-laravel/tree/v4.23.2" + "source": "https://github.com/psalm/psalm-plugin-laravel" }, "funding": [ { @@ -3697,7 +3699,7 @@ "type": "github" } ], - "time": "2026-11-22T00:06:53+00:00" + "time": "2026-11-26T18:27:24+00:00" }, { "name": "psalm/plugin-mockery", @@ -3898,16 +3900,16 @@ }, { "name": "psalm/psalm-plugin-api", - "version": "0.5.1", + "version": "0.5.2", "source": { "type": "git", "url": "https://github.com/psalm/psalm-plugin-api.git", - "reference": "5a369947e49038acf57618daa5fd0e92dbc54ac2" + "reference": "afdfe1107fbbd8dc245dd582ee04cd5bf1b9d3b9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/psalm/psalm-plugin-api/zipball/5a369947e49038acf57618daa5fd0e92dbc54ac2", - "reference": "5a369947e49038acf57618daa5fd0e92dbc54ac2", + "url": "https://api.github.com/repos/psalm/psalm-plugin-api/zipball/afdfe1107fbbd8dc245dd582ee04cd5bf1b9d3b9", + "reference": "afdfe1107fbbd8dc245dd582ee04cd5bf1b9d3b9", "shasum": "" }, "conflict": { @@ -3927,9 +3929,9 @@ "description": "Stable, semantically versioned API for Psalm plugins", "support": { "issues": "https://github.com/psalm/psalm-plugin-api/issues", - "source": "https://github.com/psalm/psalm-plugin-api/tree/0.5.1" + "source": "https://github.com/psalm/psalm-plugin-api/tree/0.5.2" }, - "time": "2026-11-20T17:46:59+00:00" + "time": "2026-11-24T12:56:35+00:00" }, { "name": "psr/container", @@ -4720,16 +4722,16 @@ }, { "name": "rector/rector", - "version": "2.8.5", + "version": "2.9.2", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "bf2982e3e2b8dfbcb43e5589fa301431cb1e479e" + "reference": "8a06053cae42915224f9357566162ccb1076001a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/bf2982e3e2b8dfbcb43e5589fa301431cb1e479e", - "reference": "bf2982e3e2b8dfbcb43e5589fa301431cb1e479e", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/8a06053cae42915224f9357566162ccb1076001a", + "reference": "8a06053cae42915224f9357566162ccb1076001a", "shasum": "" }, "require": { @@ -4765,7 +4767,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/2.8.5" + "source": "https://github.com/rectorphp/rector/tree/2.9.2" }, "funding": [ { @@ -4773,7 +4775,7 @@ "type": "github" } ], - "time": "2026-11-14T23:24:35+00:00" + "time": "2026-11-24T23:34:02+00:00" }, { "name": "revolt/event-loop", @@ -8126,16 +8128,16 @@ }, { "name": "vimeo/psalm", - "version": "7.16.0", + "version": "7.21.0", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "708bf98874d359acbdcedb84f8624e9ec215867d" + "reference": "1a665f0114bd40cf12ad57a1a82066549d92f1b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/708bf98874d359acbdcedb84f8624e9ec215867d", - "reference": "708bf98874d359acbdcedb84f8624e9ec215867d", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/1a665f0114bd40cf12ad57a1a82066549d92f1b6", + "reference": "1a665f0114bd40cf12ad57a1a82066549d92f1b6", "shasum": "" }, "require": { @@ -8148,6 +8150,7 @@ "danog/advanced-json-rpc": "^3.1", "ext-ctype": "*", "ext-dom": "*", + "ext-filter": "*", "ext-json": "*", "ext-libxml": "*", "ext-mbstring": "*", @@ -8161,8 +8164,8 @@ "psalm/plugin-laravel": "^4.22.7", "psalm/plugin-mockery": "^1.3.2", "psalm/plugin-phpunit": "^0.21 || ^0.22 || ^1.0", - "psalm/plugin-symfony": "^5.9.1", - "psalm/psalm-plugin-api": "0.5.1", + "psalm/plugin-symfony": "^5.14", + "psalm/psalm-plugin-api": "0.5.2", "sebastian/diff": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0", "spatie/array-to-xml": "^2.17.0 || ^3.0", "symfony/console": "^6.0 || ^7.0 || ^8.0", @@ -8193,6 +8196,10 @@ "suggest": { "ext-curl": "In order to send data to shepherd", "ext-igbinary": "^2.0.5 is required, used to serialize caching data", + "ext-pcntl": "Used with ext-posix to analyse in parallel", + "ext-posix": "Used with ext-pcntl to analyse in parallel", + "ext-readline": "Used by psalm-review", + "ext-zlib": "Used to compress caching data when ext-zstd isn't available", "ext-zstd": ">=0.15.0 is required, used to compress caching data" }, "bin": [ @@ -8205,6 +8212,9 @@ ], "type": "project", "extra": { + "skills": { + "source": "skills" + }, "branch-alias": { "dev-1.x": "1.x-dev", "dev-2.x": "2.x-dev", @@ -8245,7 +8255,7 @@ "issues": "https://github.com/vimeo/psalm/issues", "source": "https://github.com/vimeo/psalm" }, - "time": "2026-11-22T13:12:53+00:00" + "time": "2026-11-25T15:25:51+00:00" }, { "name": "webmozart/assert", diff --git a/package-lock.json b/package-lock.json index 6ce94f3..1d7eb19 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,7 @@ "name": "enginescript-site-exporter", "license": "GPL-3.0-or-later", "devDependencies": { - "@biomejs/biome": "2.6.8", + "@biomejs/biome": "2.6.9", "@wordpress/browserslist-config": "7.2.0", "@wordpress/eslint-plugin": "28.2.0", "@wordpress/stylelint-config": "27.2.0", @@ -296,9 +296,9 @@ } }, "node_modules/@biomejs/biome": { - "version": "2.6.8", - "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.6.8.tgz", - "integrity": "sha512-kqZUFvX6/aYQOmzfRN5ANcfNS9wLH4aHLWWP/dQKyhRZVoA6rdWszA7DGugFcxPbMiznUyVYyukVl+ExZN4PQA==", + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.6.9.tgz", + "integrity": "sha512-RelCBDzTXu4DBU8c35P4iMrDO80SUjW0OgjDA7CT1z3UcCU5IclWTZ2XnMelI4frQL//xg2K2BQxAhcOKxdPQA==", "dev": true, "license": "MIT OR Apache-2.0", "bin": { @@ -312,22 +312,22 @@ "url": "https://opencollective.com/biome" }, "optionalDependencies": { - "@biomejs/cli-android-arm64": "2.6.8", - "@biomejs/cli-android-x64": "2.6.8", - "@biomejs/cli-darwin-arm64": "2.6.8", - "@biomejs/cli-darwin-x64": "2.6.8", - "@biomejs/cli-linux-arm64": "2.6.8", - "@biomejs/cli-linux-arm64-musl": "2.6.8", - "@biomejs/cli-linux-x64": "2.6.8", - "@biomejs/cli-linux-x64-musl": "2.6.8", - "@biomejs/cli-win32-arm64": "2.6.8", - "@biomejs/cli-win32-x64": "2.6.8" + "@biomejs/cli-android-arm64": "2.6.9", + "@biomejs/cli-android-x64": "2.6.9", + "@biomejs/cli-darwin-arm64": "2.6.9", + "@biomejs/cli-darwin-x64": "2.6.9", + "@biomejs/cli-linux-arm64": "2.6.9", + "@biomejs/cli-linux-arm64-musl": "2.6.9", + "@biomejs/cli-linux-x64": "2.6.9", + "@biomejs/cli-linux-x64-musl": "2.6.9", + "@biomejs/cli-win32-arm64": "2.6.9", + "@biomejs/cli-win32-x64": "2.6.9" } }, "node_modules/@biomejs/cli-android-arm64": { - "version": "2.6.8", - "resolved": "https://registry.npmjs.org/@biomejs/cli-android-arm64/-/cli-android-arm64-2.6.8.tgz", - "integrity": "sha512-X4JKPLK85kfUTwuuaORFplnBfGjKkp62PsFhhcL7F/Tpltc7pyUofjlkkMnlZZLWsifFl7LNB8ngVrwJg1uo1Q==", + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/@biomejs/cli-android-arm64/-/cli-android-arm64-2.6.9.tgz", + "integrity": "sha512-/3Aj5aiG+Iz8yDBJJb/GFDsptr9ONk3n1wZUIERuU+pVXMIslBaOnrTYJI5QVVXZ9jE494myQHiIvFrjQCBYeQ==", "cpu": [ "arm64" ], @@ -342,9 +342,9 @@ } }, "node_modules/@biomejs/cli-android-x64": { - "version": "2.6.8", - "resolved": "https://registry.npmjs.org/@biomejs/cli-android-x64/-/cli-android-x64-2.6.8.tgz", - "integrity": "sha512-C3Hk485vl+deEj53K08+SYYelPIPkdSZL3qHuD31Xi+qydVa4q2ze+aCYo1k3iJGWtvWtjHaGkDh7S2sX6wk8w==", + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/@biomejs/cli-android-x64/-/cli-android-x64-2.6.9.tgz", + "integrity": "sha512-erjbUpD9KJhzTsGHY9oStJ1bSiUJ1ikUXgdr0iOFoIAMiKqW+GdVdEqAlEyqiZA6CBiFqf2fV+g0AVl3hYOuYg==", "cpu": [ "x64" ], @@ -359,9 +359,9 @@ } }, "node_modules/@biomejs/cli-darwin-arm64": { - "version": "2.6.8", - "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.6.8.tgz", - "integrity": "sha512-DHyj+JnRHcn4YdvpiqgTFZMYKSPELMCfFpNNlEuu1L8DKTGXhzW7raIwdsbo2Ie9nCljQLAQkVWQk/mwM0ueiA==", + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.6.9.tgz", + "integrity": "sha512-fO67s0SF+lKGhNPQ7jUXiz0yXGl/1Qm3XTIn/4Hd2Z2z3ewQMrotWIMVdIPxZAgLJdQtRLBOzgsTRzTl981yWA==", "cpu": [ "arm64" ], @@ -376,9 +376,9 @@ } }, "node_modules/@biomejs/cli-darwin-x64": { - "version": "2.6.8", - "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.6.8.tgz", - "integrity": "sha512-QWWUPjlA0RnkkgYnFLUHZu+RrDc0FdK0A+wEPA+dENQJwsuSHMH89lspnAw2QUWWc9VHyfluGx1Xmp6Y2GZi8Q==", + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.6.9.tgz", + "integrity": "sha512-RdjT3Z6dLlii0x6EroncTp9jg38FMx2R1aeaaU4BbZ4//3TJ2mA2R39KMIrZYxHdHXcfv9X2V5hwKkXhg08w/g==", "cpu": [ "x64" ], @@ -393,9 +393,9 @@ } }, "node_modules/@biomejs/cli-linux-arm64": { - "version": "2.6.8", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.6.8.tgz", - "integrity": "sha512-0Bjim8lKwnrvXUHoI4k3Tb51BjoiLEwDnovCI8nSzkk6wj3dShiuAjrx6+X0Hjf4ejR1sRZgTQiSDHlpy9vB7w==", + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.6.9.tgz", + "integrity": "sha512-x73OpQSuQLuvNfzXWEjf0mK95NxlJQX4eG/jmuSrGWOz+/jcLUE4N/21yBu3n0X+wa8bJ3NsWNvmNacLnyc2CQ==", "cpu": [ "arm64" ], @@ -413,9 +413,9 @@ } }, "node_modules/@biomejs/cli-linux-arm64-musl": { - "version": "2.6.8", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.6.8.tgz", - "integrity": "sha512-WB9PhOitX+bRc0G3+GNJGlvbKoWn3JoB9z4E04JQizIC9aPCQyIvwvWG7QZHxw6k20Fi+dHLmZ2fSEmBa9HqiA==", + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.6.9.tgz", + "integrity": "sha512-qoG0R5MhJ8VFozVFZQC42V3qCI1TInDhL/YcPPg0oTzfv3vuh0ZDXj+2nNahq8gboHUMv7MWpGjRDLhpQatJ+A==", "cpu": [ "arm64" ], @@ -433,9 +433,9 @@ } }, "node_modules/@biomejs/cli-linux-x64": { - "version": "2.6.8", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.6.8.tgz", - "integrity": "sha512-XIk3pLQT56I6Tti+u0DF8FtSNXjCMTPbxVTzfJ9cS2t1ImVKvrqV5b52GuEaJg6/wuiXvz0sjfb5saB4TPRjzA==", + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.6.9.tgz", + "integrity": "sha512-uVrqS0HDjRzFlx88ZpfmlZvJ+xIwTU+110vunzrYvZQ5OqXl/1ugMTNvAs61hejH7jh7iequKJwagRVarrYcSQ==", "cpu": [ "x64" ], @@ -453,9 +453,9 @@ } }, "node_modules/@biomejs/cli-linux-x64-musl": { - "version": "2.6.8", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.6.8.tgz", - "integrity": "sha512-64Yzo+J4fEk7Kf9SMnVdVxC+Y2A2e/L86QTP9JjGQ57lsddyELLpbBcNMxSJggre2T1AvISwwSrOApkBAHDqNA==", + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.6.9.tgz", + "integrity": "sha512-o73Sk1hCbGOFOrDlxtpHGIubnLwMXscT32+ujMwUyq9o0f4onxO7OznzkFgcZGbwKy1R3ohroOkqZDXqj1u29g==", "cpu": [ "x64" ], @@ -473,9 +473,9 @@ } }, "node_modules/@biomejs/cli-win32-arm64": { - "version": "2.6.8", - "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.6.8.tgz", - "integrity": "sha512-ezjCEZzHIWE2pdh83a7zLVcAAcDaERcTcvfA7uWlxqz/1CuDxgtfO19pDg9B6YY4wKYIDvYBw2QCMnqIshSwmw==", + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.6.9.tgz", + "integrity": "sha512-4yvNG4nQGJsJA/PTVAt8IBFXvY6hXk4UdjtPlTf4QTMIjH7ysOwBew78bKThkRv1eyRwH2mGLIk4lAZp8tfAdw==", "cpu": [ "arm64" ], @@ -490,9 +490,9 @@ } }, "node_modules/@biomejs/cli-win32-x64": { - "version": "2.6.8", - "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.6.8.tgz", - "integrity": "sha512-cD6HvGczZUiAYsY8s2TxxXj2AHFzEdMomvVJfEjzOjBM45nGqIDfBpbtvwGQzDCN8X2yKKk9u1jnDZisT2nxIg==", + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.6.9.tgz", + "integrity": "sha512-mwarNc4GEg5JknsRaJDyJDFr4kICD7snsGM8yYFOoIHimSU1ekWNbcZ44QDa6/30fUZC9077wbBpXE8fp03aug==", "cpu": [ "x64" ], diff --git a/package.json b/package.json index 10147cf..4f20cff 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "test": "node --test \"tests/js/**/*.test.mjs\"" }, "devDependencies": { - "@biomejs/biome": "2.6.8", + "@biomejs/biome": "2.6.9", "@wordpress/browserslist-config": "7.2.0", "@wordpress/eslint-plugin": "28.2.0", "@wordpress/stylelint-config": "27.2.0", diff --git a/rector.php b/rector.php index cf4d38d..5cb10c0 100644 --- a/rector.php +++ b/rector.php @@ -29,7 +29,6 @@ deadCode: true, codeQuality: true, typeDeclarations: true, - earlyReturn: true, ) ->withSkip( [