| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 6 | public function TestPluginActivationDeactivation( AcceptanceTester $I ) { |
||
| 7 | |||
| 8 | $I->wantTo( 'See if WP PHP Console is listed in Plugins page' ); |
||
| 9 | |||
| 10 | $I->amOnPluginsPage(); |
||
| 11 | |||
| 12 | $I->seePluginActivated( 'wp-php-console' ); |
||
| 13 | |||
| 14 | $I->deactivatePlugin( 'wp-php-console' ); |
||
| 15 | $I->activatePlugin( 'wp-php-console' ); |
||
| 16 | } |
||
| 17 | |||
| 20 |
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.