Upgrade to PHP 8.1
This commit is contained in:
1 parent
2499dc46b7
commit
27c6845b4b
2 files changed
+13
-13
No files matched your search
@@ -79,7 +79,7 @@ class CellValueFormatterTest extends TestCase
|
||||
->method('getAttribute')
|
||||
->will($this->returnValueMap([
|
||||
[CellValueFormatter::XML_ATTRIBUTE_TYPE, CellValueFormatter::CELL_TYPE_NUMERIC],
|
||||
[CellValueFormatter::XML_ATTRIBUTE_STYLE_ID, 123],
|
||||
[CellValueFormatter::XML_ATTRIBUTE_STYLE_ID, '123'],
|
||||
]));
|
||||
|
||||
$nodeMock
|
||||
@@ -88,7 +88,7 @@ class CellValueFormatterTest extends TestCase
|
||||
->with(CellValueFormatter::XML_NODE_VALUE)
|
||||
->will($this->returnValue($nodeListMock));
|
||||
|
||||
/** @var StyleManager|\PHPUnit_Framework_MockObject_MockObject $styleManagerMock */
|
||||
/** @var StyleManager|\PHPUnit\Framework\MockObject\MockObject $styleManagerMock */
|
||||
$styleManagerMock = $this->createMock(StyleManager::class);
|
||||
|
||||
$styleManagerMock
|
||||
@@ -149,7 +149,7 @@ class CellValueFormatterTest extends TestCase
|
||||
*/
|
||||
public function testFormatNumericCellValueWithNumbers($value, $expectedFormattedValue, $expectedType)
|
||||
{
|
||||
/** @var StyleManager|\PHPUnit_Framework_MockObject_MockObject $styleManagerMock */
|
||||
/** @var StyleManager|\PHPUnit\Framework\MockObject\MockObject $styleManagerMock */
|
||||
$styleManagerMock = $this->createMock(StyleManager::class);
|
||||
$styleManagerMock
|
||||
->expects($this->once())
|
||||
|
||||
Reference in new issue
Block a user