From 76dfd1644382270b33b36de4d517a98965f5ff52 Mon Sep 17 00:00:00 2001 From: DanielEScherzer Date: Tue, 11 Mar 2025 09:41:26 -0700 Subject: [PATCH 1/2] VendorCleanup: fix missing `<` in `` --- src/ComposerIntegration/VendorCleanup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ComposerIntegration/VendorCleanup.php b/src/ComposerIntegration/VendorCleanup.php index 035c2d86..c16d073e 100644 --- a/src/ComposerIntegration/VendorCleanup.php +++ b/src/ComposerIntegration/VendorCleanup.php @@ -34,7 +34,7 @@ public function __invoke(Composer $composer): void if (! is_array($vendorContents)) { $this->output->writeln( sprintf( - 'Vendor directory (vendor-dir config) %s seemed invalid?/comment>', + 'Vendor directory (vendor-dir config) %s seemed invalid?', $vendorDir, ), OutputInterface::VERBOSITY_VERY_VERBOSE, From 854d0a7e90ac3d021de292b8f289400f1e6b1328 Mon Sep 17 00:00:00 2001 From: James Titcumb Date: Tue, 11 Mar 2025 20:32:53 +0000 Subject: [PATCH 2/2] Fix missing open bracket in test too --- test/unit/ComposerIntegration/VendorCleanupTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/ComposerIntegration/VendorCleanupTest.php b/test/unit/ComposerIntegration/VendorCleanupTest.php index 0d455286..19c82d09 100644 --- a/test/unit/ComposerIntegration/VendorCleanupTest.php +++ b/test/unit/ComposerIntegration/VendorCleanupTest.php @@ -58,7 +58,7 @@ public function testInvalidVendorDirectory(): void ->expects(self::once()) ->method('writeln') ->with( - 'Vendor directory (vendor-dir config) /path/that/does/not/exist seemed invalid?/comment>', + 'Vendor directory (vendor-dir config) /path/that/does/not/exist seemed invalid?', OutputInterface::VERBOSITY_VERY_VERBOSE, );