Skip to content

Commit

Permalink
Fix: Run 'make coding-standards'
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Jan 7, 2024
1 parent ec83652 commit 33f6323
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
__DIR__ . '/LICENSE.md',
License\Range::since(
License\Year::fromString('2023'),
new \DateTimeZone('UTC'),
new DateTimeZone('UTC'),
),
License\Holder::fromString('Andreas Möller'),
License\Url::fromString('https://github.com/ergebnis/data-generator'),
Expand Down
15 changes: 15 additions & 0 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.18.0@b113f3ed0259fd6e212d87c3df80eec95a6abf19">
<file src="src/OptionalValueGenerator.php">
<PropertyTypeCoercion>
<code>$values</code>
</PropertyTypeCoercion>
</file>
<file src="src/SequentialValueGenerator.php">
<PropertyTypeCoercion>
<code>$generators</code>
</PropertyTypeCoercion>
</file>
<file src="src/ValueGenerator.php">
<PropertyTypeCoercion>
<code>$values</code>
</PropertyTypeCoercion>
</file>
<file src="test/Unit/ConcatenatingValueGeneratorTest.php">
<MixedArgument>
<code>$values</code>
Expand Down
2 changes: 1 addition & 1 deletion src/OptionalValueGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
final class OptionalValueGenerator implements StringGenerator
{
/**
* @var array<string>
* @var list<string>
*/
private readonly array $values;

Expand Down
2 changes: 1 addition & 1 deletion src/SequentialValueGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
final class SequentialValueGenerator implements StringGenerator
{
/**
* @var array<StringGenerator>
* @var list<StringGenerator>
*/
private readonly array $generators;

Expand Down
2 changes: 1 addition & 1 deletion src/ValueGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
final class ValueGenerator implements StringGenerator
{
/**
* @var array<string>
* @var list<string>
*/
private readonly array $values;

Expand Down

0 comments on commit 33f6323

Please sign in to comment.