for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Yiisoft\Injector\Tests\Support;
class ContextMethod
{
private function privateMethod(): bool
privateMethod()
This check looks for private methods that have been defined, but are not used inside the class.
return true;
}
protected function protectedMethod(): bool
private static function staticMethod(): string
staticMethod()
return static::class;
This check looks for private methods that have been defined, but are not used inside the class.