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