<?php
-require 'ImageFunctions.php';
+require_once( 'ImageFunctions.php' );
class ImageFunctionsTest extends PHPUnit_Framework_TestCase {
function testFitBoxWidth() {
* These tests should work regardless of $wgCapitalLinks
*/
-require 'Namespace.php';
+require_once( 'Namespace.php' );
class LocalFileTest extends PHPUnit_Framework_TestCase {
function setUp() {
define( 'MEDIAWIKI', true );
define( 'MW_PHPUNIT_TEST', true );
-require_once "$IP/includes/Defines.php";
-require_once "$IP/includes/AutoLoader.php";
-require_once "$IP/LocalSettings.php";
-require_once "$IP/includes/ProfilerStub.php";
-require_once "$IP/includes/GlobalFunctions.php";
-require_once "$IP/includes/Hooks.php";
+require_once( "$IP/includes/Defines.php" );
+require_once( "$IP/includes/AutoLoader.php" );
+require_once( "$IP/LocalSettings.php" );
+require_once( "$IP/includes/ProfilerStub.php" );
+require_once( "$IP/includes/GlobalFunctions.php" );
+require_once( "$IP/includes/Hooks.php" );
+$self = __FILE__;
+require_once( "$IP/includes/Setup.php" );