Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel authored Jan 11, 2025
2 parents 98f53cf + 2a4ebc4 commit 5c11a1d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -868,8 +868,8 @@
'Documentation':
- changed-files:
- any-glob-to-any-file: [
docs/*.md
docs/**/*.md
docs/*.md,
docs/**/*.md,
docs_includes/*.md
]

Expand Down
6 changes: 5 additions & 1 deletion tests/unit/Mage/Core/Model/LayoutTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,11 @@ public function provideGetBlockSingleton(): Generator
public function testGetBlockSingletonError(): void
{
$this->expectException(\Error::class);
$this->expectExceptionMessage("Class 'Mage_Invalid_Block_Type' not found");
if (PHP_VERSION_ID >= 80000) {
$this->expectExceptionMessage('Class "Mage_Invalid_Block_Type" not found');
} else {
$this->expectExceptionMessage("Class 'Mage_Invalid_Block_Type' not found");
}

$this->subject->getBlockSingleton('invalid/type');
}
Expand Down

0 comments on commit 5c11a1d

Please sign in to comment.