Skip to content

Commit

Permalink
DevKit updates for 1.x branch (#383)
Browse files Browse the repository at this point in the history
* DevKit updates

* Fix cs

Co-authored-by: Vincent Langlet <vincentlanglet@hotmail.fr>
  • Loading branch information
SonataCI and VincentLanglet committed Aug 20, 2022
1 parent 86745a3 commit 745425c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .php-cs-fixer.dist.php
Expand Up @@ -47,7 +47,7 @@
'ordered_imports' => ['sort_algorithm' => 'alpha', 'imports_order' => ['class', 'function', 'const']],
'php_unit_strict' => true,
'php_unit_test_case_static_method_calls' => true,
'phpdoc_to_comment' => ['ignored_tags' => ['psalm-suppress']],
'phpdoc_to_comment' => ['ignored_tags' => ['psalm-suppress', 'phpstan-var']],
'single_line_throw' => false,
'static_lambda' => true,
'strict_comparison' => true,
Expand Down
4 changes: 2 additions & 2 deletions src/Validator/ErrorElement.php
Expand Up @@ -266,9 +266,9 @@ private function getValue()
/**
* @param array<string, mixed> $options
*
* @throws \RuntimeException
*
* @return Constraint
*
* @throws \RuntimeException
*/
private function newConstraint(string $name, array $options = [])
{
Expand Down

0 comments on commit 745425c

Please sign in to comment.