2017-01-27 07:23:12 +01:00
|
|
|
<?php
|
2021-12-15 04:58:32 +01:00
|
|
|
|
2017-01-27 07:23:12 +01:00
|
|
|
namespace Psalm\Issue;
|
|
|
|
|
2021-12-03 20:11:20 +01:00
|
|
|
use Psalm\CodeLocation;
|
|
|
|
|
2018-01-07 21:15:38 +01:00
|
|
|
class MissingConstructor extends CodeIssue
|
2017-01-27 07:23:12 +01:00
|
|
|
{
|
2020-09-20 18:54:46 +02:00
|
|
|
public const ERROR_LEVEL = 2;
|
|
|
|
public const SHORTCODE = 73;
|
2020-09-11 04:44:35 +02:00
|
|
|
|
2021-12-03 20:11:20 +01:00
|
|
|
public function __construct(string $message, CodeLocation $code_location, ?string $dupe_key)
|
2020-09-11 04:44:35 +02:00
|
|
|
{
|
|
|
|
parent::__construct($message, $code_location);
|
|
|
|
$this->dupe_key = $dupe_key;
|
|
|
|
}
|
2017-01-27 07:23:12 +01:00
|
|
|
}
|