for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
+------------------------------------------------------------------------+
| Plinker-RPC PHP |
| Copyright (c)2017-2018 (https://github.com/plinker-rpc/core) |
| This source file is subject to MIT License |
| that is bundled with this package in the file LICENSE. |
| |
| If you did not receive a copy of the license and are unable to |
| obtain it through the world-wide-web, please send an email |
| to [email protected] so we can send you a copy immediately. |
| Authors: Lawrence Cherone <[email protected]> |
*/
namespace Plinker\Core\Endpoint;
/**
* Plinker\Core\Endpoint\Test
final class Test
{
* Class construct
*
* @param array $config - Config array which holds object configuration
* @return void
public function __construct($config)
$config
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public function __construct(/** @scrutinizer ignore-unused */ $config)
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
}
public function this()
return $this;
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.