1. Go to this page and download the library: Download loadsys/loadsys_codesniffer 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/ */
loadsys / loadsys_codesniffer example snippets
$var = new \DateTime(); // invalid
$var = new \Vendor\Lib(); // invalid
$var = new Local\SubClass(); // invalid
//---
use \DateTime
$var = new DateTime(); // valid
//~Standard.Section.Sniff.Rule,Second.Rule.To.Expect
$a = [1 , 2]; // Error: Space before comma.