Page MenuHomePhabricator

PhanCommentAbstractOnInheritedMethod false positive
Closed, ResolvedPublic

Description

22:52:26 includes/libs/rdbms/database/MWMySQLPlatform.php:7 PhanCommentAbstractOnInheritedMethod Class \Wikimedia\Rdbms\MWMySQLPlatform inherits a method \Doctrine\DBAL\Platforms\AbstractPlatform::createReservedKeywordsList declared at vendor/doctrine/dbal/src/Platforms/AbstractPlatform.php:3521 marked as @abstract in phpdoc but does not override it
22:52:26 includes/libs/rdbms/database/MWPostgreSqlPlatform.php:8 PhanCommentAbstractOnInheritedMethod Class \Wikimedia\Rdbms\MWPostgreSqlPlatform inherits a method \Doctrine\DBAL\Platforms\AbstractPlatform::createReservedKeywordsList declared at vendor/doctrine/dbal/src/Platforms/AbstractPlatform.php:3521 marked as @abstract in phpdoc but does not override it

Trying to upgrade doctrine/dbal to 3.1.5 brings in https://github.com/doctrine/dbal/blob/3.1.5/src/Platforms/AbstractPlatform.php#L3517

Event Timeline

Which should become 5.3.2.... T298576: Upgrade phan to 5.3.2 or later may bring this in depending on when it happens (if later than 5.3.1)

Change 840274 had a related patch set uploaded (by Daimona Eaytoy; author: Daimona Eaytoy):

[mediawiki/core@master] build: Update mediawiki/mediawiki-phan-config to 0.12.0

https://gerrit.wikimedia.org/r/840274

Change 840274 merged by jenkins-bot:

[mediawiki/core@master] build: Update mediawiki/mediawiki-phan-config to 0.12.0

https://gerrit.wikimedia.org/r/840274

Change 934280 had a related patch set uploaded (by Reedy; author: Daimona Eaytoy):

[mediawiki/core@REL1_39] build: Update mediawiki/mediawiki-phan-config to 0.12.0

https://gerrit.wikimedia.org/r/934280

Change 934280 merged by jenkins-bot:

[mediawiki/core@REL1_39] build: Update mediawiki/mediawiki-phan-config to 0.12.0

https://gerrit.wikimedia.org/r/934280