Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ parameters:
paths:
- src
- tests
excludePaths:
- src/Testing/Concerns
ignoreErrors:
- '#Call to an undefined method.*TestResponse.*::assertInertia\(\)#'
- '#Call to an undefined method.*TestResponse.*::inertiaPage\(\)#'
Expand Down
1 change: 0 additions & 1 deletion src/Inertia.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
* @method static void resolveUrlUsing(\Closure|null $urlResolver = null)
* @method static \Inertia\ScrollProp<mixed> scroll(mixed $value, string $wrapper = 'data', \Inertia\ProvidesScrollMetadata|callable|null $metadata = null)
* @method static \Inertia\OptionalProp optional(callable $callback)
* @method static \Inertia\LazyProp lazy(callable $callback)
* @method static \Inertia\DeferProp defer(callable $callback, string $group = 'default')
* @method static \Inertia\AlwaysProp always(mixed $value)
* @method static \Inertia\MergeProp merge(mixed $value)
Expand Down
36 changes: 0 additions & 36 deletions src/LazyProp.php

This file was deleted.

3 changes: 1 addition & 2 deletions src/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,6 @@ public function resolvePropertyInstances(array $props, Request $request, ?string

$resolveViaApp = collect([
Closure::class,
LazyProp::class,
OptionalProp::class,
DeferProp::class,
AlwaysProp::class,
Expand Down Expand Up @@ -565,7 +564,7 @@ protected function resolveMergeMatchingKeys(Collection $mergeProps): array
}

/**
* Resolve deferred props configuration for client-side lazy loading.
* Resolve deferred props configuration for client-side loading.
*
* @return array<string, mixed>
*/
Expand Down
10 changes: 0 additions & 10 deletions src/ResponseFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,16 +167,6 @@ public function encryptHistory($encrypt = true): void
$this->encryptHistory = $encrypt;
}

/**
* Create a lazy property.
*
* @deprecated Use `optional` instead.
*/
public function lazy(callable $callback): LazyProp
{
return new LazyProp($callback);
}

/**
* Create an optional property.
*/
Expand Down
24 changes: 0 additions & 24 deletions src/Testing/Concerns/Debugging.php

This file was deleted.

121 changes: 0 additions & 121 deletions src/Testing/Concerns/Has.php

This file was deleted.

45 changes: 0 additions & 45 deletions src/Testing/Concerns/Interaction.php

This file was deleted.

78 changes: 0 additions & 78 deletions src/Testing/Concerns/Matching.php

This file was deleted.

Loading