Skip to content

Commit

Permalink
Fix pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
BolZer committed Sep 25, 2024
1 parent 553b9db commit 269f6c3
Show file tree
Hide file tree
Showing 4 changed files with 358 additions and 922 deletions.
11 changes: 5 additions & 6 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,20 @@
'yoda_style' => false,
'ordered_class_elements' => false,
'ordered_imports' => false,
//'method_argument_space' => null,
//'no_whitespace_in_blank_line' => null,
//'no_extra_blank_lines' => null,
//'braces' => null,
'blank_line_before_statement' => false,
'phpdoc_align' => ['align' => 'left'],
'phpdoc_var_without_name' => false,
'phpdoc_types_order' => false,
'phpdoc_order' => false,
'phpdoc_separation' => false,
//'no_superfluous_elseif' => null,
'class_definition' => false,
'ternary_to_null_coalescing' => true,
'php_unit_test_class_requires_covers' => false,
'php_unit_internal_class' => false,
'no_unused_imports' => true,
'nullable_type_declaration_for_default_null_value' => false,
'fully_qualified_strict_types' => false,
'single_line_empty_body' => false,
'no_superfluous_phpdoc_tags' => false,
'phpdoc_trim' => false,
])
->setFinder($finder);
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ test83:
docker run --rm -v $(current_dir):/app -w /app php:8.3 vendor/bin/phpunit

cs-fix:
./vendor/bin/php-cs-fixer fix --config .php-cs-fixer.dist.php

cs-fix-debug:
./vendor/bin/php-cs-fixer fix --verbose --dry-run --config .php-cs-fixer.dist.php
PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --config .php-cs-fixer.dist.php

phpstan:
./vendor/bin/phpstan analyse
Expand All @@ -29,4 +26,4 @@ rector:
./vendor/bin/rector process

rector-dry-run:
./vendor/bin/rector process --dry-run
./vendor/bin/rector process --dry-run
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
"require-dev": {
"phpunit/phpunit": "^9.3",
"ext-libxml": "*",
"friendsofphp/php-cs-fixer": "^3.64",
"friendsofphp/php-cs-fixer": "^3.16",
"phpstan/phpstan": "^1.10",
"rector/rector": "^1.0",
"symfony/finder": "^6.4"
"symfony/finder": "^5.4"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 269f6c3

Please sign in to comment.