Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phpstan is usefull for check syntax and errors in php without run unit test.

Reference: https://phpstan.org/user-guide/getting-started

install:

composer require --dev phpstan/phpstan

run to check:

vendor/bin/phpstan analyse .\buggy-code.php

with level "-l 6"

vendor/bin/phpstan analyse -l 6 .\buggy-code.php

export errors:

vendor/bin/phpstan analyse -l 6 .\buggy-code.php --generate-baseline

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages