for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Padawan\Domain\Project;
use Padawan\Domain\Scope\FileScope;
/**
* Class File
*/
class File
{
/** @var FileScope */
private $_scope;
private $_path;
private $hash;
private $name;
$name
This check marks private properties in classes that are never used. Those properties can be removed.
public function __construct($path)
$this->_path = $path;
}
public function updateScope(FileScope $scope, $hash)
$this->_scope = $scope;
$this->hash = $hash;
* @return FileScope
public function scope()
return $this->_scope;
public function path()
return $this->_path;
public function isChanged($hash)
return $this->hash !== $hash;
This check marks private properties in classes that are never used. Those properties can be removed.