1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-10 15:09:04 +01:00
psalm/src/Psalm/Issue/UnusedMethod.php

23 lines
452 B
PHP
Raw Normal View History

<?php
namespace Psalm\Issue;
use Psalm\CodeLocation;
use function strtolower;
2022-02-05 23:27:18 +01:00
final class UnusedMethod extends MethodIssue
{
2020-09-20 18:54:46 +02:00
public const ERROR_LEVEL = -2;
public const SHORTCODE = 76;
public function __construct(
string $message,
CodeLocation $code_location,
string $method_id
) {
parent::__construct($message, $code_location, $method_id);
$this->dupe_key = strtolower($method_id);
}
}