Laravel Pint fixes
Some checks failed
PHP Unit / PHPUnit test suite (pull_request) Has been cancelled
Laravel Pint / Laravel Pint (pull_request) Has been cancelled

This commit is contained in:
Jonny Barnes 2025-04-06 17:25:06 +01:00
parent 7a58287b34
commit 126bb29ae2
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
50 changed files with 299 additions and 299 deletions

View file

@ -18,7 +18,7 @@ class PlacesTest extends TestCase
use RefreshDatabase;
#[Test]
public function canRetrieveAssociatedNotes(): void
public function can_retrieve_associated_notes(): void
{
$place = Place::factory()->create();
Note::factory(5)->create([
@ -29,7 +29,7 @@ class PlacesTest extends TestCase
}
#[Test]
public function nearMethodReturnsCollection(): void
public function near_method_returns_collection(): void
{
Place::factory()->create([
'name' => 'The Bridgewater Pub',
@ -41,7 +41,7 @@ class PlacesTest extends TestCase
}
#[Test]
public function getUri(): void
public function get_uri(): void
{
$place = Place::factory()->create([
'name' => 'The Bridgewater Pub',
@ -50,7 +50,7 @@ class PlacesTest extends TestCase
}
#[Test]
public function placeServiceReturnsExistingPlaceBasedOnExternalUrlsSearch(): void
public function place_service_returns_existing_place_based_on_external_urls_search(): void
{
Place::factory(10)->create();
@ -70,7 +70,7 @@ class PlacesTest extends TestCase
}
#[Test]
public function placeServiceRequiresNameWhenCreatingNewPlace(): void
public function place_service_requires_name_when_creating_new_place(): void
{
$this->expectException(InvalidArgumentException::class);
$this->expectExceptionMessage('Missing required name');
@ -80,7 +80,7 @@ class PlacesTest extends TestCase
}
#[Test]
public function placeServiceRequiresLatitudeWhenCreatingNewPlace(): void
public function place_service_requires_latitude_when_creating_new_place(): void
{
$this->expectException(InvalidArgumentException::class);
$this->expectExceptionMessage('Missing required longitude/latitude');
@ -90,7 +90,7 @@ class PlacesTest extends TestCase
}
#[Test]
public function placeServiceCanUpdateExternalUrls(): void
public function place_service_can_update_external_urls(): void
{
$place = Place::factory()->create([
'name' => 'The Bridgewater Pub',