diff --git a/.travis.yml b/.travis.yml index 9a3f1f69..eec9ed73 100644 --- a/.travis.yml +++ b/.travis.yml @@ -63,11 +63,8 @@ matrix: - postgresql - php: 7.3 env: PREFER_LOWEST="" DB=mysql NO_WEAKREF=1 - - php: "7.4snapshot" - env: PREFER_LOWEST="" DB=mysql NO_WEAKREF=1 allow_failures: - 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 - - php: "7.4snapshot" - php: 7.1 env: PREFER_LOWEST="" DB=oracle PHPUNITFILE="-c phpunit.oracle.xml" - php: 7.1 diff --git a/phpstan.neon b/phpstan.neon index fbdbc929..95ac25dd 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -12,6 +12,9 @@ parameters: - "/Parameter #. \\$types of method Doctrine\\\\DBAL\\\\Connection::.*() expects array, array given./" - "#Method TheCodingMachine\\\\TDBM\\\\Schema\\\\ForeignKey::.*() should return .* but returns array|string.#" - '#Method TheCodingMachine\\TDBM\\NativeWeakrefObjectStorage::get\(\) should return TheCodingMachine\\TDBM\\DbRow\|null but returns object\|null.#' + - + message: '#WeakRef#' + path: src/WeakrefObjectStorage.php - message: '#Result of && is always false.#' path: src/Test/Dao/Bean/Generated/ArticleBaseBean.php