for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PHPSemVerChecker\Operation;
use PhpParser\Node\Stmt;
use PhpParser\Node\Stmt\ClassMethod;
use PHPSemVerChecker\Node\Statement\ClassMethod as PClassMethod;
class ClassMethodRemoved extends ClassMethodOperationUnary {
/**
* @var array
*/
protected $code = [
'class' => ['V006', 'V007', 'V029'],
'interface' => ['V035'],
'trait' => ['V038', 'V039', 'V058'],
];
* @var string
protected $reason = 'Method has been removed.';
}