Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 84fe7de

Browse files
Merge branch 'main' into calebdw/push-trorwrtmxlkk
2 parents a58a90e + 63feca0 commit 84fe7de

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

‎.ai/boost/core.blade.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@
2929

3030
1. Simple Word Searches with auto-stemming - query=authentication - finds 'authenticate' and 'auth'
3131
2. Multiple Words (AND Logic) - query=rate limit - finds knowledge containing both "rate" AND "limit"
32-
3. Quoted Phrases (Exact Position) - query="infinite scroll - Words must be adjacent and in that order
32+
3. Quoted Phrases (Exact Position) - query="infinite scroll" - Words must be adjacent and in that order
3333
4. Mixed Queries - query=middleware "rate limit" - "middleware" AND exact phrase "rate limit"
3434
5. Multiple Queries - queries=["authentication", "middleware"] - ANY of these terms

‎.ai/pest/core.blade.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
- You can also create partial mocks using the same import or self method.
3939

4040
### Datasets
41-
- Use datasets in Pest to simplify tests which have a lot of duplicated data. This is often the case when testing validation rules, so consider going with this solutionwhen writing tests for validation rules.
41+
- Use datasets in Pest to simplify tests which have a lot of duplicated data. This is often the case when testing validation rules, so consider going with this solution when writing tests for validation rules.
4242

4343
<code-snippet name="Pest Dataset Example" lang="php">
4444
it('has emails', function (string $email) {

‎src/BoostServiceProvider.php‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ private function registerRoutes(): void
107107
* } $log */
108108
foreach ($logs as $log) {
109109
$logger->write(
110-
level: $this->mapJsTypeToPsr3Level($log['type']),
111-
message: $this->buildLogMessageFromData($log['data']),
110+
level: self::mapJsTypeToPsr3Level($log['type']),
111+
message: self::buildLogMessageFromData($log['data']),
112112
context: [
113113
'url' => $log['url'],
114114
'user_agent' => $log['userAgent'] ?: null,
@@ -127,13 +127,13 @@ private function registerRoutes(): void
127127
* Build a string message for the log based on various input types. Single-dimensional, and multi:
128128
* "data": {"message":"Unhandled Promise Rejection","reason":{"name":"TypeError","message":"NetworkError when attempting to fetch resource.","stack":""}}]
129129
*/
130-
private function buildLogMessageFromData(array $data): string
130+
private staticfunction buildLogMessageFromData(array $data): string
131131
{
132132
$messages = [];
133133

134134
foreach ($data as $value) {
135135
$messages[] = match (true) {
136-
is_array($value) => $this->buildLogMessageFromData($value),
136+
is_array($value) => self::buildLogMessageFromData($value),
137137
is_string($value), is_numeric($value) => (string) $value,
138138
is_bool($value) => $value ? 'true' : 'false',
139139
is_null($value) => 'null',
@@ -162,7 +162,7 @@ private function registerBladeDirectives(BladeCompiler $bladeCompiler): void
162162
$bladeCompiler->directive('boostJs', fn () => '<?php echo \\Laravel\\Boost\\Services\\BrowserLogger::getScript(); ?>');
163163
}
164164

165-
private function mapJsTypeToPsr3Level(string $type): string
165+
private staticfunction mapJsTypeToPsr3Level(string $type): string
166166
{
167167
return match ($type) {
168168
'warn' => 'warning',

‎src/Install/CodeEnvironment/ClaudeCode.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function mcpInstallationStrategy(): McpInstallationStrategy
4848

4949
public function shellMcpCommand(): string
5050
{
51-
return 'claude mcp add -s local -t stdio {key} "{command}" {args} {env}';
51+
return 'claude mcp add -s project -t stdio {key} "{command}" {args} {env}';
5252
}
5353

5454
public function guidelinesPath(): string

‎src/Services/BrowserLogger.php‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ function scheduleFlush() {
108108
// Global error handlers for uncaught errors
109109
const originalOnError = window.onerror;
110110
window.onerror = function boostErrorHandler(errorMsg, url, lineNumber, colNumber, error) {
111-
console.log('window on error work please');
112111
try {
113112
logQueue.push({
114113
type: 'uncaught_error',

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /