| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 | --TEST--Check for vtiful presence--SKIPIF--<?php if (!extension_loaded("xlswriter")) print "skip"; ?>--FILE--<?php$config = [    'path' => './tests',];$lastFilePath = NULL;for ($index = 0; $index < 100; $index++) {    $fileObject = new \Vtiful\Kernel\Excel($config);    $fileObject = $fileObject->fileName('tutorial' . $index . '.xlsx');    $fileHandle = $fileObject->getHandle();    $format     = new \Vtiful\Kernel\Format($fileHandle);    $alignStyle = $format->align(        \Vtiful\Kernel\Format::FORMAT_ALIGN_CENTER,        \Vtiful\Kernel\Format::FORMAT_ALIGN_VERTICAL_CENTER    )->toResource();    $lastFilePath = $fileObject->header(['name', 'age'])        ->data([            ['viest', 21],            ['wjx', 21],        ])        ->setRow('A1', 50, $alignStyle)        ->setRow('A2:A3', 50, $alignStyle)        ->output();}var_dump($lastFilePath);?>--CLEAN--<?phpfor ($index = 0; $index < 100; $index++) {    @unlink(__DIR__ . '/tutorial' . $index . '.xlsx');}?>--EXPECT--string(23) "./tests/tutorial99.xlsx"
 |