/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/DoctrineEntityAnalyzer.php (2039B)
phpDocInfoFactory = $phpDocInfoFactory; } public function hasClassAnnotation(Class_ $class) : bool { $phpDocInfo = $this->phpDocInfoFactory->createFromNode($class); if (!$phpDocInfo instanceof PhpDocInfo) { return \false; } return $phpDocInfo->hasByAnnotationClasses(self::DOCTRINE_MAPPING_CLASSES); } public function hasClassReflectionAttribute(ClassReflection $classReflection) : bool { /** @var ReflectionClass $nativeReflectionClass */ $nativeReflectionClass = $classReflection->getNativeReflection(); // skip early in case of no attributes at all if ((\method_exists($nativeReflectionClass, 'getAttributes') ? $nativeReflectionClass->getAttributes() : []) === []) { return \false; } foreach (self::DOCTRINE_MAPPING_CLASSES as $doctrineMappingClass) { // skip entities if ((\method_exists($nativeReflectionClass, 'getAttributes') ? $nativeReflectionClass->getAttributes($doctrineMappingClass) : []) !== []) { return \true; } } return \false; } }