22use Rector\Core\Rector\AbstractRector;
23use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
24use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
25use PHPStan\Type\ObjectType;
31 return [\PhpParser\Node\Expr\Include_::class];
39 if (!$this->isObjectType($node,
new ObjectType(Node\Expr\Assign::class))) {
40 $this->nodeRemover->removeNode($node);
48 return new RuleDefinition(
49 'Remove requires and includes',
53 'require_once "./..."',
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...