krz/vox-populi
A Tumblr web client.
clone: git clone https://gitbay.org/krz/vox-populi.git
main: vendor/guzzlehttp/guzzle/.php_cs · raw
1<?php
2
3$config = PhpCsFixer\Config::create()
4 ->setRiskyAllowed(true)
5 ->setRules([
6 '@PSR2' => true,
7 'array_syntax' => ['syntax' => 'short'],
8 'declare_strict_types' => false,
9 'concat_space' => ['spacing'=>'one'],
10 'php_unit_test_case_static_method_calls' => ['call_type' => 'self'],
11 'ordered_imports' => true,
12 // 'phpdoc_align' => ['align'=>'vertical'],
13 // 'native_function_invocation' => true,
14 ])
15 ->setFinder(
16 PhpCsFixer\Finder::create()
17 ->in(__DIR__.'/src')
18 ->in(__DIR__.'/tests')
19 ->name('*.php')
20 )
21;
22
23return $config;