I've been searching and searching for solutions but I still can't figure out why is this happening. I have another project with the same setup but it doesnt give this error. Runs fine in local but throws error like this in scrutinizer
Warning Error: include(PHPUnit/Autoload.php): failed to open stream: No such file or directory in [/home/scrutinizer/build/lib/Cake/TestSuite/CakeTestSuiteDispatcher.php, line 162]
2018-01-19 07:45:23 Warning: include(PHPUnit/Autoload.php): failed to open stream: No such file or directory in [/home/scrutinizer/build/lib/Cake/TestSuite/CakeTestSuiteDispatcher.php, line 162]
Warning Error: include(): Failed opening 'PHPUnit/Autoload.php' for inclusion (include_path='/home/scrutinizer/build:/home/scrutinizer/build/lib:.:/home/scrutinizer/.phpenv/versions/7.1.12/pear:/home/scrutinizer/.phpenv/versions/7.1.12/share/pyrus/.pear/php') in [/home/scrutinizer/build/lib/Cake/TestSuite/CakeTestSuiteDispatcher.php, line 162]
2018-01-19 07:45:23 Warning: include(): Failed opening 'PHPUnit/Autoload.php' for inclusion (include_path='/home/scrutinizer/build:/home/scrutinizer/build/lib:.:/home/scrutinizer/.phpenv/versions/7.1.12/pear:/home/scrutinizer/.phpenv/versions/7.1.12/share/pyrus/.pear/php') in [/home/scrutinizer/build/lib/Cake/TestSuite/CakeTestSuiteDispatcher.php, line 162]
Error: Please install PHPUnit framework v3.7 (http://www.phpunit.de) #0 /home/scrutinizer/build/lib/Cake/Console/ShellDispatcher.php(218):