for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SilverStripe\MultiForm\Tests\Stubs;
use SilverStripe\Dev\TestOnly;
use SilverStripe\Forms\FieldList;
use SilverStripe\Forms\TextField;
use SilverStripe\MultiForm\Models\MultiFormStep;
class MultiFormTestStepThree extends MultiFormStep implements TestOnly
{
private static $is_final_step = true;
$is_final_step
This check marks private properties in classes that are never used. Those properties can be removed.
public function getFields()
return FieldList::create(
new TextField('Test', 'Anything else you\'d like to tell us?')
);
}
This check marks private properties in classes that are never used. Those properties can be removed.