| Conditions | 1 |
| Paths | 1 |
| Total Lines | 5 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 45 | public function admin_notice() { |
||
| 46 | echo '<div class="error">'; |
||
| 47 | echo '<p>'.sprintf(__('Unfortunately, <strong>%s</strong> can not run on PHP versions older than '.$this->minimum_version.'. Read more information about <a href="http://www.wpupdatephp.com/update/" target="_blank">how you can update</a>'), 'Auto Load Next Post').'.</p>'; |
||
| 48 | echo '</div>'; |
||
| 49 | } |
||
| 50 | } |
||
| 51 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.