Commit e974feb
committed
Fix phpunit tests in PHP 5.2, where the __DIR__ is not defined.
Per http://php.net/manual/en/language.constants.predefined.php the `__DIR__` is an equivalent to `dirname(__FILE__)`. This commit is replacing `__DIR__` by `dirname(__FILE___)`1 parent 23d1e51 commit e974feb
File tree
1 file changed
+2
-2
lines changed- WordPressVIPMinimum/Sniffs/Variables
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
| 382 | + | |
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
| 394 | + | |
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
| |||
0 commit comments