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\TextareaField;
use SilverStripe\MultiForm\Models\MultiFormStep;
class MultiFormTestStepTwo extends MultiFormStep implements TestOnly
{
private static $next_steps = MultiFormTestStepThree::class;
$next_steps
This check marks private properties in classes that are never used. Those properties can be removed.
public function getFields()
return new FieldList(
new TextareaField('Comments', 'Tell us a bit about yourself...')
);
}
This check marks private properties in classes that are never used. Those properties can be removed.