Skip to content

Commit

Permalink
Merge 50199a0 into 8a6a8dd
Browse files Browse the repository at this point in the history
  • Loading branch information
simPod committed Mar 16, 2021
2 parents 8a6a8dd + 50199a0 commit 7e5f5d9
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 11 deletions.
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@
"nyholm/psr7": "^1.2",
"php-http/curl-client": "^2.1",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "0.12.40",
"phpstan/phpstan-phpunit": "0.12.16",
"phpstan/phpstan-strict-rules": "0.12.4",
"phpstan/phpstan": "0.12.81",
"phpstan/phpstan-phpunit": "0.12.18",
"phpstan/phpstan-strict-rules": "0.12.9",
"phpunit/phpunit": "^9.4",
"psalm/plugin-phpunit": "^0.13.0",
"psalm/plugin-phpunit": "0.15.1",
"roave/infection-static-analysis-plugin": "^1.6",
"simpod/php-coveralls-mirror": "^3.0",
"thecodingmachine/phpstan-safe-rule": "^1.0",
"vimeo/psalm": "^4.1"
"vimeo/psalm": "4.6.3"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.3.1@2feba22a005a18bf31d4c7b9bdb9252c73897476">
<files psalm-version="4.6.3@f1a840727dd756899eee2f1f9ea443e265a4763f">
<file src="src/Sql/SqlFactory.php">
<InvalidReturnStatement occurrences="1">
<code>$query</code>
Expand Down
17 changes: 13 additions & 4 deletions psalm.xml.dist
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
<?xml version="1.0"?>
<psalm
totallyTyped="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
ensureArrayStringOffsetsExist="true"
errorBaseline="psalm-baseline.xml"
errorLevel="1"
findUnusedPsalmSuppress="true"
findUnusedVariablesAndParams="true"
ignoreInternalFunctionFalseReturn="false"
ignoreInternalFunctionNullReturn="false"
strictBinaryOperands="true"
>
<projectFiles>
<directory name="src"/>
<directory name="src" />
<ignoreFiles>
<directory name="vendor"/>
<directory name="vendor" />
</ignoreFiles>
</projectFiles>
<plugins><pluginClass class="Psalm\PhpUnitPlugin\Plugin"/></plugins></psalm>
<plugins>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin" />
</plugins>
</psalm>
2 changes: 1 addition & 1 deletion src/Client/PsrClickHouseClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function (array $map) : string {

$table = Escaper::quoteIdentifier($table);

$response = $this->executeRequest(
$this->executeRequest(
<<<CLICKHOUSE
INSERT INTO $table
$columnsSql
Expand Down

0 comments on commit 7e5f5d9

Please sign in to comment.