for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SilverStripe\MultiForm\Tests\Stubs;
use SilverStripe\Control\Controller;
use SilverStripe\Core\Injector\Injector;
use SilverStripe\Dev\TestOnly;
class MultiFormTestController extends Controller implements TestOnly
{
private static $url_segment = 'MultiFormTestController';
$url_segment
This check marks private properties in classes that are never used. Those properties can be removed.
public function Form()
return Injector::inst()->get(MultiFormTestForm::class, false, [$this, 'Form'])
->setHTMLID(MultiFormTestForm::class);
}