for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Sensorario\Resources;
final class Configurator
{
private $container;
private $resourceName;
private $ranges;
$ranges
This check marks private properties in classes that are never used. Those properties can be removed.
public function __construct(
$resourceName,
Container $container
) {
$this->resourceName = $resourceName;
$this->container = $container;
}
public function allowed()
return $this->container->allowed(
$this->resourceName
);
public function mandatory()
return $this->container->mandatory(
public function defaults()
return $this->container->defaults(
public function rules()
return $this->container->rules(
public function allowedValues()
return $this->container->allowedValues(
public function resourceName()
return $this->resourceName;
public function container()
return $this->container;
public function rewrites()
return $this->container->rewrites();
public function ranges()
return $this->container->ranges(
public function globals()
return $this->container->globals();
This check marks private properties in classes that are never used. Those properties can be removed.