Movatterモバイル変換


[0]ホーム

URL:


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

How to solve still repeat missing methods warnings?#2855

Answeredbydantleech
scippio asked this question inQ&A
Discussion options

Is possible avoid this (in Laravel framework)? (I don't want turn off missing methods warning, just when they are really not missing like in Laravel).

image

You must be logged in to vote

yes, this is a known issue with phpactor/larvel helpers. phpactor doesn't "merge" the stubs

Replies: 2 comments 9 replies

Comment options

I'm not gamiliar with the Laravel TestResponse - how does Laravel define them?

You must be logged in to vote
0 replies
Comment options

https://laravel.com/api/11.x/Illuminate/Testing/TestResponse.html

You must be logged in to vote
9 replies
@dantleech
Comment options

what happens when you "jump to definition" onnew TestResponse() ? i.e. which source file does Phpactor open, if it opens any at all?

@scippio
Comment options

hmm it's jumps into _ide_helpers.php .. even if I have: use Illuminate\Testing\TestResponse;
in _ide_helpers.php I have:

/** @noinspection PhpUndefinedClassInspection *//** @noinspection PhpFullyQualifiedNameUsageInspection *//** @noinspection PhpUnusedAliasInspection */namespaceIlluminate\Testing {/**     * @see \Inertia\Testing\TestResponseMacros     *     * @method self assertInertia(\Closure $assert = null)     */class TestResponse    {//    }}.....
@scippio
Comment options

It looks fine if I delete _ide_helpers files 🙃

@dantleech
Comment options

yes, this is a known issue with phpactor/larvel helpers. phpactor doesn't "merge" the stubs

Answer selected byscippio
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
2 participants
@scippio@dantleech

[8]ページ先頭

©2009-2025 Movatter.jp