Skip to content

Commit

Permalink
Merge pull request #127 from gsteel/lcs-3
Browse files Browse the repository at this point in the history
Upgrade Laminas Coding Standard to ~3.0
  • Loading branch information
gsteel authored Nov 13, 2024
2 parents 1f12a99 + adbb376 commit a162bd5
Show file tree
Hide file tree
Showing 7 changed files with 134 additions and 77 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"webmozart/assert": "^1.11"
},
"require-dev": {
"laminas/laminas-coding-standard": "~2.5.0",
"laminas/laminas-coding-standard": "~3.0",
"laminas/laminas-eventmanager": "^3.13.1",
"laminas/laminas-modulemanager": "^2.16.0",
"laminas/laminas-serializer": "^2.17.0",
Expand Down
202 changes: 133 additions & 69 deletions composer.lock

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion test/Filter/FilterCompositeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ public function testNoFilters(): void
}

/**
* @param array $values
* @return list<FilterInterface>
*/
private static function buildFilters(array $values): array
Expand Down
3 changes: 0 additions & 3 deletions test/TestAsset/AggregateObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ public function getArrayCopy()
return $this->arrayData;
}

/**
* @param array $data
*/
public function exchangeArray(array $data): void
{
$this->arrayData = $data;
Expand Down
1 change: 0 additions & 1 deletion test/TestAsset/ArraySerializable.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public function __construct()
/**
* Exchange internal values from provided array
*
* @param array $array
* @return void
*/
public function exchangeArray(array $array)
Expand Down
1 change: 0 additions & 1 deletion test/TestAsset/HydratorStrategyEntityA.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public function setEntities($entities): void
/**
* Add the getArrayCopy method so we can test the ArraySerializable hydrator:
*
* @return array
* @psalm-return array<string, mixed>
*/
public function getArrayCopy(): array
Expand Down
1 change: 0 additions & 1 deletion test/TestAsset/SimpleEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ public function getValue()
/**
* Exchange internal values from provided array
*
* @param array $array
* @return void
*/
public function exchangeArray(array $array)
Expand Down

0 comments on commit a162bd5

Please sign in to comment.