Skip to content

Commit 98a26e4

Browse files
committed
wip
1 parent 7e275f2 commit 98a26e4

6 files changed

Lines changed: 116 additions & 107 deletions

File tree

.github/instructions/laravel-boost.instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ protected function isAccessible(User $user, ?string $path = null): bool
234234

235235
# Laravel Pint Code Formatter
236236

237-
- You must run `vendor/bin/pint --dirty` before finalizing changes to ensure your code matches the project's expected style.
238-
- Do not run `vendor/bin/pint --test`, simply run `vendor/bin/pint` to fix any formatting issues.
237+
- You must run `vendor/bin/pint --dirty --format agent` before finalizing changes to ensure your code matches the project's expected style.
238+
- Do not run `vendor/bin/pint --test --format agent`, simply run `vendor/bin/pint --format agent` to fix any formatting issues.
239239

240240
=== pest/core rules ===
241241

.github/skills/pest-testing/SKILL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ it('may reset the password', function () {
121121
$page = visit('/sign-in');
122122

123123
$page->assertSee('Sign In')
124-
->assertNoJavascriptErrors()
124+
->assertNoJavaScriptErrors()
125125
->click('Forgot Password?')
126126
->fill('email', 'nuno@laravel.com')
127127
->click('Send Reset Link')
@@ -140,7 +140,7 @@ Quickly validate multiple pages have no JavaScript errors:
140140

141141
$pages = visit(['/', '/about', '/contact']);
142142

143-
$pages->assertNoJavascriptErrors()->assertNoConsoleLogs();
143+
$pages->assertNoJavaScriptErrors()->assertNoConsoleLogs();
144144

145145
</code-snippet>
146146

@@ -171,4 +171,4 @@ arch('controllers')
171171
- Using `assertStatus(200)` instead of `assertSuccessful()`
172172
- Forgetting datasets for repetitive validation tests
173173
- Deleting tests without approval
174-
- Forgetting `assertNoJavascriptErrors()` in browser tests
174+
- Forgetting `assertNoJavaScriptErrors()` in browser tests

app/Console/Commands/NoteCommand.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,11 @@
44

55
namespace App\Console\Commands;
66

7-
use Carbon\Carbon;
87
use Illuminate\Console\Command;
98
use Illuminate\Support\Facades\Http;
10-
use Illuminate\Support\Facades\Storage;
11-
use Illuminate\Support\Str;
12-
use Revolution\Feedable\Core\Elements\Author;
13-
use Revolution\Feedable\Core\Elements\FeedItem;
149
use Revolution\Feedable\Core\Enums\Format;
15-
use Revolution\Feedable\Core\Enums\Timezone;
1610
use Revolution\Feedable\Core\Response\ResponseFactory;
17-
use Revolution\Feedable\Core\Support\AbsoluteUri;
1811
use Revolution\Feedable\Drivers\Note\NoteIndexDriver;
19-
use Revolution\Salvager\AgentBrowser;
20-
use Revolution\Salvager\Facades\Salvager;
21-
use Symfony\Component\DomCrawler\Crawler;
2212

2313
class NoteCommand extends Command
2414
{

composer.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@
5656
"Composer\\Config::disableProcessTimeout",
5757
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite --kill-others"
5858
],
59+
"lint": [
60+
"pint --parallel"
61+
],
62+
"test:lint": [
63+
"pint --parallel --test"
64+
],
5965
"test": [
6066
"@php artisan config:clear --ansi",
6167
"@php artisan test"
@@ -85,7 +91,6 @@
8591
"npm run build",
8692
"npm install --omit=dev"
8793
],
88-
"lint": "pint",
8994
"boost": "php artisan boost:install --no-interaction --ansi"
9095
},
9196
"extra": {

0 commit comments

Comments
 (0)