selenium-tor/.php_cs

20 lines
541 B
PHP

<?php
$header = <<<'EOF'
This file is part of Selenium Tor Driver.
(c) R. Eric Wheeler <eric@rewiv.com>
This source file is subject to the MIT license that is bundled
with this source code in the file LICENSE.
EOF;
$finder = PhpCsFixer\Finder::create()
->in([__DIR__ . '/src', __DIR__ . '/Tests']);
return PhpCsFixer\Config::create()
->setRules([
'@PSR2' => true,
'array_syntax' => array('syntax' => 'long'),
'header_comment' => [
'header' => $header
],
])
->setFinder($finder);