Skip to content

Commit

Permalink
Merge pull request #475 from ergebnis/dependabot/composer/vimeo/psalm…
Browse files Browse the repository at this point in the history
…-4.7.0

composer(deps-dev): bump vimeo/psalm from 4.6.4 to 4.7.0
  • Loading branch information
localheinz committed Apr 20, 2021
2 parents fa7f351 + 04a7574 commit ecedc74
Show file tree
Hide file tree
Showing 9 changed files with 63 additions and 55 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on: # yamllint disable-line rule:truthy
- "main"

env:
MIN_COVERED_MSI: 92
MIN_COVERED_MSI: 90
MIN_MSI: 90
PHP_EXTENSIONS: "mbstring"

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MIN_COVERED_MSI:=92
MIN_COVERED_MSI:=90
MIN_MSI:=90

.PHONY: it
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"phpstan/phpstan-strict-rules": "~0.12.9",
"phpunit/phpunit": "^8.5.15",
"psalm/plugin-phpunit": "~0.15.1",
"vimeo/psalm": "^4.6.4"
"vimeo/psalm": "^4.7.0"
},
"config": {
"platform": {
Expand Down
102 changes: 55 additions & 47 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/ChainNormalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ final class ChainNormalizer implements NormalizerInterface

public function __construct(NormalizerInterface ...$normalizers)
{
$this->normalizers = $normalizers;
$this->normalizers = \array_values($normalizers);
}

public function normalize(Json $json): Json
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/InvalidIndentStyleException.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static function fromStyleAndAllowedStyles(string $style, string ...$allow
));

$exception->style = $style;
$exception->allowedStyles = $allowedStyles;
$exception->allowedStyles = \array_values($allowedStyles);

return $exception;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static function fromSchemaUriAndErrors(string $schemaUri, string ...$erro
));

$exception->schemaUri = $schemaUri;
$exception->errors = $errors;
$exception->errors = \array_values($errors);

return $exception;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static function fromSchemaUriAndErrors(string $schemaUri, string ...$erro
));

$exception->schemaUri = $schemaUri;
$exception->errors = $errors;
$exception->errors = \array_values($errors);

return $exception;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Validator/Result.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ final class Result

private function __construct(string ...$errors)
{
$this->errors = $errors;
$this->errors = \array_values($errors);
}

public static function create(string ...$errors): self
Expand Down

0 comments on commit ecedc74

Please sign in to comment.