1. Go to this page and download the library: Download eventjet/coding-standard 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/ */
eventjet / coding-standard example snippets
declare(strict_types=1);
use Eventjet\CodingStandard\PhpCsFixer\Config;
return Config::basic();
declare(strict_types=1);
use Eventjet\CodingStandard\PhpCsFixer\Config;
use PhpCsFixer\Finder;
$finder = Finder::create()->in(['features', 'module', 'tests'])->exclude('tests/fixtures');
return Config::basic($finder);
declare(strict_types=1);
use Eventjet\CodingStandard\PhpCsFixer\Config;
return Config::strict();
/**
* @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint
* @param int $bar
*/
public function foo($bar = 0): int
{
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.