forked from doctrine/dbal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
938 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
name: "Continuous Integration" | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
static-analysis-psalm: | ||
name: Static Analysis with Psalm | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Psalm | ||
uses: docker://vimeo/psalm-github-actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,216 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<files psalm-version="3.11.2@d470903722cfcbc1cd04744c5491d3e6d13ec3d9"> | ||
<file src="lib/Doctrine/DBAL/Driver/Connection.php"> | ||
<InvalidParamDefault occurrences="1"> | ||
<code>int</code> | ||
</InvalidParamDefault> | ||
</file> | ||
<file src="lib/Doctrine/DBAL/Driver/DriverException.php"> | ||
<MissingImmutableAnnotation occurrences="1"> | ||
<code>public function getMessage();</code> | ||
</MissingImmutableAnnotation> | ||
</file> | ||
<file src="lib/Doctrine/DBAL/Driver/PDOSqlsrv/Statement.php"> | ||
<UndefinedConstant occurrences="1"> | ||
<code>PDO::SQLSRV_ENCODING_BINARY</code> | ||
</UndefinedConstant> | ||
</file> | ||
<file src="lib/Doctrine/DBAL/Driver/SQLAnywhere/SQLAnywhereConnection.php"> | ||
<UndefinedFunction occurrences="14"> | ||
<code>sasql_pconnect($dsn)</code> | ||
<code>sasql_connect($dsn)</code> | ||
<code>sasql_set_option($this->connection, 'verbose_errors', false)</code> | ||
<code>sasql_set_option($this->connection, 'auto_commit', 'on')</code> | ||
<code>sasql_set_option($this->connection, 'auto_commit', 'off')</code> | ||
<code>sasql_commit($this->connection)</code> | ||
<code>sasql_errorcode($this->connection)</code> | ||
<code>sasql_error($this->connection)</code> | ||
<code>sasql_real_query($this->connection, $statement)</code> | ||
<code>sasql_affected_rows($this->connection)</code> | ||
<code>sasql_insert_id($this->connection)</code> | ||
<code>sasql_escape_string($this->connection, $input)</code> | ||
<code>sasql_rollback($this->connection)</code> | ||
<code>sasql_set_option($this->connection, 'auto_commit', 'on')</code> | ||
</UndefinedFunction> | ||
</file> | ||
<file src="lib/Doctrine/DBAL/Driver/SQLAnywhere/SQLAnywhereException.php"> | ||
<UndefinedFunction occurrences="8"> | ||
<code>sasql_sqlstate($conn)</code> | ||
<code>sasql_sqlstate()</code> | ||
<code>sasql_stmt_errno($stmt)</code> | ||
<code>sasql_stmt_error($stmt)</code> | ||
<code>sasql_errorcode($conn)</code> | ||
<code>sasql_error($conn)</code> | ||
<code>sasql_errorcode()</code> | ||
<code>sasql_error()</code> | ||
</UndefinedFunction> | ||
</file> | ||
<file src="lib/Doctrine/DBAL/Driver/SQLAnywhere/SQLAnywhereStatement.php"> | ||
<UndefinedConstant occurrences="1"> | ||
<code>SASQL_BOTH</code> | ||
</UndefinedConstant> | ||
<UndefinedFunction occurrences="14"> | ||
<code>sasql_prepare($conn, $sql)</code> | ||
<code>sasql_stmt_bind_param_ex($this->stmt, $column - 1, $variable, $type, $variable === null)</code> | ||
<code>sasql_stmt_reset($this->stmt)</code> | ||
<code>sasql_stmt_field_count($this->stmt)</code> | ||
<code>sasql_stmt_errno($this->stmt)</code> | ||
<code>sasql_stmt_error($this->stmt)</code> | ||
<code>sasql_stmt_execute($this->stmt)</code> | ||
<code>sasql_stmt_result_metadata($this->stmt)</code> | ||
<code>sasql_fetch_assoc($this->result)</code> | ||
<code>sasql_fetch_array($this->result, SASQL_BOTH)</code> | ||
<code>sasql_fetch_object($this->result)</code> | ||
<code>sasql_fetch_row($this->result)</code> | ||
<code>sasql_fetch_object($this->result)</code> | ||
<code>sasql_stmt_affected_rows($this->stmt)</code> | ||
</UndefinedFunction> | ||
</file> | ||
<file src="lib/Doctrine/DBAL/Driver/SQLSrv/SQLSrvStatement.php"> | ||
<TooFewArguments occurrences="1"> | ||
<code>sqlsrv_get_field($this->stmt, 0)</code> | ||
</TooFewArguments> | ||
</file> | ||
<file src="lib/Doctrine/DBAL/Platforms/AbstractPlatform.php"> | ||
<InvalidParamDefault occurrences="1"> | ||
<code>int</code> | ||
</InvalidParamDefault> | ||
</file> | ||
<file src="lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php"> | ||
<InvalidParamDefault occurrences="1"> | ||
<code>string</code> | ||
</InvalidParamDefault> | ||
</file> | ||
<file src="lib/Doctrine/DBAL/Tools/Dumper.php"> | ||
<UndefinedClass occurrences="1"> | ||
<code>Collection</code> | ||
</UndefinedClass> | ||
</file> | ||
<file src="tests/Doctrine/Tests/DBAL/Driver/PDOPgSql/DriverTest.php"> | ||
<UndefinedConstant occurrences="5"> | ||
<code>PDO::PGSQL_ATTR_DISABLE_PREPARES</code> | ||
<code>PDO::PGSQL_ATTR_DISABLE_PREPARES</code> | ||
<code>PDO::PGSQL_ATTR_DISABLE_PREPARES</code> | ||
<code>PDO::PGSQL_ATTR_DISABLE_PREPARES</code> | ||
<code>PDO::PGSQL_ATTR_DISABLE_PREPARES</code> | ||
</UndefinedConstant> | ||
</file> | ||
<file src="tests/Doctrine/Tests/DBAL/Platforms/AbstractMySQLPlatformTestCase.php"> | ||
<UndefinedDocblockClass occurrences="93"> | ||
<code>MySqlPlatform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
</UndefinedDocblockClass> | ||
</file> | ||
<file src="tests/Doctrine/Tests/DBAL/Platforms/MariaDb1027PlatformTest.php"> | ||
<UndefinedDocblockClass occurrences="4"> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
</UndefinedDocblockClass> | ||
</file> | ||
<file src="tests/Doctrine/Tests/DBAL/Platforms/MySQL57PlatformTest.php"> | ||
<UndefinedDocblockClass occurrences="4"> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
<code>$this->platform</code> | ||
</UndefinedDocblockClass> | ||
</file> | ||
<file src="tests/Doctrine/Tests/DBAL/Platforms/MySqlPlatformTest.php"> | ||
<UndefinedDocblockClass occurrences="1"> | ||
<code>$this->platform</code> | ||
</UndefinedDocblockClass> | ||
</file> | ||
</files> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.