Skip to content
Merged
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
3 changes: 0 additions & 3 deletions src/Auth/InteractsWithAuthorization.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
use Illuminate\Contracts\Auth\Access\Gate;
use PHPUnit\Framework\Assert as PHPUnit;

/**
* @internal
*/
trait InteractsWithAuthorization
{
/**
Expand Down
13 changes: 12 additions & 1 deletion src/Http/Requests/PendingTestFormRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use Illuminate\Auth\Access\AuthorizationException;
use Illuminate\Contracts\Auth\Authenticatable as UserContract;
use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Support\Traits\ForwardsCalls;
use Illuminate\Validation\ValidationException;
use Orchestra\Testbench\TestCase;
use PHPUnit\Framework\Assert as PHPUnit;
Expand All @@ -14,10 +15,12 @@
/**
* @template TForm of \Illuminate\Foundation\Http\FormRequest
*
* @internal
* @mixin TForm
*/
class PendingTestFormRequest
{
use ForwardsCalls;

/**
* Create a new Pending Test.
*/
Expand Down Expand Up @@ -182,4 +185,12 @@

return $this;
}

/**
* Dynamically handle calls to the underlying Form Request.
*/
public function __call(string $name, array $arguments): mixed
{
return $this->forwardCallTo($this->request, $name, $arguments);

Check failure on line 194 in src/Http/Requests/PendingTestFormRequest.php

View workflow job for this annotation

GitHub Actions / 3️⃣ Static Analysis

Access to an undefined property Laragear\MetaTesting\Http\Requests\PendingTestFormRequest<TForm of Illuminate\Foundation\Http\FormRequest>::$request.

Check failure on line 194 in src/Http/Requests/PendingTestFormRequest.php

View workflow job for this annotation

GitHub Actions / 3️⃣ Static Analysis

Access to an undefined property Laragear\MetaTesting\Http\Requests\PendingTestFormRequest<TForm of Illuminate\Foundation\Http\FormRequest>::$request.
}
}
3 changes: 0 additions & 3 deletions src/InteractsWithServices.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@

use function tap;

/**
* @internal
*/
trait InteractsWithServices
{
/**
Expand Down
3 changes: 0 additions & 3 deletions src/Validation/InteractsWithValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

use function is_array;

/**
* @internal
*/
trait InteractsWithValidator
{
/**
Expand Down
Loading