Local Gitlab Runner Fails

I have a very simple gitlab-ci.yml

I try the job locally, with a docker executor.
However I get this error:
# gitlab-runner exec docker quality-test

$ ./vendor/bin/phpstan analyse -l 4 index includes
Path /builds/project-0/index does not exist
ERROR: Job failed: exit code 1

My gitlab-ci.yml file is

image: php7.4:latest

stages:
  - build
  - test
  - quality
  - staging
  - production

cache:
  key: ${CI_COMMIT_REF_SLUG}
  paths:
    - vendor/ 
before_script:   
  - apt-get update -yqq    
  - composer install  
test-job1:
  stage: test
  script:    
    - ./vendor/bin/phpunit --colors=never --coverage-text

quality-test:
  stage: quality
  script:
    - ./vendor/bin/phpstan analyse -l 4 index includes

Do you have “index” in your GIT project root? Because the error message is suggesting you don’t.

Thank you. Many times I dont’see the obvious!