Your project should not contain unused code 4

More information: https://insight.symfony.com/what-we-analyse/php.unused_local_variable_or_private_member

  1. * @param string $name
  2. * @param string $entry
  3. * @param \Throwable|null $prev
  4. */
  5. public function __construct(
  6. private int $position,
    Property Projek\Container\UnresolvableArgumentException::$position is never read, only written.
    Time to fix: about 15 minutes
    Read doc Permalink Copy Prompt
    Last edited by Fery Wardiyanto
  7. private string $name,
  8. private string $entry,
  9. private ReflectionFunction|ReflectionMethod $ref,
  10. ?\Throwable $prev = null,
  11. ) {
  1. * @param \Throwable|null $prev
  2. */
  3. public function __construct(
  4. private int $position,
  5. private string $name,
  6. private string $entry,
    Property Projek\Container\UnresolvableArgumentException::$entry is never read, only written.
    Time to fix: about 15 minutes
    Read doc Permalink Copy Prompt
    Last edited by Fery Wardiyanto
  7. private ReflectionFunction|ReflectionMethod $ref,
  8. ?\Throwable $prev = null,
  9. ) {
  10. $this->caller = $ref instanceof ReflectionMethod
  11. ? $ref->getDeclaringClass()->getName() . '::' . $ref->getName()
  1. */
  2. public function __construct(
  3. private int $position,
  4. private string $name,
  5. private string $entry,
  6. private ReflectionFunction|ReflectionMethod $ref,
    Property Projek\Container\UnresolvableArgumentException::$ref is never read, only written.
    Time to fix: about 15 minutes
    Read doc Permalink Copy Prompt
    Last edited by Fery Wardiyanto
  7. ?\Throwable $prev = null,
  8. ) {
  9. $this->caller = $ref instanceof ReflectionMethod
  10. ? $ref->getDeclaringClass()->getName() . '::' . $ref->getName()
  11. : $ref->getName();
  1. * @param string $entry
  2. * @param \Throwable|null $prev
  3. */
  4. public function __construct(
  5. private int $position,
  6. private string $name,
    Property Projek\Container\UnresolvableArgumentException::$name is never read, only written.
    Time to fix: about 15 minutes
    Read doc Permalink Copy Prompt
    Last edited by Fery Wardiyanto
  7. private string $entry,
  8. private ReflectionFunction|ReflectionMethod $ref,
  9. ?\Throwable $prev = null,
  10. ) {
  11. $this->caller = $ref instanceof ReflectionMethod