selenium-tor/.php_cs

20 lines
541 B
Plaintext
Raw Permalink Normal View History

2016-12-20 14:32:00 -08:00
<?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,
2016-12-22 12:24:54 -08:00
'array_syntax' => array('syntax' => 'long'),
2016-12-20 14:32:00 -08:00
'header_comment' => [
'header' => $header
],
])
->setFinder($finder);