PHPstan report for /www/www-live/sites/tools.baggy.me.uk/htdocs/stan-fetcher-4.txt

File Context Line no Type Description
includes/config.php - 10 phpDoc.parseError PHPDoc tag @param has invalid value (?int): Unexpected token "\n * ", expected variable at offset 19 on line 2
includes/config.php - 26 return.type Function Fetcher\get_path_info() should return array<string> but returns list<int>.
includes/trait-process.php Fetcher\Resource 46 variable.undefined Undefined variable: $T
includes/trait-process.php Fetcher\Resource 48 property.notFound Access to an undefined property Fetcher\Resource::$site_string.
includes/trait-process.php Fetcher\Resource 64 variable.undefined Undefined variable: $_url
includes/trait-process.php Fetcher\Resource 71 regexp.pattern Regex pattern is invalid: Unknown modifier ']' in pattern: /\A\/(?[^/].*)?\Z/ms
includes/trait-process.php Fetcher\Resource 72 method.notFound Call to an undefined method Fetcher\Resource::_push_url().
includes/trait-process.php Fetcher\Resource 74 property.notFound Access to an undefined property Fetcher\Resource::$site_string.
includes/trait-process.php Fetcher\Resource 75 method.notFound Call to an undefined method Fetcher\Resource::_push_url().
includes/trait-process.php Fetcher\Resource 78 regexp.pattern Regex pattern is invalid: Delimiter must not be alphanumeric, backslash, or NUL in pattern: \A(?:https?:)[&][#](?:47|x2F)/mxis
includes/trait-process.php Fetcher\Resource 79 regexp.pattern Regex pattern is invalid: Delimiter must not be alphanumeric, backslash, or NUL in pattern: \A(?:webcal|ftp|mailto|tel):/mxis
includes/trait-process.php Fetcher\Resource 80 arguments.count Method Fetcher\Resource::_external_url() invoked with 1 parameter, 0 required.
includes/trait-process.php Fetcher\Resource 82 method.notFound Call to an undefined method Fetcher\Resource::_push_url().
includes/trait-process.php Fetcher\Resource 82 method.notFound Call to an undefined method Fetcher\Resource::rel_url().
includes/trait-process.php Fetcher\Resource 117 method.notFound Call to an undefined method Fetcher\Resource::_url_mapper().
includes/trait-process.php Fetcher\Resource 119 method.notFound Call to an undefined method Fetcher\Resource::add_linked_resources().
includes/trait-process.php Fetcher\Resource 119 method.notFound Call to an undefined method Fetcher\Resource::generate_resource().
includes/trait-process.php Fetcher\Resource 120 method.notFound Call to an undefined method Fetcher\Resource::_url_mapper().
includes/trait-process.php Fetcher\Resource 131 variable.undefined Undefined variable: $url
includes/trait-process.php Fetcher\Resource 132 method.notFound Call to an undefined method Fetcher\Resource::generate_external_resource().
includes/trait-process.php Fetcher\Resource 132 variable.undefined Undefined variable: $url
includes/trait-process.php Fetcher\Resource 133 variable.undefined Undefined variable: $url
includes/trait-process.php Fetcher\Resource 247 property.notFound Access to an undefined property Fetcher\Resource::$content.
includes/trait-process.php Fetcher\Resource 256 booleanOr.rightAlwaysTrue Right side of || is always true.
includes/trait-process.php Fetcher\Resource 256 property.notFound Access to an undefined property Fetcher\Resource::$content.
includes/trait-process.php Fetcher\Resource 257 booleanOr.rightAlwaysTrue Right side of || is always true.
includes/trait-process.php Fetcher\Resource 259 arguments.count Method Fetcher\Resource::__process_html() invoked with 1 parameter, 2 required.
includes/trait-process.php Fetcher\Resource 259 property.notFound Access to an undefined property Fetcher\Resource::$content.
includes/trait-process.php Fetcher\Resource 259 property.notFound Access to an undefined property Fetcher\Resource::$content.
includes/trait-process.php Fetcher\Resource 351 arguments.count Method Fetcher\Resource::mapped_url() invoked with 2 parameters, 0 required.
includes/trait-process.php Fetcher\Resource 358 arguments.count Method Fetcher\Resource::mapped_url() invoked with 2 parameters, 0 required.
includes/trait-process.php Fetcher\Resource 363 property.notFound Access to an undefined property Fetcher\Resource::$headers.
includes/trait-process.php Fetcher\Resource 378 function.notFound Function decode_entities not found.
includes/trait-process.php Fetcher\Resource 378 function.notFound Function decode_json not found.
includes/trait-process.php Fetcher\Resource 387 variable.undefined Undefined variable: $type
includes/trait-process.php Fetcher\Resource 388 argument.sprintf Call to sprintf contains 1 placeholder, 2 values given.
includes/trait-process.php Fetcher\Resource 388 arguments.count Method Fetcher\Resource::mapped_url() invoked with 2 parameters, 0 required.
includes/trait-process.php Fetcher\Resource 388 variable.undefined Undefined variable: $link
includes/trait-process.php Fetcher\Resource 388 variable.undefined Undefined variable: $type
includes/trait-process.php Fetcher\Resource 391 arguments.count Function preg_replace invoked with 2 parameters, 3-5 required.
includes/trait-process.php Fetcher\Resource 402 arguments.count Method Fetcher\Resource::mapped_url() invoked with 2 parameters, 0 required.
includes/trait-process.php Fetcher\Resource 414 arguments.count Method Fetcher\Resource::mapped_srcset_url() invoked with 2 parameters, 0 required.
includes/trait-process.php Fetcher\Resource 421 arguments.count Method Fetcher\Resource::mapped_url() invoked with 2 parameters, 0 required.
includes/trait-process.php Fetcher\Resource 428 arguments.count Method Fetcher\Resource::mapped_url() invoked with 2 parameters, 0 required.
includes/trait-process.php Fetcher\Resource 438 property.notFound Access to an undefined property Fetcher\Resource::$content.
includes/trait-process.php Fetcher\Resource 439 if.alwaysTrue If condition is always true.
includes/trait-process.php Fetcher\Resource 440 arguments.count Method Fetcher\Resource::push_urls() invoked with 1 parameter, 2 required.
includes/trait-process.php Fetcher\Resource 441 property.notFound Access to an undefined property Fetcher\Resource::$content.
includes/trait-process.php Fetcher\Resource 442 arguments.count Method Fetcher\Resource::mapped_url() invoked with 2 parameters, 0 required.
includes/trait-process.php Fetcher\Resource 443 property.notFound Access to an undefined property Fetcher\Resource::$content.
includes/trait-process.php Fetcher\Resource 446 if.alwaysTrue If condition is always true.
includes/trait-process.php Fetcher\Resource 447 arguments.count Method Fetcher\Resource::push_urls() invoked with 1 parameter, 2 required.
includes/trait-process.php Fetcher\Resource 449 arguments.count Method Fetcher\Resource::mapped_url() invoked with 3 parameters, 0 required.
includes/trait-process.php Fetcher\Resource 449 variable.undefined Undefined variable: $url
includes/trait-process.php Fetcher\Resource 452 arguments.count Method Fetcher\Resource::patch_domains_short() invoked with 1 parameter, 0 required.
includes/trait-process.php Fetcher\Resource 472 property.notFound Access to an undefined property Fetcher\Resource::$content.
includes/trait-process.php Fetcher\Resource 473 if.alwaysTrue If condition is always true.
includes/trait-process.php Fetcher\Resource 474 method.notFound Call to an undefined method Fetcher\Resource::push_url().
includes/trait-process.php Fetcher\Resource 475 property.notFound Access to an undefined property Fetcher\Resource::$content.
includes/trait-process.php Fetcher\Resource 476 arguments.count Method Fetcher\Resource::mapped_url() invoked with 2 parameters, 0 required.
includes/trait-process.php Fetcher\Resource 477 property.notFound Access to an undefined property Fetcher\Resource::$content.
includes/trait-process.php Fetcher\Resource 480 if.alwaysTrue If condition is always true.
includes/trait-process.php Fetcher\Resource 481 method.notFound Call to an undefined method Fetcher\Resource::push_url().
includes/trait-process.php Fetcher\Resource 483 arguments.count Method Fetcher\Resource::mapped_url() invoked with 2 parameters, 0 required.
includes/trait-process.php Fetcher\Resource 495 arguments.count Method Fetcher\Resource::patch_domains_short() invoked with 1 parameter, 0 required.
includes/trait-process.php Fetcher\Resource 495 property.notFound Access to an undefined property Fetcher\Resource::$content.
includes/trait-process.php Fetcher\Resource 495 property.notFound Access to an undefined property Fetcher\Resource::$content.
includes/trait-process.php Fetcher\Resource 508 property.notFound Access to an undefined property Fetcher\Resource::$content.
includes/trait-process.php Fetcher\Resource 509 if.alwaysTrue If condition is always true.
includes/trait-process.php Fetcher\Resource 510 arguments.count Method Fetcher\Resource::push_urls() invoked with 1 parameter, 2 required.
includes/trait-process.php Fetcher\Resource 511 arguments.count Method Fetcher\Resource::mapped_url() invoked with 2 parameters, 0 required.
includes/trait-process.php Fetcher\Resource 511 property.notFound Access to an undefined property Fetcher\Resource::$content.
includes/trait-sitemap.php - 81 trait.unused Trait Fetcher\SiteMap is used zero times and is not analysed.
test/trait-process-support.php - 5 trait.unused Trait Fetcher\ProcessSupport is used zero times and is not analysed.