File: phpstan-baseline.neon

package info (click to toggle)
php-doctrine-dbal 4.4.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,468 kB
  • sloc: php: 65,775; xml: 618; makefile: 23
file content (85 lines) | stat: -rw-r--r-- 3,389 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
parameters:
	ignoreErrors:
		-
			rawMessage: 'Method Doctrine\DBAL\Driver\IBMDB2\Connection::exec() never returns numeric-string so it can be removed from the return type.'
			identifier: return.unusedType
			count: 1
			path: src/Driver/IBMDB2/Connection.php

		-
			rawMessage: 'Method Doctrine\DBAL\Driver\OCI8\Connection::exec() never returns numeric-string so it can be removed from the return type.'
			identifier: return.unusedType
			count: 1
			path: src/Driver/OCI8/Connection.php

		-
			rawMessage: 'Method Doctrine\DBAL\Driver\OCI8\Result::fetchAllAssociative() should return list<array<string, mixed>> but returns array<mixed>.'
			identifier: return.type
			count: 1
			path: src/Driver/OCI8/Result.php

		-
			rawMessage: 'Method Doctrine\DBAL\Driver\OCI8\Result::fetchAllNumeric() should return list<list<mixed>> but returns array<mixed>.'
			identifier: return.type
			count: 1
			path: src/Driver/OCI8/Result.php

		-
			rawMessage: 'Method Doctrine\DBAL\Driver\PDO\Result::fetchAll() should return list<mixed> but returns array.'
			identifier: return.type
			count: 1
			path: src/Driver/PDO/Result.php

		-
			rawMessage: 'Method Doctrine\DBAL\Driver\PgSQL\Result::fetchAllAssociative() should return list<array<string, mixed>> but returns array<int, array<string, mixed>>.'
			identifier: return.type
			count: 1
			path: src/Driver/PgSQL/Result.php

		-
			rawMessage: 'Method Doctrine\DBAL\Driver\PgSQL\Result::fetchAllNumeric() should return list<list<mixed>> but returns array<int, list<mixed>>.'
			identifier: return.type
			count: 1
			path: src/Driver/PgSQL/Result.php

		-
			rawMessage: 'Method Doctrine\DBAL\Driver\PgSQL\Result::fetchFirstColumn() should return list<mixed> but returns array<int, bool|float|int|string|null>.'
			identifier: return.type
			count: 1
			path: src/Driver/PgSQL/Result.php

		-
			rawMessage: 'Method Doctrine\DBAL\Driver\SQLite3\Result::fetchNumeric() should return list<mixed>|false but returns array|false.'
			identifier: return.type
			count: 1
			path: src/Driver/SQLite3/Result.php

		-
			rawMessage: 'Template type T is declared as covariant, but occurs in invariant position in property Doctrine\DBAL\Schema\AbstractSchemaManager::$platform.'
			identifier: generics.variance
			count: 1
			path: src/Schema/AbstractSchemaManager.php

		-
			rawMessage: 'Loose comparison via "!=" is not allowed.'
			identifier: notEqual.notAllowed
			count: 1
			path: src/Schema/ColumnDiff.php

		-
			rawMessage: 'Offset string might not exist on array{application_name?: string, charset?: string, dbname?: string, defaultTableOptions?: array<string, mixed>, driver?: ''ibm_db2''|''mysqli''|''oci8''|''pdo_mysql''|''pdo_oci''|''pdo_pgsql''|''pdo_sqlite''|''pdo_sqlsrv''|''pgsql''|''sqlite3''|''sqlsrv'', driverClass?: class-string<Doctrine\DBAL\Driver>, driverOptions?: array<mixed>, host?: string, ...}.'
			identifier: offsetAccess.notFound
			count: 1
			path: tests/DriverManagerTest.php

		-
			rawMessage: 'Call to new Doctrine\DBAL\Driver\PgSQL\Result() on a separate line has no effect.'
			identifier: new.resultUnused
			count: 1
			path: tests/Functional/Driver/PgSQL/ResultTest.php

		-
			rawMessage: 'Call to function array_filter() requires parameter #2 to be passed to avoid loose comparison semantics.'
			identifier: arrayFilter.strict
			count: 1
			path: tests/Functional/Schema/MySQL/JsonCollationTest.php