for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of dispositif/wikibot application
* 2019 © Philippe M. <[email protected]>
* For the full copyright and MIT license information, please view the LICENSE file.
*/
declare(strict_types=1);
namespace App\Application;
* Juste pour faire des analyses de texte
* Class DataAnalysis
*
* @package App\Application
class DataAnalysis
{
* @param string|null $text
* @param string|null $title
public function process(?string $text = null, ?string $title = null): void
$text
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public function process(/** @scrutinizer ignore-unused */ ?string $text = null, ?string $title = null): void
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
$title
public function process(?string $text = null, /** @scrutinizer ignore-unused */ ?string $title = null): void
// $this->text = $text;
// $this->title = $title;
}
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.