/opt/cpanel/ea-wappspector/vendor/rector/rector/src/NodeAnalyzer
NameSizeModeActions
ArgsAnalyzer.php4180644editdlrm
BinaryOpAnalyzer.php11710644editdlrm
CallAnalyzer.php24290644editdlrm
ClassAnalyzer.php4630644editdlrm
CompactFuncCallAnalyzer.php21110644editdlrm
ConstFetchAnalyzer.php10400644editdlrm
DoctrineEntityAnalyzer.php20390644editdlrm
ExprAnalyzer.php37060644editdlrm
MagicClassMethodAnalyzer.php7170644editdlrm
ParamAnalyzer.php55150644editdlrm
PropertyAnalyzer.php16970644editdlrm
PropertyFetchAnalyzer.php75520644editdlrm
PropertyPresenceChecker.php60540644editdlrm
ScopeAnalyzer.php6830644editdlrm
TerminatedNodeAnalyzer.php53810644editdlrm
VariableAnalyzer.php6030644editdlrm
VariadicAnalyzer.php15420644editdlrm
Edit: /opt/cpanel/ea-wappspector/vendor/rector/rector/src/NodeAnalyzer/ConstFetchAnalyzer.php (1040B)
isTrue($expr)) { return \true; } return $this->isFalse($expr); } public function isFalse(Expr $expr) : bool { return $this->isConstantWithLowercasedName($expr, 'false'); } public function isTrue(Expr $expr) : bool { return $this->isConstantWithLowercasedName($expr, 'true'); } public function isNull(Expr $expr) : bool { return $this->isConstantWithLowercasedName($expr, 'null'); } private function isConstantWithLowercasedName(Node $node, string $name) : bool { if (!$node instanceof ConstFetch) { return \false; } return $node->name->toLowerString() === $name; } }