for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
class RowHelperTest 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 testBuildRow()
$string = '<row r="1" spans="1:3"><c r="A1" s="0" t="inlineStr"><is><t>123.321</t></is></c><c r="B1" s="0"><v>123</v></c><c r="C1" s="0" t="inlineStr"><is><t>cool & quiet</t></is></c></row>';
$data = array('123.321', 123, 'cool & quiet');
$this->assertEquals($string, \OneSheet\RowHelper::buildRow($data));
}
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.