-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I installed the package by composer,but it couldn't include by composer? #36
Comments
@zhushengwen, could you provide more details, for example, do you use phpunit? |
@mougrim, I use composer to install soft-mocks,and php frameworks is Yii2,then I use the code below.
`PHP Fatal error: Class 'Badoo\SoftMocks' not found in /data/www/projects/yii2/console/controllers/MeController.php on line 121 in /data/www/projects/yii2/console/controllers/MeController.php:121 Stack trace: |
@zhushengwen, looks like you run tests not through vendor/bin/phpunit.
|
Close, because there is no answer for long time. |
When debugging into composer,I found the composer.json not including “autoload” config! Is there any wrong?
The text was updated successfully, but these errors were encountered: