Skip to content

Commit f28602a

Browse files
committed
run pint
1 parent 2f08475 commit f28602a

File tree

6 files changed

+12
-16
lines changed

6 files changed

+12
-16
lines changed

app-modules/api/src/Http/Controllers/EventApiV0Controller.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ class EventApiV0Controller
1111
{
1212
/**
1313
* Events API v0
14-
*
14+
*
1515
* This API provides access to event data stored in the HackGreenville database.
16-
*
16+
*
1717
* @apiResource HackGreenville\Api\Resources\Events\V0\EventCollection
1818
* @apiResourceModel App\Models\Event
1919
*/

app-modules/api/src/Http/Controllers/OrgsApiV0Controller.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class OrgsApiV0Controller extends Controller
1212
{
1313
/**
1414
* Organizations API v0
15-
*
15+
*
1616
* This API provides access to organization data stored in the HackGreenville database.
17-
*
17+
*
1818
* @apiResource HackGreenville\Api\Resources\Orgs\V0\OrganizationsCollection
1919
* @apiResourceModel App\Models\Org
2020
*/

app-modules/event-importer/src/Services/EventBriteHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ protected function mapIntoEventData(array $data): EventData
3232
? now()
3333
: null,
3434
'venue' => $this->mapIntoVenueData($data),
35-
'is_paid' => $data['is_free'] == false,
35+
'is_paid' => $data['is_free'] === false,
3636
]);
3737
}
3838

app-modules/slack-events-bot/tests/Services/BotServiceTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ public function test_handle_posting_to_slack_no_events()
4848
{
4949
$this->refreshApplication();
5050

51-
52-
53-
54-
5551
$this->botService = Mockery::mock(BotService::class . '[getEventsForWeek, deleteMessagesForWeek]', [
5652
$this->databaseServiceMock,
5753
$this->messageBuilderServiceMock

config/scribe.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
<?php
22

3-
use Knuckles\Scribe\Extracting\Strategies;
4-
use Knuckles\Scribe\Config\Defaults;
53
use Knuckles\Scribe\Config\AuthIn;
6-
use function Knuckles\Scribe\Config\{removeStrategies, configureStrategy};
4+
5+
use function Knuckles\Scribe\Config\{configureStrategy, removeStrategies};
6+
7+
use Knuckles\Scribe\Config\Defaults;
8+
use Knuckles\Scribe\Extracting\Strategies;
79

810
// Only the most common configs are shown. See the https://scribe.knuckles.wtf/laravel/reference/config for all.
911

1012
return [
1113
// The HTML <title> for the generated documentation.
12-
'title' => config('app.name').' API Documentation',
14+
'title' => config('app.name') . ' API Documentation',
1315

1416
// A short description of your API. Will be included in the docs webpage, Postman collection and OpenAPI spec.
1517
'description' => 'Documentation for the HackGreenville API. This API provides access to data stored in the HackGreenville database, such as events, organizations and more.',
@@ -122,7 +124,6 @@
122124
// Any extra authentication-related info for your users. Markdown and HTML are supported.
123125
'extra_info' => 'You can retrieve your token by visiting your dashboard and clicking <b>Generate API token</b>.',
124126
],
125-
126127

127128
// Example requests for each endpoint will be shown in each of these languages.
128129
// Supported options are: bash, javascript, php, python

database/migrations/2025_06_24_085219_add_is_paid_to_events.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
use Illuminate\Database\Schema\Blueprint;
55
use Illuminate\Support\Facades\Schema;
66

7-
return new class extends Migration
8-
{
7+
return new class extends Migration {
98
/**
109
* Run the migrations.
1110
*/

0 commit comments

Comments
 (0)