Fix composer autoload
Use const for patterns