mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-22 08:09:15 +00:00
Rector AddParamTypeBasedOnPHPUnitDataProviderRector
And quite a bit more manual changes. The idea is that typing of our tests can be a bit more loose, so we assume PHPDoc is mostly correct. If that happens to be wrong, it should be caught by the tests themselves.
This commit is contained in:
@@ -64,11 +64,8 @@ class HtmlTest extends TestCase
|
||||
|
||||
/**
|
||||
* @dataProvider providerCanReadVerySmallFile
|
||||
*
|
||||
* @param bool $expected
|
||||
* @param string $content
|
||||
*/
|
||||
public function testCanReadVerySmallFile($expected, $content): void
|
||||
public function testCanReadVerySmallFile(bool $expected, string $content): void
|
||||
{
|
||||
$filename = HtmlHelper::createHtml($content);
|
||||
$reader = new Html();
|
||||
|
||||
Reference in New Issue
Block a user