Skip to content

PHPUnit TestCase not found on use insert #32

Closed

Description

@dantleech
No description provided.

Activity

  1. dantleech commented on Jul 5, 2017

    @dantleech
    CollaboratorAuthor

    Fixed in class-to-file

  2. ek-yrabiller commented on Nov 16, 2020

    @ek-yrabiller

    @dantleech I have the case when using Symfony's PHPUnit bridge.

  3. ek-yrabiller commented on Nov 16, 2020

    @ek-yrabiller

    Oh, solved by adding this configuration:

    composer.autoloader_path: ["%project_root%/vendor/autoload.php", "%project_root%/bin/.phpunit/phpunit/vendor/autoload.php"]
    
  4. camilledejoye commented on Nov 17, 2020

    @camilledejoye
    Contributor

    Maybe we could add this in the documentation, under a framework section or example or something.
    Seems like something that can cost a lot of time if not aware of.

  5. dantleech commented on Nov 17, 2020

    @dantleech
    CollaboratorAuthor

    This wouldn't be an issue with the Language Server AFAIK, as this would get indexed regardless.

  6. camilledejoye commented on Nov 17, 2020

    @camilledejoye
    Contributor

    This wouldn't be an issue with the Language Server AFAIK, as this would get indexed regardless.

    That's a good example of doted directory that should not be excluded.
    We didn't automatically ignore them anyway, I think I didn't even add the exclusion in any PR before the ticket was closed ? Tiny memory ><

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions