for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace MyTester;
/**
* Test warning info
*
* @author Jakub Konečný
*/
class TestWarning
{
use \Nette\SmartObject;
private string $name;
private string $text;
public function __construct(string $name, string $text)
$this->name = $name;
$this->text = $text;
}
public function __toString(): string
return "$this->name passed with warning: $this->text";