mirror of
https://github.com/pestphp/pest.git
synced 2026-07-22 01:20:03 +02:00
fix: package lock fingerprint
This commit is contained in:
@@ -4,7 +4,7 @@ use PHPUnit\Framework\TestCase;
|
||||
|
||||
trait MyCustomTrait
|
||||
{
|
||||
public function assertFalseIsFalse()
|
||||
public function assertFalseIsFalse(): void
|
||||
{
|
||||
assertFalse(false);
|
||||
}
|
||||
@@ -12,7 +12,7 @@ trait MyCustomTrait
|
||||
|
||||
abstract class MyCustomClass extends TestCase
|
||||
{
|
||||
public function assertTrueIsTrue()
|
||||
public function assertTrueIsTrue(): void
|
||||
{
|
||||
$this->assertTrue(true);
|
||||
}
|
||||
@@ -20,7 +20,7 @@ abstract class MyCustomClass extends TestCase
|
||||
|
||||
pest()->extend(MyCustomClass::class)->use(MyCustomTrait::class);
|
||||
|
||||
test('custom traits can be used', function () {
|
||||
test('custom traits can be used', function (): void {
|
||||
$this->assertTrueIsTrue();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user