Skip to content

Commit

Permalink
Update dependencies, migrate to pest v3
Browse files Browse the repository at this point in the history
  • Loading branch information
mbolli committed Nov 18, 2024
1 parent 0af3e35 commit 4b60194
Show file tree
Hide file tree
Showing 4 changed files with 2,179 additions and 992 deletions.
15 changes: 12 additions & 3 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,25 @@
->setRules([
'@PhpCsFixer' => true,
'@PhpCsFixer:risky' => true,
'@PHP80Migration:risky' => true,
'@PHP80Migration:risky' => true,
'@PHP84Migration' => true,
'@PSR12' => true,
'@PSR12:risky' => true,
'@Symfony' => true,
'@Symfony:risky' => true,
'braces' => ['allow_single_line_closure' => true, 'position_after_functions_and_oop_constructs' => 'same'],
'@Symfony:risky' => true,
'braces_position' => ['classes_opening_brace' => 'same_line', 'functions_opening_brace' => 'same_line'],
'concat_space' => ['spacing' => 'one'],
'control_structure_continuation_position' => ['position' => 'same_line'],
'declare_strict_types' => false,
'final_internal_class' => false,
'mb_str_functions' => true,
'nullable_type_declaration_for_default_null_value' => true,
'operator_linebreak' => true,
'phpdoc_to_comment' => ['allow_before_return_statement' => true, 'ignored_tags' => ['var', 'phpstan-ignore', 'phpstan-ignore-next-line', 'psalm-suppress']],
'phpdoc_align' => false,
'single_line_empty_body' => true,
'static_lambda' => false,
'string_implicit_backslashes' => ['double_quoted' => 'escape', 'single_quoted' => 'ignore', 'heredoc' => 'escape'],
'yoda_style' => ['equal' => false, 'identical' => false, 'less_and_greater' => false],
])
->setFinder(PhpCsFixer\Finder::create()
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
}
],
"require": {
"google/protobuf": "^3.19",
"php": "^8.0",
"ext-json": "*",
"php": "^8.0"
"google/protobuf": "^v4"
},
"autoload": {
"psr-4": {
Expand All @@ -23,8 +23,8 @@
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.2",
"pestphp/pest": "^1.20",
"phpstan/phpstan": "^1.9"
"pestphp/pest": "^v3",
"phpstan/phpstan": "^2.0"
},
"scripts": {
"lint": "@fix --dry-run",
Expand Down
Loading

0 comments on commit 4b60194

Please sign in to comment.