PHP code example of serendipity_hq / phpcs-config
1. Go to this page and download the library: Download serendipity_hq/phpcs-config 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/ */
serendipity_hq / phpcs-config example snippets
// WARNING: This variable is fundamental as the rules array sets the `header_comment` rule and expects the variable exists.
$header = <<<EOF
This file is part of the Serendipity HQ PHP CS Fixer Config.
Copyright (c) Adamo Aerendir Crespi <[email protected]>.
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
EOF;
$rules =