/usr/share/php/Symfony/Component/DomCrawler/autoload.php is in php-symfony-dom-crawler 3.4.6+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | <?php
// require:
require_once 'Symfony/Polyfill/Mbstring/autoload.php';
// suggest:
if (stream_resolve_include_path('Symfony/Component/CssSelector/autoload.php')){
include_once 'Symfony/Component/CssSelector/autoload.php';
}
// @codingStandardsIgnoreFile
// @codeCoverageIgnoreStart
// this is an autogenerated file - do not edit
spl_autoload_register(
function($class) {
static $classes = null;
if ($classes === null) {
$classes = array(
'symfony\\component\\domcrawler\\abstracturielement' => '/AbstractUriElement.php',
'symfony\\component\\domcrawler\\crawler' => '/Crawler.php',
'symfony\\component\\domcrawler\\field\\choiceformfield' => '/Field/ChoiceFormField.php',
'symfony\\component\\domcrawler\\field\\fileformfield' => '/Field/FileFormField.php',
'symfony\\component\\domcrawler\\field\\formfield' => '/Field/FormField.php',
'symfony\\component\\domcrawler\\field\\inputformfield' => '/Field/InputFormField.php',
'symfony\\component\\domcrawler\\field\\textareaformfield' => '/Field/TextareaFormField.php',
'symfony\\component\\domcrawler\\form' => '/Form.php',
'symfony\\component\\domcrawler\\formfieldregistry' => '/FormFieldRegistry.php',
'symfony\\component\\domcrawler\\image' => '/Image.php',
'symfony\\component\\domcrawler\\link' => '/Link.php'
);
}
$cn = strtolower($class);
if (isset($classes[$cn]) and file_exists(__DIR__ . $classes[$cn])) {
require __DIR__ . $classes[$cn];
}
}
);
// @codeCoverageIgnoreEnd
|