1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 17:59:55 +02:00
Oinktube/vendor/norkunas/onesignal-php-api/.php-cs-fixer.dist.php
2021-11-08 13:53:37 -03:00

31 lines
908 B
PHP

<?php
$finder = (new PhpCsFixer\Finder())
->in([
__DIR__.'/src',
__DIR__.'/tests',
]);
return (new PhpCsFixer\Config())
->setRiskyAllowed(true)
->setRules([
'@Symfony' => true,
'@PHP70Migration' => true,
'@PHP70Migration:risky' => true,
'@PHP71Migration:risky' => true,
'@PHP73Migration' => true,
'linebreak_after_opening_tag' => true,
'global_namespace_import' => [
'import_classes' => true,
'import_constants' => true,
'import_functions' => true,
],
'ordered_imports' => [
'imports_order' => ['class', 'const', 'function'],
],
'yoda_style' => false,
'static_lambda' => true,
'align_multiline_comment' => true,
'php_unit_test_case_static_method_calls' => ['call_type' => 'self'],
])
->setFinder($finder);