| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | function tests() |
||
| 26 | { |
||
| 27 | |||
| 28 | $this->taskExec('mysql -e "CREATE DATABASE IF NOT EXISTS test_db"')->run(); |
||
| 29 | $this->taskExec('mysql -e "GRANT ALL ON test_db.* to \'root\'@\'%\'"')->run(); |
||
| 30 | $this->taskSvnStack() |
||
| 31 | ->checkout('https://develop.svn.wordpress.org/tags/4.8.3 wp-tests') |
||
| 32 | ->run(); |
||
| 33 | |||
| 34 | $this->setTestConfig(); |
||
| 35 | $this->phpunit(); |
||
| 36 | |||
| 37 | } |
||
| 38 | |||
| 70 | } |
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.