Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Laravel static Code Review tool nunomaduro/larastan

Shulou Source: shulou.com Published: 2022-06-03 06:34:28 09月23日 Update

Nunomaduro/larastan

The tool can detect code problems except business accidents, including detection syntax and comments. The testing directory and strict level can be specified flexibly and conveniently.

Click to access the github address

Environmental requirements:

PHP 7.1.3+laravel 5.6 +

Installation:

Composer require-dev nunomaduro/larastan

Use:

Php artisan code:analyse-- paths= ". / app"

Tags: Detection code tools accident business address comment environment directory level syntax problem static Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Shulou Information Redmi macOS NVidia