chore: coding style changes

This commit is contained in:
nuno maduro
2026-08-07 14:52:56 +01:00
parent eb88513baf
commit 42d9b777bf
221 changed files with 139 additions and 3086 deletions
+4 -4
View File
@@ -6,10 +6,10 @@ use Pest\Exceptions\InvalidExpectationValue;
use PHPUnit\Framework\ExpectationFailedException;
test('pass', function (): void {
expect('example')->toBeHostname() // single label
->and('example.com')->toBeHostname() // multiple labels
->and('sub.example.com')->toBeHostname() // subdomain
->and('my-host')->toBeHostname(); // with hyphen
expect('example')->toBeHostname()
->and('example.com')->toBeHostname()
->and('sub.example.com')->toBeHostname()
->and('my-host')->toBeHostname();
});
test('failures', function (): void {