Completed
Push — master ( 9dab44...8bd79e )
by Robbie
02:00
created

tests/Stubs/CommentableItemDisabled.php (4 issues)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
namespace SilverStripe\Comments\Tests\Stubs;
4
5
class CommentableItemDisabled extends CommentableItem
6
{
7
    private static $defaults = array(
0 ignored issues
show
Comprehensibility introduced by
Consider using a different property name as you override a private property of the parent class.
Loading history...
The property $defaults is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
8
        'ProvideComments' => false,
9
        'ModerationRequired' => 'None',
10
        'CommentsRequireLogin' => false
11
    );
12
13
    private static $table_name = 'CommentableItemDisabled';
0 ignored issues
show
Comprehensibility introduced by
Consider using a different property name as you override a private property of the parent class.
Loading history...
The property $table_name is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
14
}
15