for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author neun
* @since 2016-07-09
*/
class TestCellHelper 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 testBuildString()
$string = \OneSheet\CellHelper::buildString(33, 44, "987456");
$this->assertEquals('<c r="AS33" s="0"><v>987456</v></c>', $string);
$string = \OneSheet\CellHelper::buildString(77, 2222, "some text", 2);
$this->assertEquals('<c r="CGM77" s="2" t="inlineStr"><is><t>some text</t></is></c>', $string);
$string = \OneSheet\CellHelper::buildString(1, 0, "this & that", 1);
$this->assertEquals('<c r="A1" s="1" t="inlineStr"><is><t>this & that</t></is></c>', $string);
}
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.