Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

composer(deps-dev): bump vimeo/psalm from 4.6.4 to 4.7.0 #475

Merged
merged 3 commits into from
Apr 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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