| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | function tests() |
||
| 11 | { |
||
| 12 | |||
| 13 | $this->taskExec('mysql -e "CREATE DATABASE IF NOT EXISTS test_db"')->run(); |
||
| 14 | $this->taskExec('mysql -e "GRANT ALL ON test_db.* to \'root\'@\'%\'"')->run(); |
||
| 15 | $this->taskSvnStack() |
||
| 16 | ->checkout('https://develop.svn.wordpress.org/tags/4.8.3 wp-tests') |
||
| 17 | ->run(); |
||
| 18 | |||
| 19 | $this->setTestConfig(); |
||
| 20 | $this->phpunit(); |
||
| 21 | |||
| 22 | } |
||
| 23 | |||
| 54 | } |
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.