1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-06 03:50:04 +02:00
Oinktube/vendor/norkunas/onesignal-php-api/.php-cs-fixer.dist.php
2022-05-25 00:53:54 +08: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);