From efeba06f11f92d25e2fc9662c702b053729ea64b Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 25 Feb 2025 12:59:18 +0100 Subject: [PATCH] Update phpstan, fix test --- composer.lock | 10 +++++----- .../Composer/Test/Package/Archiver/ZipArchiverTest.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index 7911b3822..cfd9c8777 100644 --- a/composer.lock +++ b/composer.lock @@ -2020,16 +2020,16 @@ "packages-dev": [ { "name": "phpstan/phpstan", - "version": "1.12.18", + "version": "1.12.19", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "fef9f07814a573399229304bb0046affdf558812" + "reference": "c42ba9bab7a940ed00092ecb1c77bad98896d789" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/fef9f07814a573399229304bb0046affdf558812", - "reference": "fef9f07814a573399229304bb0046affdf558812", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/c42ba9bab7a940ed00092ecb1c77bad98896d789", + "reference": "c42ba9bab7a940ed00092ecb1c77bad98896d789", "shasum": "" }, "require": { @@ -2074,7 +2074,7 @@ "type": "github" } ], - "time": "2025-02-13T12:44:44+00:00" + "time": "2025-02-19T15:42:21+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", diff --git a/tests/Composer/Test/Package/Archiver/ZipArchiverTest.php b/tests/Composer/Test/Package/Archiver/ZipArchiverTest.php index d7f5d9331..d7af0c631 100644 --- a/tests/Composer/Test/Package/Archiver/ZipArchiverTest.php +++ b/tests/Composer/Test/Package/Archiver/ZipArchiverTest.php @@ -62,7 +62,7 @@ class ZipArchiverTest extends ArchiverTestCase $this->markTestSkipped('Folder names cannot contain backslashes on Windows.'); } - $this->testZipArchive([ + $this->assertZipArchive([ 'folder\with\backslashes/README.md' => '# doc', ]); }