Skip to content

Commit

Permalink
fix pint
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin committed Jan 26, 2025
1 parent 1fc27bc commit 0095cb2
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ private function addContactInformationToVCard(VCard $vcard, ContactInformation $
case trans('Phone'):
// https://datatracker.ietf.org/doc/html/rfc6350#section-6.4.1
$vcard->add('TEL', $contactInformation->data, [
//'TYPE' => $contactInformation->contactInformationType->type,
// 'TYPE' => $contactInformation->contactInformationType->type,
]);
break;
case trans('Facebook'):
Expand Down
2 changes: 1 addition & 1 deletion app/Helpers/ImportantDateHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public static function determineType(ContactImportantDate $date): ?string
}

// case: only know the month and day. In this case, we can't calculate
//the age at all
// the age at all
if ($date->day && $date->month && ! $date->year) {
$type = ContactImportantDate::TYPE_MONTH_DAY;
}
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Auth/SocialiteCallbackController.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function callback(Request $request, string $driver): RedirectResponse
$this->checkProvider($driver);
$this->checkForErrors($request, $driver);

return $this->loginPipeline($request)->then(function (/*$request*/) {
return $this->loginPipeline($request)->then(function (/* $request */) {
return Redirect::intended(route('home'));
});
} catch (ValidationException $e) {
Expand Down
2 changes: 1 addition & 1 deletion config/debugbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
],
'views' => [
'timeline' => false, // Add the views to the timeline (Experimental)
'data' => false, //Note: Can slow down the application, because the data can be quite large..
'data' => false, // Note: Can slow down the application, because the data can be quite large..
'exclude_paths' => [], // Add the paths which you don't want to appear in the views
],
'route' => [
Expand Down
4 changes: 2 additions & 2 deletions config/jetstream.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
Features::termsAndPrivacyPolicy(),
// Features::profilePhotos(),
Features::api(),
//Features::teams(['invitations' => true]),
//Features::accountDeletion(),
// Features::teams(['invitations' => true]),
// Features::accountDeletion(),
],

/*
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Controllers/GatesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function it_checks_post_owner()
}

/** @test */
public function it_checks_sliceOfLife_owner()
public function it_checks_slice_of_life_owner()
{
$user = $this->createUser();
$vault = $this->createVaultUser($user, Vault::PERMISSION_MANAGE);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public function test_carddav_update_existing_contact_no_modify()

$response->assertStatus(204);
$response->assertHeader('X-Sabre-Version');
//$response->assertHeader('ETag'); // etag no more sent
// $response->assertHeader('ETag'); // etag no more sent
}

public function test_carddav_contacts_report_version4()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ImportGroupTest extends TestCase
PHPUnitAssertions;

/** @test */
public function it_imports_names_N()
public function it_imports_names_n()
{
$importGroup = new ImportGroup;

Expand All @@ -31,7 +31,7 @@ public function it_imports_names_N()
}

/** @test */
public function it_imports_names_FN()
public function it_imports_names_fn()
{
$author = User::factory()->create();
$importVCard = new ImportVCard;
Expand All @@ -48,7 +48,7 @@ public function it_imports_names_FN()
}

/** @test */
public function it_imports_name_FN()
public function it_imports_name_fn()
{
$author = User::factory()->create();
$importVCard = new ImportVCard;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class GetGPSCoordinateTest extends TestCase
{
use DatabaseTransactions;

public function setUp(): void
protected function setUp(): void
{
parent::setUp();

Expand Down
12 changes: 6 additions & 6 deletions tests/Unit/Helpers/CollectionHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class CollectionHelperTest extends TestCase
{
/** @test */
public function it_sortByCollator_base()
public function it_sort_by_collator_base()
{
$collection = collect([
['name' => 'a'],
Expand All @@ -29,7 +29,7 @@ public function it_sortByCollator_base()
}

/** @test */
public function it_sortByCollator_macro()
public function it_sort_by_collator_macro()
{
$collection = collect([
['name' => 'a'],
Expand All @@ -49,7 +49,7 @@ public function it_sortByCollator_macro()
}

/** @test */
public function it_sortByCollator_callback()
public function it_sort_by_collator_callback()
{
$collection = collect([
['name' => 'a'],
Expand All @@ -71,7 +71,7 @@ public function it_sortByCollator_callback()
}

/** @test */
public function it_sortByCollator_default_collation()
public function it_sort_by_collator_default_collation()
{
App::setLocale('en');

Expand All @@ -95,7 +95,7 @@ public function it_sortByCollator_default_collation()
}

/** @test */
public function it_sortByCollator_french_collation()
public function it_sort_by_collator_french_collation()
{
App::setLocale('fr');

Expand All @@ -119,7 +119,7 @@ public function it_sortByCollator_french_collation()
}

/** @test */
public function it_getCollator_french_collation()
public function it_get_collator_french_collation()
{
$collator = CollectionHelper::getCollator('fr');

Expand Down

0 comments on commit 0095cb2

Please sign in to comment.