Project

General

Profile

Bug #81118

Updated by Anja Leichsenring about 7 years ago

when setting up a project composer based with 

 <pre> 
 composer create-project typo3/cms cms ^8.7 -n 
 </pre> 

 the command failes with  
 <pre> 
 ... 
 Generating autoload files 


   [RuntimeException] 
   Could not scan for classes inside "typo3/sysext/extbase/Tests/Unit/Object/Container/Fixtures/" which does not appear to 
   be a file nor a folder 
 </pre> 

 This happens for the classmap entry in sysext:extbase/composer.jons line 41, that tries to load Test classes into autoload-dev autoloading. But thanks to Testclasses being excluded from the operation (git (composer attributes I guess) the folder does not exist and the command fails. 

 One can work around that by adding --prefer-source to the create-project command, but that slows down the whole process a lot and ends up with all test classes in place.

Back