File: Tests/bootstrap.php

Recommend this page to a friend!
  Classes of Roni  >  Easy PHP Bangla Date  >  Tests/bootstrap.php  >  Download  
File: Tests/bootstrap.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Easy PHP Bangla Date
Extends DateTime class to format Bangla dates
Author: By
Last change:
Date: 2 years ago
Size: 687 bytes
 

Contents

Class file image Download
<?php

/*
 * This file is part of the XiideaEasyAuditBundle package.
 *
 * (c) Xiidea <http://www.xiidea.net>
 *
 * This source file is subject to the MIT license that is bundled
 * with this source code in the file LICENSE.
 */

if (!class_exists('PHPUnit_Framework_TestCase') ||
   
version_compare(PHPUnit_Runner_Version::id(), '3.6') < 0
) {
    die(
'PHPUnit framework is required, at least 3.6 version');
}

if (!
class_exists('PHPUnit_Framework_MockObject_MockBuilder')) {
    die(
'PHPUnit MockObject plugin is required, at least 1.0.8 version');
}

date_default_timezone_set("Asia/Dhaka");

$vendor = realpath(__DIR__ . '/../vendor');

$loader = require($vendor.'/autoload.php');



For more information send a message to info at phpclasses dot org.