for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Install GitHub App
<?php
/*
* This file is part of the OverblogGraphQLBundle package.
*
* (c) Overblog <http://github.com/overblog/>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Overblog\GraphQLBundle\Tests\Resolver;
class Toto
{
const PRIVATE_PROPERTY_WITH_GETTER_VALUE = 'IfYouWantMeUseMyGetter';
const PRIVATE_PROPERTY_WITH_GETTER2_VALUE = 'IfYouWantMeUseMyGetter2';
private $privatePropertyWithoutGetter = 'ImNotAccessibleFromOutside:D';
$privatePropertyWithoutGetter
This check marks private properties in classes that are never used. Those properties can be removed.
private $privatePropertyWithGetter = self::PRIVATE_PROPERTY_WITH_GETTER_VALUE;
private $private_property_with_getter2 = self::PRIVATE_PROPERTY_WITH_GETTER2_VALUE;
public $name = 'public';
/**
* @return string
public function getPrivatePropertyWithGetter()
return $this->privatePropertyWithGetter;
}
public function getPrivatePropertyWithGetter2()
return $this->private_property_with_getter2;
public function resolve()
return func_get_args();
This check marks private properties in classes that are never used. Those properties can be removed.