! Published.
All checks were successful
Build the "latest" docker image / build_docker_image (push) Successful in 26s
Build docker image / build_docker_image (push) Successful in 28s

This commit is contained in:
2025-05-03 11:09:41 +02:00
commit 19dea8f983
82 changed files with 14408 additions and 0 deletions

33
src/.php-cs-fixer.php Normal file
View File

@@ -0,0 +1,33 @@
<?php
return (new PhpCsFixer\Config())
->setRules([
'@PER-CS' => true,
'@PHP82Migration' => true,
'new_with_parentheses' => [
'anonymous_class' => false,
],
'braces_position' => [
'anonymous_classes_opening_brace' => 'next_line_unless_newline_at_signature_end',
],
'function_declaration' => [
'closure_fn_spacing' => 'one',
'closure_function_spacing' => 'one',
],
'single_trait_insert_per_statement' => false,
'no_blank_lines_after_class_opening' => false,
])
->setFinder((new PhpCsFixer\Finder())
->in(__DIR__)
->exclude([
'Bootstrap', // skip original package files
'Core', // skip original package files
'Storage/Smarty', // skip temporary files
])
->notPath([
'BotDev.php', // skip original package files
'Client/ClientMessages.php', // fixer don't understand template, would messing up sapcing
])
)
;