![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/cartforge.co/vendor/phpmd/phpmd/src/main/php/PHPMD/Node/ |
<?php namespace PHPMD\Node; class NodeInfo { /** * The full filepath of this violation * * @readonly * @var string|null */ public $fileName; /** * Namespace of the owning/context class or interface of this violation. * * @readonly * @var string */ public $namespaceName; /** * Name of the owning/context class or interface of this violation. * * @readonly * @var string|null */ public $className; /** * The name of a method or <b>null</b> when this violation has no method * context. * * @readonly * @var string|null */ public $methodName; /** * The name of a function or <b>null</b> when this violation has no function * context. * * @readonly * @var string|null */ public $functionName; /** * The start line number of this violation * * @readonly * @var int */ public $beginLine; /** * The end line number of this violation * * @readonly * @var int */ public $endLine; /** * @param string|null $fileName * @param string $namespaceName * @param string|null $className * @param string|null $methodName * @param string|null $functionName * @param int $beginLine * @param int $endLine */ public function __construct( $fileName, $namespaceName, $className, $methodName, $functionName, $beginLine, $endLine ) { $this->fileName = $fileName; $this->namespaceName = $namespaceName; $this->className = $className; $this->methodName = $methodName; $this->functionName = $functionName; $this->beginLine = $beginLine; $this->endLine = $endLine; } }