Skip to content

Commit 415d7da

Browse files
committed
Fixing PHPStan for WeakRef
1 parent 322bb8c commit 415d7da

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,8 @@ matrix:
6363
- postgresql
6464
- php: 7.3
6565
env: PREFER_LOWEST="" DB=mysql NO_WEAKREF=1
66-
- php: "7.4snapshot"
67-
env: PREFER_LOWEST="" DB=mysql NO_WEAKREF=1
6866
allow_failures:
6967
- php: 7.3 # 7.3 allowed to fail due to an issue with greenlion/PHP-SQL-Parser: https://github.com/greenlion/PHP-SQL-Parser/pull/304
70-
- php: "7.4snapshot"
7168
- php: 7.1
7269
env: PREFER_LOWEST="" DB=oracle PHPUNITFILE="-c phpunit.oracle.xml"
7370
- php: 7.1

phpstan.neon

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ parameters:
1212
- "/Parameter #. \\$types of method Doctrine\\\\DBAL\\\\Connection::.*() expects array<int|string>, array<int, Doctrine\\\\DBAL\\\\Types\\\\Type> given./"
1313
- "#Method TheCodingMachine\\\\TDBM\\\\Schema\\\\ForeignKey::.*() should return .* but returns array<string>|string.#"
1414
- '#Method TheCodingMachine\\TDBM\\NativeWeakrefObjectStorage::get\(\) should return TheCodingMachine\\TDBM\\DbRow\|null but returns object\|null.#'
15+
-
16+
message: '#WeakRef#'
17+
path: src/WeakrefObjectStorage.php
1518
-
1619
message: '#Result of && is always false.#'
1720
path: src/Test/Dao/Bean/Generated/ArticleBaseBean.php

0 commit comments

Comments
 (0)