You've already forked Php-Template
chore: update dependencies and improve test class reflection
Some checks failed
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 4m11s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 4m2s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 4m23s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 4m37s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 4m29s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Failing after 3m16s
Some checks failed
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 4m11s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 4m2s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 4m23s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 4m37s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 4m29s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Failing after 3m16s
This commit is contained in:
@@ -11,7 +11,10 @@ class HandlesMessageTest extends Unit
|
||||
{
|
||||
public function testGetsClass(): void
|
||||
{
|
||||
$reflection = new \ReflectionClass(TestClass::class);
|
||||
$class = new #[HandlesMessage('Siteworxpro\Tests\Attributes\TestClass')] class {
|
||||
};
|
||||
|
||||
$reflection = new \ReflectionClass($class);
|
||||
$attributes = $reflection->getAttributes(HandlesMessage::class);
|
||||
$this->assertCount(1, $attributes);
|
||||
|
||||
@@ -20,8 +23,3 @@ class HandlesMessageTest extends Unit
|
||||
$this->assertEquals('Siteworxpro\Tests\Attributes\TestClass', $instance->getMessageClass());
|
||||
}
|
||||
}
|
||||
|
||||
#[HandlesMessage('Siteworxpro\Tests\Attributes\TestClass')]
|
||||
class TestClass // @codingStandardsIgnoreLine
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user