Skip to content

Commit

Permalink
Update all non-major dependencies (#106)
Browse files Browse the repository at this point in the history
* Update all non-major dependencies

| datasource | package                 | from    | to      |
| ---------- | ----------------------- | ------- | ------- |
| packagist  | phpstan/phpstan         | 1.10.59 | 1.10.62 |
| packagist  | phpstan/phpstan-symfony | 1.3.8   | 1.3.9   |
| packagist  | phpunit/phpunit         | 10.5.11 | 10.5.13 |
| packagist  | psalm/plugin-phpunit    | 0.18.4  | 0.19.0  |
| packagist  | vimeo/psalm             | 5.22.2  | 5.23.1  |

* Fixed CS

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dragos Protung <dragos@protung.de>
  • Loading branch information
renovate[bot] and dragosprotung committed Mar 18, 2024
1 parent bd0351b commit 9be9dc0
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,20 @@
"doctrine/coding-standard": "^12.0.0",
"ergebnis/composer-normalize": "^2.42.0",
"php-standard-library/psalm-plugin": "^2.3.0",
"phpstan/phpstan": "^1.10.59",
"phpstan/phpstan": "^1.10.62",
"phpstan/phpstan-deprecation-rules": "^1.1.4",
"phpstan/phpstan-phpunit": "^1.3.16",
"phpstan/phpstan-strict-rules": "^1.5.2",
"phpstan/phpstan-symfony": "^1.3.8",
"phpstan/phpstan-symfony": "^1.3.9",
"phpstan/phpstan-webmozart-assert": "^1.2.4",
"phpunit/phpunit": "^10.5.11",
"psalm/plugin-phpunit": "^0.18.4",
"phpunit/phpunit": "^10.5.13",
"psalm/plugin-phpunit": "^0.19.0",
"roave/security-advisories": "dev-master",
"symfony/config": "^6.4 || ^7.0",
"symfony/options-resolver": "^6.4 || ^7.0",
"symfony/var-dumper": "^6.4 || ^7.0",
"thecodingmachine/phpstan-strict-rules": "^1.0.0",
"vimeo/psalm": "^5.22.2"
"vimeo/psalm": "^5.23.1"
},
"conflict": {},
"prefer-stable": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function supports(FormInterface $form): bool

return Psl\Iter\any(
$this->supportedFormTypes,
static fn (string $supportedFormType): bool => $resolvedFormType->getInnerType() instanceof $supportedFormType
static fn (string $supportedFormType): bool => $resolvedFormType->getInnerType() instanceof $supportedFormType,
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private function getConstraintsForClassProperty(FormInterface $form): array
if ($parentMetadata->hasPropertyMetadata($propertyName)) {
return Psl\Vec\flat_map(
$parentMetadata->getPropertyMetadata($propertyName),
static fn (PropertyMetadataInterface $propertyMetadata) => $propertyMetadata->getConstraints()
static fn (PropertyMetadataInterface $propertyMetadata) => $propertyMetadata->getConstraints(),
);
}

Expand Down
4 changes: 2 additions & 2 deletions src/Describer/IOFieldDescriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ private function extractRequiredFields(IOField ...$fields): array
return Psl\Vec\map(
Psl\Vec\filter(
$fields,
static fn (IOField $child): bool => $child->isRequired()
static fn (IOField $child): bool => $child->isRequired(),
),
static fn (IOField $child): string => $child->name()
static fn (IOField $child): string => $child->name(),
);
}
}
2 changes: 1 addition & 1 deletion src/Describer/InputDescriber/FormInputDescriber/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ private function processParametersFromForm(FormInterface $form, NameResolver $na

return Psl\Vec\flat_map(
$form->all(),
fn (FormInterface $child) => $this->processParametersFromForm($child, $nameResolver)
fn (FormInterface $child) => $this->processParametersFromForm($child, $nameResolver),
);
}

Expand Down
2 changes: 1 addition & 1 deletion src/Describer/ObjectDescriber/JMSModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function (PropertyMetadata $metadataProperty): bool {
$metadataProperty,
$objectDescriber,
$serializationGroups,
)
),
);

if (count($propertiesSchemas) > 1) {
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Security/Reference.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static function fromReferences(array $references): self
return new self(
Vec\map(
$references,
static fn (string $value): array => [$value => []]
static fn (string $value): array => [$value => []],
),
);
}
Expand Down

0 comments on commit 9be9dc0

Please sign in to comment.