Page MenuHomePhabricator

$cfg['exclude_file_list'] doesn't seem to work
Closed, InvalidPublic

Description

For migration purposes, I added symlinks to fix in https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/CirrusSearch/+/591126/ for T250806: Fix CirrusSearch maint scripts call sites to use file names compliant with autoloader

I added them to $cfg['exclude_file_list'] in https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/CirrusSearch/+/591126/5/.phan/config.php but phan still seems to be failing and scanning those files

It looks like this has been around for ages based on https://github.com/phan/phan/commit/5dba4c1166d14565c3b86cd132e96db99396cd58 so am I just doing something stupid?

https://integration.wikimedia.org/ci/job/mwext-php72-phan-docker/48459/console

15:36:11 <?xml version="1.0" encoding="ISO-8859-15"?>
15:36:11 <checkstyle version="6.5">
15:36:11   <file name="maintenance/CheckIndexes.php">
15:36:11     <error line="34" severity="warning" message="Class \CirrusSearch\Maintenance\CheckIndexes defined at maintenance/CheckIndexes.php:34 was previously defined as Class \CirrusSearch\Maintenance\CheckIndexes at maintenance/checkIndexes.php:34" source="PhanRedefineClass"/>
15:36:11     <error line="255" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\CheckIndexes declared at maintenance/CheckIndexes.php:34 which is also declared at maintenance/checkIndexes.php:34. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/CirrusNeedsToBeBuilt.php">
15:36:11     <error line="34" severity="warning" message="Class \CirrusSearch\Maintenance\CirrusNeedsToBeBuilt defined at maintenance/CirrusNeedsToBeBuilt.php:34 was previously defined as Class \CirrusSearch\Maintenance\CirrusNeedsToBeBuilt at maintenance/cirrusNeedsToBeBuilt.php:34" source="PhanRedefineClass"/>
15:36:11     <error line="87" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\CirrusNeedsToBeBuilt declared at maintenance/CirrusNeedsToBeBuilt.php:34 which is also declared at maintenance/cirrusNeedsToBeBuilt.php:34. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/CopySearchIndex.php">
15:36:11     <error line="38" severity="warning" message="Class \CirrusSearch\Maintenance\CopySearchIndex defined at maintenance/CopySearchIndex.php:38 was previously defined as Class \CirrusSearch\Maintenance\CopySearchIndex at maintenance/copySearchIndex.php:38" source="PhanRedefineClass"/>
15:36:11     <error line="124" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\CopySearchIndex declared at maintenance/CopySearchIndex.php:38 which is also declared at maintenance/copySearchIndex.php:38. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/DumpIndex.php">
15:36:11     <error line="40" severity="warning" message="Class \CirrusSearch\Maintenance\DumpIndex defined at maintenance/DumpIndex.php:40 was previously defined as Class \CirrusSearch\Maintenance\DumpIndex at maintenance/dumpIndex.php:40" source="PhanRedefineClass"/>
15:36:11     <error line="262" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\DumpIndex declared at maintenance/DumpIndex.php:40 which is also declared at maintenance/dumpIndex.php:40. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/ForceSearchIndex.php">
15:36:11     <error line="45" severity="warning" message="Class \CirrusSearch\Maintenance\ForceSearchIndex defined at maintenance/ForceSearchIndex.php:45 was previously defined as Class \CirrusSearch\Maintenance\ForceSearchIndex at maintenance/forceSearchIndex.php:45" source="PhanRedefineClass"/>
15:36:11     <error line="109" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\ForceSearchIndex declared at maintenance/ForceSearchIndex.php:45 which is also declared at maintenance/forceSearchIndex.php:45. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11     <error line="301" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\ForceSearchIndex declared at maintenance/ForceSearchIndex.php:45 which is also declared at maintenance/forceSearchIndex.php:45. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11     <error line="316" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\ForceSearchIndex declared at maintenance/ForceSearchIndex.php:45 which is also declared at maintenance/forceSearchIndex.php:45. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11     <error line="346" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\ForceSearchIndex declared at maintenance/ForceSearchIndex.php:45 which is also declared at maintenance/forceSearchIndex.php:45. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11     <error line="677" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\ForceSearchIndex declared at maintenance/ForceSearchIndex.php:45 which is also declared at maintenance/forceSearchIndex.php:45. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/FreezeWritesToCluster.php">
15:36:11     <error line="34" severity="warning" message="Class \CirrusSearch\Maintenance\FreezeWritesToCluster defined at maintenance/FreezeWritesToCluster.php:34 was previously defined as Class \CirrusSearch\Maintenance\FreezeWritesToCluster at maintenance/freezeWritesToCluster.php:34" source="PhanRedefineClass"/>
15:36:11     <error line="58" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\FreezeWritesToCluster declared at maintenance/FreezeWritesToCluster.php:34 which is also declared at maintenance/freezeWritesToCluster.php:34. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/IndexNamespaces.php">
15:36:11     <error line="33" severity="warning" message="Class \CirrusSearch\Maintenance\IndexNamespaces defined at maintenance/IndexNamespaces.php:33 was previously defined as Class \CirrusSearch\Maintenance\IndexNamespaces at maintenance/indexNamespaces.php:33" source="PhanRedefineClass"/>
15:36:11     <error line="44" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\IndexNamespaces declared at maintenance/IndexNamespaces.php:33 which is also declared at maintenance/indexNamespaces.php:33. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/Metastore.php">
15:36:11     <error line="36" severity="warning" message="Class \CirrusSearch\Maintenance\Metastore defined at maintenance/Metastore.php:36 was previously defined as Class \CirrusSearch\Maintenance\Metastore at maintenance/metastore.php:36" source="PhanRedefineClass"/>
15:36:11     <error line="165" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\Metastore declared at maintenance/Metastore.php:36 which is also declared at maintenance/metastore.php:36. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/RunSearch.php">
15:36:11     <error line="43" severity="warning" message="Class \CirrusSearch\Maintenance\RunSearch defined at maintenance/RunSearch.php:43 was previously defined as Class \CirrusSearch\Maintenance\RunSearch at maintenance/runSearch.php:43" source="PhanRedefineClass"/>
15:36:11     <error line="337" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\RunSearch declared at maintenance/RunSearch.php:43 which is also declared at maintenance/runSearch.php:43. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/Saneitize.php">
15:36:11     <error line="37" severity="warning" message="Class \CirrusSearch\Maintenance\Saneitize defined at maintenance/Saneitize.php:37 was previously defined as Class \CirrusSearch\Maintenance\Saneitize at maintenance/saneitize.php:37" source="PhanRedefineClass"/>
15:36:11     <error line="172" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\Saneitize declared at maintenance/Saneitize.php:37 which is also declared at maintenance/saneitize.php:37. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/SaneitizeJobs.php">
15:36:11     <error line="38" severity="warning" message="Class \CirrusSearch\Maintenance\SaneitizeJobs defined at maintenance/SaneitizeJobs.php:38 was previously defined as Class \CirrusSearch\Maintenance\SaneitizeJobs at maintenance/saneitizeJobs.php:38" source="PhanRedefineClass"/>
15:36:11     <error line="420" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\SaneitizeJobs declared at maintenance/SaneitizeJobs.php:38 which is also declared at maintenance/saneitizeJobs.php:38. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/UpdateDYMIndexTemplates.php">
15:36:11     <error line="36" severity="warning" message="Class \CirrusSearch\Maintenance\UpdateDYMIndexTemplates defined at maintenance/UpdateDYMIndexTemplates.php:36 was previously defined as Class \CirrusSearch\Maintenance\UpdateDYMIndexTemplates at maintenance/updateDYMIndexTemplates.php:36" source="PhanRedefineClass"/>
15:36:11     <error line="90" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\UpdateDYMIndexTemplates declared at maintenance/UpdateDYMIndexTemplates.php:36 which is also declared at maintenance/updateDYMIndexTemplates.php:36. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/UpdateOneSearchIndexConfig.php">
15:36:11     <error line="40" severity="warning" message="Class \CirrusSearch\Maintenance\UpdateOneSearchIndexConfig defined at maintenance/UpdateOneSearchIndexConfig.php:40 was previously defined as Class \CirrusSearch\Maintenance\UpdateOneSearchIndexConfig at maintenance/updateOneSearchIndexConfig.php:40" source="PhanRedefineClass"/>
15:36:11     <error line="162" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\UpdateOneSearchIndexConfig declared at maintenance/UpdateOneSearchIndexConfig.php:40 which is also declared at maintenance/updateOneSearchIndexConfig.php:40. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11     <error line="298" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\Metastore declared at maintenance/Metastore.php:36 which is also declared at maintenance/metastore.php:36. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11     <error line="629" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\UpdateOneSearchIndexConfig declared at maintenance/UpdateOneSearchIndexConfig.php:40 which is also declared at maintenance/updateOneSearchIndexConfig.php:40. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/UpdateSearchIndexConfig.php">
15:36:11     <error line="34" severity="warning" message="Class \CirrusSearch\Maintenance\UpdateSearchIndexConfig defined at maintenance/UpdateSearchIndexConfig.php:34 was previously defined as Class \CirrusSearch\Maintenance\UpdateSearchIndexConfig at maintenance/updateSearchIndexConfig.php:34" source="PhanRedefineClass"/>
15:36:11     <error line="41" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\UpdateOneSearchIndexConfig declared at maintenance/UpdateOneSearchIndexConfig.php:40 which is also declared at maintenance/updateOneSearchIndexConfig.php:40. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11     <error line="53" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\IndexNamespaces declared at maintenance/IndexNamespaces.php:33 which is also declared at maintenance/indexNamespaces.php:33. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11     <error line="59" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\UpdateOneSearchIndexConfig declared at maintenance/UpdateOneSearchIndexConfig.php:40 which is also declared at maintenance/updateOneSearchIndexConfig.php:40. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11     <error line="69" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\UpdateSearchIndexConfig declared at maintenance/UpdateSearchIndexConfig.php:34 which is also declared at maintenance/updateSearchIndexConfig.php:34. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/UpdateSuggesterIndex.php">
15:36:11     <error line="47" severity="warning" message="Class \CirrusSearch\Maintenance\UpdateSuggesterIndex defined at maintenance/UpdateSuggesterIndex.php:47 was previously defined as Class \CirrusSearch\Maintenance\UpdateSuggesterIndex at maintenance/updateSuggesterIndex.php:47" source="PhanRedefineClass"/>
15:36:11     <error line="783" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\UpdateSuggesterIndex declared at maintenance/UpdateSuggesterIndex.php:47 which is also declared at maintenance/updateSuggesterIndex.php:47. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/checkIndexes.php">
15:36:11     <error line="34" severity="warning" message="Class \CirrusSearch\Maintenance\CheckIndexes defined at maintenance/checkIndexes.php:34 was previously defined as Class \CirrusSearch\Maintenance\CheckIndexes at maintenance/CheckIndexes.php:34" source="PhanRedefineClass"/>
15:36:11     <error line="255" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\CheckIndexes declared at maintenance/CheckIndexes.php:34 which is also declared at maintenance/checkIndexes.php:34. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/cirrusNeedsToBeBuilt.php">
15:36:11     <error line="34" severity="warning" message="Class \CirrusSearch\Maintenance\CirrusNeedsToBeBuilt defined at maintenance/cirrusNeedsToBeBuilt.php:34 was previously defined as Class \CirrusSearch\Maintenance\CirrusNeedsToBeBuilt at maintenance/CirrusNeedsToBeBuilt.php:34" source="PhanRedefineClass"/>
15:36:11     <error line="87" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\CirrusNeedsToBeBuilt declared at maintenance/CirrusNeedsToBeBuilt.php:34 which is also declared at maintenance/cirrusNeedsToBeBuilt.php:34. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/copySearchIndex.php">
15:36:11     <error line="38" severity="warning" message="Class \CirrusSearch\Maintenance\CopySearchIndex defined at maintenance/copySearchIndex.php:38 was previously defined as Class \CirrusSearch\Maintenance\CopySearchIndex at maintenance/CopySearchIndex.php:38" source="PhanRedefineClass"/>
15:36:11     <error line="124" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\CopySearchIndex declared at maintenance/CopySearchIndex.php:38 which is also declared at maintenance/copySearchIndex.php:38. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/dumpIndex.php">
15:36:11     <error line="40" severity="warning" message="Class \CirrusSearch\Maintenance\DumpIndex defined at maintenance/dumpIndex.php:40 was previously defined as Class \CirrusSearch\Maintenance\DumpIndex at maintenance/DumpIndex.php:40" source="PhanRedefineClass"/>
15:36:11     <error line="262" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\DumpIndex declared at maintenance/DumpIndex.php:40 which is also declared at maintenance/dumpIndex.php:40. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/forceSearchIndex.php">
15:36:11     <error line="45" severity="warning" message="Class \CirrusSearch\Maintenance\ForceSearchIndex defined at maintenance/forceSearchIndex.php:45 was previously defined as Class \CirrusSearch\Maintenance\ForceSearchIndex at maintenance/ForceSearchIndex.php:45" source="PhanRedefineClass"/>
15:36:11     <error line="204" severity="warning" message="Plugin BuiltinSuppressionPlugin suppresses issue PhanImpossibleTypeComparison on this line but this suppression is unused or suppressed elsewhere" source="UnusedPluginSuppression"/>
15:36:11     <error line="677" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\ForceSearchIndex declared at maintenance/ForceSearchIndex.php:45 which is also declared at maintenance/forceSearchIndex.php:45. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/freezeWritesToCluster.php">
15:36:11     <error line="34" severity="warning" message="Class \CirrusSearch\Maintenance\FreezeWritesToCluster defined at maintenance/freezeWritesToCluster.php:34 was previously defined as Class \CirrusSearch\Maintenance\FreezeWritesToCluster at maintenance/FreezeWritesToCluster.php:34" source="PhanRedefineClass"/>
15:36:11     <error line="58" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\FreezeWritesToCluster declared at maintenance/FreezeWritesToCluster.php:34 which is also declared at maintenance/freezeWritesToCluster.php:34. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/indexNamespaces.php">
15:36:11     <error line="33" severity="warning" message="Class \CirrusSearch\Maintenance\IndexNamespaces defined at maintenance/indexNamespaces.php:33 was previously defined as Class \CirrusSearch\Maintenance\IndexNamespaces at maintenance/IndexNamespaces.php:33" source="PhanRedefineClass"/>
15:36:11     <error line="44" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\IndexNamespaces declared at maintenance/IndexNamespaces.php:33 which is also declared at maintenance/indexNamespaces.php:33. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/metastore.php">
15:36:11     <error line="36" severity="warning" message="Class \CirrusSearch\Maintenance\Metastore defined at maintenance/metastore.php:36 was previously defined as Class \CirrusSearch\Maintenance\Metastore at maintenance/Metastore.php:36" source="PhanRedefineClass"/>
15:36:11     <error line="165" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\Metastore declared at maintenance/Metastore.php:36 which is also declared at maintenance/metastore.php:36. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/runSearch.php">
15:36:11     <error line="43" severity="warning" message="Class \CirrusSearch\Maintenance\RunSearch defined at maintenance/runSearch.php:43 was previously defined as Class \CirrusSearch\Maintenance\RunSearch at maintenance/RunSearch.php:43" source="PhanRedefineClass"/>
15:36:11     <error line="337" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\RunSearch declared at maintenance/RunSearch.php:43 which is also declared at maintenance/runSearch.php:43. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/saneitize.php">
15:36:11     <error line="37" severity="warning" message="Class \CirrusSearch\Maintenance\Saneitize defined at maintenance/saneitize.php:37 was previously defined as Class \CirrusSearch\Maintenance\Saneitize at maintenance/Saneitize.php:37" source="PhanRedefineClass"/>
15:36:11     <error line="172" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\Saneitize declared at maintenance/Saneitize.php:37 which is also declared at maintenance/saneitize.php:37. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/saneitizeJobs.php">
15:36:11     <error line="38" severity="warning" message="Class \CirrusSearch\Maintenance\SaneitizeJobs defined at maintenance/saneitizeJobs.php:38 was previously defined as Class \CirrusSearch\Maintenance\SaneitizeJobs at maintenance/SaneitizeJobs.php:38" source="PhanRedefineClass"/>
15:36:11     <error line="372" severity="warning" message="Plugin BuiltinSuppressionPlugin suppresses issue PhanTypeMismatchReturnNullable on this line but this suppression is unused or suppressed elsewhere" source="UnusedPluginSuppression"/>
15:36:11     <error line="420" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\SaneitizeJobs declared at maintenance/SaneitizeJobs.php:38 which is also declared at maintenance/saneitizeJobs.php:38. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/updateDYMIndexTemplates.php">
15:36:11     <error line="36" severity="warning" message="Class \CirrusSearch\Maintenance\UpdateDYMIndexTemplates defined at maintenance/updateDYMIndexTemplates.php:36 was previously defined as Class \CirrusSearch\Maintenance\UpdateDYMIndexTemplates at maintenance/UpdateDYMIndexTemplates.php:36" source="PhanRedefineClass"/>
15:36:11     <error line="90" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\UpdateDYMIndexTemplates declared at maintenance/UpdateDYMIndexTemplates.php:36 which is also declared at maintenance/updateDYMIndexTemplates.php:36. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/updateOneSearchIndexConfig.php">
15:36:11     <error line="40" severity="warning" message="Class \CirrusSearch\Maintenance\UpdateOneSearchIndexConfig defined at maintenance/updateOneSearchIndexConfig.php:40 was previously defined as Class \CirrusSearch\Maintenance\UpdateOneSearchIndexConfig at maintenance/UpdateOneSearchIndexConfig.php:40" source="PhanRedefineClass"/>
15:36:11     <error line="297" severity="warning" message="Element \CirrusSearch\Maintenance\UpdateOneSearchIndexConfig,1::updateVersions suppresses issue PhanUndeclaredMethod but does not use it" source="UnusedSuppression"/>
15:36:11     <error line="629" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\UpdateOneSearchIndexConfig declared at maintenance/UpdateOneSearchIndexConfig.php:40 which is also declared at maintenance/updateOneSearchIndexConfig.php:40. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/updateSearchIndexConfig.php">
15:36:11     <error line="34" severity="warning" message="Class \CirrusSearch\Maintenance\UpdateSearchIndexConfig defined at maintenance/updateSearchIndexConfig.php:34 was previously defined as Class \CirrusSearch\Maintenance\UpdateSearchIndexConfig at maintenance/UpdateSearchIndexConfig.php:34" source="PhanRedefineClass"/>
15:36:11     <error line="51" severity="warning" message="Element \CirrusSearch\Maintenance\UpdateSearchIndexConfig,1::execute suppresses issue PhanUndeclaredMethod but does not use it" source="UnusedSuppression"/>
15:36:11     <error line="69" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\UpdateSearchIndexConfig declared at maintenance/UpdateSearchIndexConfig.php:34 which is also declared at maintenance/updateSearchIndexConfig.php:34. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11   <file name="maintenance/updateSuggesterIndex.php">
15:36:11     <error line="47" severity="warning" message="Class \CirrusSearch\Maintenance\UpdateSuggesterIndex defined at maintenance/updateSuggesterIndex.php:47 was previously defined as Class \CirrusSearch\Maintenance\UpdateSuggesterIndex at maintenance/UpdateSuggesterIndex.php:47" source="PhanRedefineClass"/>
15:36:11     <error line="783" severity="warning" message="Saw reference to \CirrusSearch\Maintenance\UpdateSuggesterIndex declared at maintenance/UpdateSuggesterIndex.php:47 which is also declared at maintenance/updateSuggesterIndex.php:47. This may lead to confusing errors. It may be possible to exclude the class that isn't used with exclude_file_list. In addition to normal ways to suppress issues, this issue type can be suppressed on either of the class definitions if it is impractical to exclude one file." source="PhanRedefinedClassReference"/>
15:36:11   </file>
15:36:11 </checkstyle>

Event Timeline

Daimona subscribed.

Relative paths in the config file are based on the project folder (unless something else is specified), see comment on gerrit.

Relative paths in the config file are based on the project folder (unless something else is specified), see comment on gerrit.

Why is it inconsistent with the directory ones above? Sigh.

It's not inconsistent, '../../' is the (usual) install path if you start from the extension's main dir.