PHP code example of lynxsolutions / php-static-analysis

1. Go to this page and download the library: Download lynxsolutions/php-static-analysis library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

lynxsolutions / php-static-analysis example snippets

shell
composer 
xml
<rule ref="vendor/lynxsolutions/php-static-analysis/phpmd/phpmd.xml"/>
neon
 - vendor/lynxsolutions/php-static-analysis/phpstan/phpstan.neon
neon
 - vendor/lynxsolutions/php-static-analysis/phpstan/laravel.neon
neon
 - vendor/lynxsolutions/php-static-analysis/phpstan/laravel.neon

parameters:
    paths:
        - app
        - bootstrap
        - config
        - database
        - routes
        - tests