Issue #3390073 by catch, fjgarlin: Use 'needs' instead of 'dependencies' to speed up gitlab CI jobs and run phpstan first