Git Product home page Git Product logo

Comments (13)

agent44 avatar agent44 commented on June 8, 2024 11

If you run php bin/phpunit all the PHPUnit classes will install. Easy workaround.

from test-pack.

CharlyPoppins avatar CharlyPoppins commented on June 8, 2024 9

Try to create a phpstan.neon file in your project dir root and define the phpunit autoload file

# phpstan.neon
parameters:
  autoload_files:
    - bin/.phpunit/phpunit-7.5/vendor/autoload.php

from test-pack.

leymannx avatar leymannx commented on June 8, 2024 9

For me it was composer require phpunit/phpunit 😅

from test-pack.

camerongreen avatar camerongreen commented on June 8, 2024 4

I'm just writing my first test on my first pure Symfony app, and I just couldn't find this file. You should probably be able to write a test when getting started with a framework without going to StackOverflow and a github issues page. Putting a neon file in with the version seems like a bit of a maintenance issue. Running phpunit seems hacky. Anyway will do, but think it would be good to come up with a better solution.

from test-pack.

shehi avatar shehi commented on June 8, 2024 2

This shit is still happening. Any fixes?!

from test-pack.

rafrsr avatar rafrsr commented on June 8, 2024 2

I have the same problem, I need install phpunit manually and ignore the warning otherwise phpunit does not install.

from test-pack.

carlospauluk avatar carlospauluk commented on June 8, 2024

Same here. Weird!

from test-pack.

dvdknaap avatar dvdknaap commented on June 8, 2024

Got the same error.
Haven't found any solution yet.

from test-pack.

ribeiropaulor avatar ribeiropaulor commented on June 8, 2024

The same here.

from test-pack.

jfsenechal avatar jfsenechal commented on June 8, 2024

If you run php bin/phpunit all the PHPUnit classes will install. Easy workaround.

Nothing works for me,

from test-pack.

neverdieTRX avatar neverdieTRX commented on June 8, 2024

If you run php bin/phpunit all the PHPUnit classes will install. Easy workaround.

worked for me too

from test-pack.

jfsenechal avatar jfsenechal commented on June 8, 2024

Me too Thank you

from test-pack.

bodik avatar bodik commented on June 8, 2024

here my 2 cents symfony/symfony#36202 (comment)

from test-pack.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.