Commit Graph

11 Commits

Author SHA1 Message Date
Laurent Destailleur
5dae5b57a0 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-05-17 12:27:46 +02:00
Alexandre Janniaux
df0adc391d FIX test/phpunit: add $name to __construct()
Fix the following errors when running recent phpunit:

    Message:  Too few arguments to function PHPUnit\Framework\TestCase::__construct(), 0 passed in
    dolibarr/test/phpunit/DateLibTzFranceTest.php on line 63 and exactly
    1 expected Location: phar:///usr/share/webapps/bin/phpunit.phar/phpunit/Framework/TestCase.php:265

Indeed, the old constructor had an optional $name='' parameter but the
new constructor reads like this:

    public function __construct(string $name)

and the parameter is now mandatory.
2023-05-08 16:29:31 +02:00
Alexandre Janniaux
52710d0d5e phpunit: ODFTest: fix errors on ODFTest
PHP Fatal error:  Declaration of ODFTest::setUpBeforeClass() must be
    compatible with PHPUnit\Framework\TestCase::setUpBeforeClass(): void
    in dolibarr/test/phpunit/ODFTest.php on line 82
2023-05-03 09:05:15 +02:00
tnegre
e1c56650eb ODF line generation : compat php < 7.4 2023-03-24 12:11:39 +01:00
tnegre
06c64eea98 Update copyright 2023-03-23 11:10:47 +01:00
tnegre
565e9f0c3d Stickler fix 2023-02-03 15:33:50 +01:00
tnegre
32520599e4 ODT generation : tests cases for PHP < 7.4 2023-02-03 15:16:17 +01:00
Thomas Negre
e10ba35387 Add test case to lock/explain behavior on <h3> heading tags. 2022-11-23 12:01:21 +01:00
Thomas Negre
00c62bf150 Consistent management of carriage returns 2022-11-16 14:08:41 +01:00
Thomas Negre
b0548213b9 copyright and doc 2022-11-16 11:44:46 +01:00
Thomas Negre
a0ef602297 Fix ODT generation : htmlspecialchars() was run too many times on some strings. 2022-11-16 11:25:08 +01:00