TLDR
Enter a command. For example: docker system, git subtree.

phpstan

 
A PHP static analysis tool to discover bugs in code. More information: https://github.com/phpstan/phpstan.
 
  • Display available options for analysis:
     
    phpstan analyse --help
     
  • Analyze the specified space-separated directories:
     
    phpstan analyse {{path/to/directory}}
     
  • Analyze a directory using a configuration file:
     
    phpstan analyse {{path/to/directory}} --configuration {{path/to/config}}
     
  • Analyze using a specific rule level (0-7, higher is stricter):
     
    phpstan analyse {{path/to/directory}} --level {{level}}
     
  • Specify an autoload file to load before analyzing:
     
    phpstan analyse {{path/to/directory}} --autoload-file {{path/to/autoload_file}}
     
  • Specify a memory limit during analysis:
     
    phpstan analyse {{path/to/directory}} --memory-limit {{memory_limit}}

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.