for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Zapheus;
use App\Facades\View;
/**
* Greet Controller
*
* @package App
* @author Rougin Royce Gutib <[email protected]>
*/
class GreetController
{
* Greets a specified name.
* @return string
public function greet($name = 'Stranger')
$data = array('name' => (string) $name);
return View::render('greet', $data);
App\Facades\View::render()
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
return View::/** @scrutinizer ignore-call */ render('greet', $data);
}
* Shouts the specified name.
public function scream()
return strtoupper($this->greet());