From 78290454a6dc4b336e0bf7cf9490a3365815fe6b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Oct 2025 17:30:59 +0000 Subject: [PATCH 1/2] chore: bump rector/rector from 2.2.5 to 2.2.6 Bumps [rector/rector](https://github.com/rectorphp/rector) from 2.2.5 to 2.2.6. - [Release notes](https://github.com/rectorphp/rector/releases) - [Commits](https://github.com/rectorphp/rector/compare/2.2.5...2.2.6) --- updated-dependencies: - dependency-name: rector/rector dependency-version: 2.2.6 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index 2d1a8fa..ca2b57e 100644 --- a/composer.lock +++ b/composer.lock @@ -1502,16 +1502,16 @@ }, { "name": "rector/rector", - "version": "2.2.5", + "version": "2.2.6", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "fb9418af7777dfb1c87a536dc58398b5b07c74b9" + "reference": "5c5bbc956b9a056a26cb593379253104b7ed9c2d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/fb9418af7777dfb1c87a536dc58398b5b07c74b9", - "reference": "fb9418af7777dfb1c87a536dc58398b5b07c74b9", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/5c5bbc956b9a056a26cb593379253104b7ed9c2d", + "reference": "5c5bbc956b9a056a26cb593379253104b7ed9c2d", "shasum": "" }, "require": { @@ -1550,7 +1550,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/2.2.5" + "source": "https://github.com/rectorphp/rector/tree/2.2.6" }, "funding": [ { @@ -1558,7 +1558,7 @@ "type": "github" } ], - "time": "2025-10-23T11:22:37+00:00" + "time": "2025-10-27T11:35:56+00:00" }, { "name": "sebastian/cli-parser", From 272b616bce42b6342dcc86912725c03e598064ee Mon Sep 17 00:00:00 2001 From: Cristi Radu Date: Mon, 27 Oct 2025 20:20:35 +0200 Subject: [PATCH 2/2] Rector fixes --- tests/FileDirectoryTest.php | 2 +- tests/IsoFileTest.php | 2 +- tests/IsoFileTestUdf.php | 2 +- tests/PathTableRecordTest.php | 2 +- tests/Util/BufferTest.php | 2 +- tests/Util/IsoDateTest.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/FileDirectoryTest.php b/tests/FileDirectoryTest.php index 86a6081..83e0d42 100644 --- a/tests/FileDirectoryTest.php +++ b/tests/FileDirectoryTest.php @@ -8,7 +8,7 @@ use PhpIso\FileDirectory; use PhpIso\IsoFile; -class FileDirectoryTest extends TestCase +final class FileDirectoryTest extends TestCase { public function testInitWithInvalidBuffer(): void { diff --git a/tests/IsoFileTest.php b/tests/IsoFileTest.php index b5df3cb..a0163fc 100644 --- a/tests/IsoFileTest.php +++ b/tests/IsoFileTest.php @@ -18,7 +18,7 @@ use PhpIso\PathTableRecord; use PhpIso\FileDirectory; -class IsoFileTest extends TestCase +final class IsoFileTest extends TestCase { public function testConstructorFileDoesNotExist(): void { diff --git a/tests/IsoFileTestUdf.php b/tests/IsoFileTestUdf.php index 4e9edbc..9f0fd86 100644 --- a/tests/IsoFileTestUdf.php +++ b/tests/IsoFileTestUdf.php @@ -18,7 +18,7 @@ use PhpIso\PathTableRecord; use PhpIso\FileDirectory; -class IsoFileTestUdf extends TestCase +final class IsoFileTestUdf extends TestCase { #[DataProvider('isoFilesDataProvider')] public function testConstructorExistingUdfFile(string $testFile, int $descriptorCount): void diff --git a/tests/PathTableRecordTest.php b/tests/PathTableRecordTest.php index a31f971..7e693c9 100644 --- a/tests/PathTableRecordTest.php +++ b/tests/PathTableRecordTest.php @@ -9,7 +9,7 @@ use PhpIso\Util\Buffer; use PhpIso\Exception; -class PathTableRecordTest extends TestCase +final class PathTableRecordTest extends TestCase { public function testSetDirectoryNumber(): void { diff --git a/tests/Util/BufferTest.php b/tests/Util/BufferTest.php index 9d3ea06..5e0d8d7 100644 --- a/tests/Util/BufferTest.php +++ b/tests/Util/BufferTest.php @@ -8,7 +8,7 @@ use PhpIso\Util\Buffer; use PhpIso\Exception; -class BufferTest extends TestCase +final class BufferTest extends TestCase { public function testAlign(): void { diff --git a/tests/Util/IsoDateTest.php b/tests/Util/IsoDateTest.php index 2075f9d..67d992b 100644 --- a/tests/Util/IsoDateTest.php +++ b/tests/Util/IsoDateTest.php @@ -8,7 +8,7 @@ use PhpIso\Util\IsoDate; use Carbon\Carbon; -class IsoDateTest extends TestCase +final class IsoDateTest extends TestCase { public function testInit7ValidDate(): void {