1
0
mirror of https://github.com/halaxa/json-machine.git synced 2025-01-17 21:18:23 +01:00
json-machine/.php-cs-fixer.dist.php

21 lines
464 B
PHP
Raw Normal View History

2021-11-23 12:42:13 +01:00
<?php
$finder = PhpCsFixer\Finder::create()
->in(__DIR__)
2022-01-08 15:07:15 +01:00
->exclude('ext')
2021-11-23 12:42:13 +01:00
;
$config = new PhpCsFixer\Config();
return $config->setRules([
'@Symfony' => true,
'not_operator_with_space' => true,
'yoda_style' => false,
'single_line_throw' => false,
'unary_operator_spaces' => false,
2021-11-23 12:42:13 +01:00
'visibility_required' => false,
2022-02-03 21:41:58 +01:00
'php_unit_test_class_requires_covers' => true,
2022-02-03 21:56:47 +01:00
'declare_strict_types' => true,
2021-11-23 12:42:13 +01:00
])
->setFinder($finder)
;