#!/usr/bin/env php * @author Juliette Reinders Folmer * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ // Check if the PHP version and extensions comply with the minimum requirements before anything else. require_once dirname(__DIR__) . '/requirements.php'; PHP_CodeSniffer\checkRequirements(); require_once dirname(__DIR__) . '/autoload.php'; $runner = new PHP_CodeSniffer\Runner(); $exitCode = $runner->runPHPCBF(); exit($exitCode);