Re: [ANNOUNCEMENT] Console_Table-1.0.6 (stable) Released.
| From: | Laurent Laville | Date: | Sat, 20 Jan 2007 09:37:14 +0000 |
| Subject: | Re: [ANNOUNCEMENT] Console_Table-1.0.6 (stable) Released. | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-26386@lists.php.net to get a copy of this message | ||
First, thanks Jan Schneider to found a compatible solution that allow to support multi-line on both headers and rows data.
Second, I just want to keep you aware, that there is still a very little problem with unit test on multiline.
I've run this command line:
pear run-tests -p Console_Table
and got
TOTAL TIME: 00:01
6 PASSED TESTS
0 SKIPPED TESTS
1 FAILED TESTS:
c:\wamp\php4\pear\tests\Console_Table\tests\multiline.phpt
with output
---- ACTUAL OUTPUT
<br />
<b>Warning</b>: main(c:\wamp\php4\pear\tests\Console_Table\tests/../Table.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in <b>c:\wamp\php4\pear\tests\Console_Table\tests\multiline.php</b> on line <b>3</b><br />
<br />
<b>Fatal error</b>: main() [<a href='function.require'>function.require</a>]: Failed opening required 'c:\wamp\php4\pear\tests\Console_Table\tests/../Table.php' (include_path='.;c:\wamp\php4\includes;c:\wamp\php4\pear;c:\wamp\php4\includes\Smarty') in <b>c:\wamp\php4\pear\tests\Console_Table\tests\multiline.php</b> on line <b>3</b><br />
---- FAILED
This is due to relative path introduced in version 1.0.6
require_once dirname(__FILE__) . '/../Table.php';
While version 1.0.5 was correct
require_once 'Console/Table.php';
regards
Laurent Laville
The new PEAR package Console_Table-1.0.6 (stable) has been released at http://pear.php.net/. Release notes ------------- * Add support for multi-line headers (Request #8615).