Task #92557

Updated by Sybille Peters 9 months ago

Clean up code: 

 * Use declare(strict_types=1); strict in all (@internal) classes 
 * Add type declarations hints 
 * checkLink third argument LinkAnalyzer: this is only used in Linktype "LinkHandler" and is used to pass TSconfig. The lowlevel class / function inherit from AbstractLinktype should propably not depend on LinkAnalyzer. It might be possible to pass the configuration differently, i.e. this is already done in ExternalLinkType::setAdditionalConfig 
 * possibly move all queries to the repository class BrokenLinkRepository 
 * LinkAnalyzer::init(): second parameter: $pidList: "string|array $pidList List of comma separated page uids in which to search for method arguments 
 links, can be an array too": error-prone, use array

Back