/usr/share/php/Hamcrest/autoload.php is in php-hamcrest 1.2.2-1ubuntu1.
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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | <?php
// @codingStandardsIgnoreFile
// @codeCoverageIgnoreStart
// this is an autogenerated file - do not edit
spl_autoload_register(
function($class) {
static $classes = null;
if ($classes === null) {
$classes = array(
'hamcrest\\arrays\\isarray' => '/Arrays/IsArray.php',
'hamcrest\\arrays\\isarraycontaining' => '/Arrays/IsArrayContaining.php',
'hamcrest\\arrays\\isarraycontaininginanyorder' => '/Arrays/IsArrayContainingInAnyOrder.php',
'hamcrest\\arrays\\isarraycontaininginorder' => '/Arrays/IsArrayContainingInOrder.php',
'hamcrest\\arrays\\isarraycontainingkey' => '/Arrays/IsArrayContainingKey.php',
'hamcrest\\arrays\\isarraycontainingkeyvaluepair' => '/Arrays/IsArrayContainingKeyValuePair.php',
'hamcrest\\arrays\\isarraywithsize' => '/Arrays/IsArrayWithSize.php',
'hamcrest\\arrays\\matchingonce' => '/Arrays/MatchingOnce.php',
'hamcrest\\arrays\\seriesmatchingonce' => '/Arrays/SeriesMatchingOnce.php',
'hamcrest\\assertionerror' => '/AssertionError.php',
'hamcrest\\basedescription' => '/BaseDescription.php',
'hamcrest\\basematcher' => '/BaseMatcher.php',
'hamcrest\\collection\\isemptytraversable' => '/Collection/IsEmptyTraversable.php',
'hamcrest\\collection\\istraversablewithsize' => '/Collection/IsTraversableWithSize.php',
'hamcrest\\core\\allof' => '/Core/AllOf.php',
'hamcrest\\core\\anyof' => '/Core/AnyOf.php',
'hamcrest\\core\\combinablematcher' => '/Core/CombinableMatcher.php',
'hamcrest\\core\\describedas' => '/Core/DescribedAs.php',
'hamcrest\\core\\every' => '/Core/Every.php',
'hamcrest\\core\\hastostring' => '/Core/HasToString.php',
'hamcrest\\core\\is' => '/Core/Is.php',
'hamcrest\\core\\isanything' => '/Core/IsAnything.php',
'hamcrest\\core\\iscollectioncontaining' => '/Core/IsCollectionContaining.php',
'hamcrest\\core\\isequal' => '/Core/IsEqual.php',
'hamcrest\\core\\isidentical' => '/Core/IsIdentical.php',
'hamcrest\\core\\isinstanceof' => '/Core/IsInstanceOf.php',
'hamcrest\\core\\isnot' => '/Core/IsNot.php',
'hamcrest\\core\\isnull' => '/Core/IsNull.php',
'hamcrest\\core\\issame' => '/Core/IsSame.php',
'hamcrest\\core\\istypeof' => '/Core/IsTypeOf.php',
'hamcrest\\core\\set' => '/Core/Set.php',
'hamcrest\\core\\shortcutcombination' => '/Core/ShortcutCombination.php',
'hamcrest\\description' => '/Description.php',
'hamcrest\\diagnosingmatcher' => '/DiagnosingMatcher.php',
'hamcrest\\featurematcher' => '/FeatureMatcher.php',
'hamcrest\\internal\\selfdescribingvalue' => '/Internal/SelfDescribingValue.php',
'hamcrest\\matcher' => '/Matcher.php',
'hamcrest\\matcherassert' => '/MatcherAssert.php',
'hamcrest\\matchers' => '/Matchers.php',
'hamcrest\\nulldescription' => '/NullDescription.php',
'hamcrest\\number\\iscloseto' => '/Number/IsCloseTo.php',
'hamcrest\\number\\orderingcomparison' => '/Number/OrderingComparison.php',
'hamcrest\\selfdescribing' => '/SelfDescribing.php',
'hamcrest\\stringdescription' => '/StringDescription.php',
'hamcrest\\text\\isemptystring' => '/Text/IsEmptyString.php',
'hamcrest\\text\\isequalignoringcase' => '/Text/IsEqualIgnoringCase.php',
'hamcrest\\text\\isequalignoringwhitespace' => '/Text/IsEqualIgnoringWhiteSpace.php',
'hamcrest\\text\\matchespattern' => '/Text/MatchesPattern.php',
'hamcrest\\text\\stringcontains' => '/Text/StringContains.php',
'hamcrest\\text\\stringcontainsignoringcase' => '/Text/StringContainsIgnoringCase.php',
'hamcrest\\text\\stringcontainsinorder' => '/Text/StringContainsInOrder.php',
'hamcrest\\text\\stringendswith' => '/Text/StringEndsWith.php',
'hamcrest\\text\\stringstartswith' => '/Text/StringStartsWith.php',
'hamcrest\\text\\substringmatcher' => '/Text/SubstringMatcher.php',
'hamcrest\\type\\isarray' => '/Type/IsArray.php',
'hamcrest\\type\\isboolean' => '/Type/IsBoolean.php',
'hamcrest\\type\\iscallable' => '/Type/IsCallable.php',
'hamcrest\\type\\isdouble' => '/Type/IsDouble.php',
'hamcrest\\type\\isinteger' => '/Type/IsInteger.php',
'hamcrest\\type\\isnumeric' => '/Type/IsNumeric.php',
'hamcrest\\type\\isobject' => '/Type/IsObject.php',
'hamcrest\\type\\isresource' => '/Type/IsResource.php',
'hamcrest\\type\\isscalar' => '/Type/IsScalar.php',
'hamcrest\\type\\isstring' => '/Type/IsString.php',
'hamcrest\\typesafediagnosingmatcher' => '/TypeSafeDiagnosingMatcher.php',
'hamcrest\\typesafematcher' => '/TypeSafeMatcher.php',
'hamcrest\\util' => '/Util.php',
'hamcrest\\xml\\hasxpath' => '/Xml/HasXPath.php'
);
}
$cn = strtolower($class);
if (isset($classes[$cn])) {
require __DIR__ . $classes[$cn];
}
},
true,
false
);
// @codeCoverageIgnoreEnd
|