HomePhabricator

Fix type/subclass check limit
0408a71186e3Unpublished

Unpublished Commit · Learn More

Publishing Disabled: All publishing is disabled for this repository.

Description

Fix type/subclass check limit

Instead of counting only recursion depth, and effectively decrementing
the counter on every return, count total invocations of the method and
don’t decrement the counter in one check operation.

Since this results in a higher count for classes with more than one
superclass, slightly increase the limit.

Change-Id: I39429d37734f25748f8b7e194246613592edb241

Details

Provenance
Lucas_Werkmeister_WMDEAuthored on May 10 2017, 2:34 PM
Parents
rEBQC0d0d77e7e3af: Declare dependency on mediawiki.api module
Branches
Unknown
Tags
Unknown
ChangeId
I39429d37734f25748f8b7e194246613592edb241