Skip to content

Commit

Permalink
Upgrade phpstan and psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
simPod committed Nov 6, 2020
1 parent 4b8386c commit a3c385b
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 45 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@
"require-dev": {
"doctrine/coding-standard": "^8.1",
"jetbrains/phpstorm-stubs": "^2019.1",
"phpstan/phpstan": "^0.12.40",
"phpstan/phpstan-phpunit": "^0.12",
"phpstan/phpstan-strict-rules": "^0.12.2",
"phpstan/phpstan": "^0.12.54",
"phpstan/phpstan-phpunit": "^0.12.16",
"phpstan/phpstan-strict-rules": "^0.12.5",
"phpunit/phpunit": "^9.4",
"psalm/plugin-phpunit": "^0.10.0",
"psalm/plugin-phpunit": "^0.12.0",
"symfony/console": "^2.0.5|^3.0|^4.0|^5.0",
"vimeo/psalm": "^3.17.2"
},
Expand Down
97 changes: 57 additions & 40 deletions composer.lock

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

3 changes: 2 additions & 1 deletion tests/Functional/Connection/FetchTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ public function testIterateKeyValueOneColumn(): void
->getDummySelectSQL();

$this->expectException(NoKeyValue::class);
iterator_to_array($this->connection->iterateKeyValue($sql));
foreach ($this->connection->iterateKeyValue($sql) as $_) {
}
}

public function testIterateAssociativeIndexed(): void
Expand Down

0 comments on commit a3c385b

Please sign in to comment.