Incorrect path in services.yaml
path is: exclude: '../../src/AppBundle/{Entity,Repository}'
should be: exclude: '../../{Entity,Repository}'
path is: exclude: '../../src/AppBundle/{Entity,Repository}'
should be: exclude: '../../{Entity,Repository}'