Skip to content

Commit 82ad8f1

Browse files
committed
Update composer deps
1 parent 188c0e0 commit 82ad8f1

File tree

4 files changed

+228
-173
lines changed

4 files changed

+228
-173
lines changed

.php_cs.dist

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ return PhpCsFixer\Config::create()
1818
'binary_operator_spaces' => true,
1919
'blank_line_after_namespace' => true,
2020
'blank_line_after_opening_tag' => true,
21-
'blank_line_before_return' => true,
2221
'blank_line_before_statement' => true,
2322
'braces' => true,
2423
'cast_spaces' => true,
2524
'class_definition' => true,
2625
'class_keyword_remove' => false, // ::class keyword gives us beter support in IDE
2726
'combine_consecutive_issets' => true,
2827
'combine_consecutive_unsets' => true,
28+
'compact_nullable_typehint' => true,
2929
'concat_space' => ['spacing' => 'one'],
3030
'declare_equal_normalize' => true,
3131
'declare_strict_types' => true,
@@ -46,6 +46,7 @@ return PhpCsFixer\Config::create()
4646
'header_comment' => false, // We don't use common header in all our files
4747
'heredoc_to_nowdoc' => false, // Not sure about this one
4848
'include' => true,
49+
'increment_style' => true,
4950
'indentation_type' => true,
5051
'is_null' => ['use_yoda_style' => false],
5152
'linebreak_after_opening_tag' => true,
@@ -130,11 +131,14 @@ return PhpCsFixer\Config::create()
130131
'phpdoc_var_without_name' => true,
131132
'php_unit_construct' => true,
132133
'php_unit_dedicate_assert' => true,
134+
'php_unit_expectation' => true,
135+
'php_unit_mock' => true,
136+
'php_unit_namespaced' => true,
137+
'php_unit_no_expectation_annotation' => true,
133138
'php_unit_fqcn_annotation' => true,
134139
'php_unit_strict' => false, // We sometime actually need assertEquals
135140
'php_unit_test_class_requires_covers' => false, // We don't care as much as we should about coverage
136141
'pow_to_exponentiation' => true,
137-
'pre_increment' => true,
138142
'protected_to_private' => true,
139143
'psr0' => true,
140144
'psr4' => true,

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"webonyx/graphql-php": "^0.10.1"
2828
},
2929
"require-dev": {
30-
"phpunit/phpunit": "^6.2",
30+
"phpunit/phpunit": "^6.4",
3131
"friendsofphp/php-cs-fixer": "^2.4"
3232
},
3333
"license": "MIT"

0 commit comments

Comments
 (0)