unfulvio /
wp-php-console
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
| 2 | |||
| 3 | class AdminTestCest { |
||
|
0 ignored issues
–
show
|
|||
| 4 | |||
| 5 | |||
| 6 | public function TestPluginsPage( AcceptanceTester $I ) { |
||
| 7 | |||
| 8 | $I->wantTo( 'See if WP PHP Console is listed in Plugins page' ); |
||
| 9 | $I->amOnPluginsPage(); |
||
| 10 | $I->seePluginActivated( 'wp-php-console' ); |
||
| 11 | } |
||
| 12 | |||
| 13 | |||
| 14 | } |
||
| 15 |
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.