jeudi 5 mars 2015

PHP Fatal error: Class 'Controller' not found.. when run Laravel on Codeship

I need to run



vendor/bin/codecept run


on codeship to test my Laravel app. Running local this work fine and finish all tests.


But when the same code run on codeship, returns a php error:



php error "Class 'Controller' not found"



I tried to:



  • include the use statement and works partial, but in Laravel 4.2 is not common to add this statement.

  • Change PHP version

  • Check codeception setup

  • run composer and artisan dump autoloader

  • artisan cache:clear

  • update all packages


Someone gets the same behavior or have Laravel 4.2 running up in codeship with codeception suite?


Aucun commentaire:

Enregistrer un commentaire