github.com/ddev/ddev@v1.23.2-0.20240519125000-d824ffe36ff3/pkg/ddevapp/global_dotddev_assets/commands/web/pint (about)

     1  #!/bin/bash
     2  
     3  #ddev-generated
     4  ## Description: Run Pint inside the web container
     5  ## Usage: pint [flags] [args]
     6  ## Example: "ddev pint --dirty" for fixing your current changes lint errors or "ddev pint --test app/Models" for only analyzing your models without autofix. 
     7  ## ProjectTypes: laravel
     8  
     9  if ! command -v pint >/dev/null; then
    10    echo "pint is not available. You may need to 'ddev composer require laravel/pint'"
    11    exit 1
    12  fi
    13  
    14  pint "$@"
    15