barryvdh / laravel-ide-helper

IDE Helper for Laravel
MIT License
14.23k stars 1.16k forks source link

SoftDeletingTrait is not found #102

Closed hettiger closed 10 years ago

hettiger commented 10 years ago

Getting a Class not found error generating a new helper file after composer update.

php artisan ide-helper:generate
Class \Illuminate\Database\Eloquent\SoftDeletingTrait is not found.
A new helper file was written to _ide_helper.php

Manually checked the file exists in vendor/laravel/framework/src/Illuminate/Database/Eloquent:

<?php namespace Illuminate\Database\Eloquent;

trait SoftDeletingTrait {

// ...

My composer.json file (well only the important parts of it):

"require": {
    "laravel/framework": "4.2.*",
    "laracasts/validation": "1.1.*",
    "laracasts/flash": "1.*",
    "mews/captcha": "dev-master@dev"
},

"config": {
    "preferred-install": "dist"
},
"minimum-stability": "stable",
"require-dev": {
    "barryvdh/laravel-ide-helper": "1.*",
    "phpunit/phpunit": "3.*",
    "mockery/mockery": "*",
    "laracasts/testdummy": "1.1.*",
    "way/generators": "2.6.*",
    "behat/behat": "3.0.*",
    "behat/mink": "1.5.*",
    "behat/mink-extension": "2.0.*",
    "behat/mink-goutte-driver": "1.0.*",
    "behat/mink-selenium2-driver": "1.1.*"
}
barryvdh commented 10 years ago

Try searching the issues.

barryvdh commented 10 years ago

Should be fixed in the latest version, the error is gone (but it didn't matter anyways)

hettiger commented 10 years ago

Thank you :-)