for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use LTDBeget\dns\configurator\Zone;
/**
* @author: Viskov Sergey
* @date: 12.04.16
* @time: 3:10
*/
class ExampleTest extends PHPUnit_Framework_TestCase
You can fix this by adding a namespace to your class:
namespace YourVendor; class YourClass { }
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.
{
public function testZone()
$data = file_get_contents(__DIR__ . "/../dns/zones/zone.conf");
$zone = Zone::fromString("voksiv.ru.", $data);
$zone->toArray();
$zone->__toString();
$zone->validate();
}
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.