Make builds reproducible
By committing composer.lock, we make sure that dependencies are locked to a given version. This ensures that builds are reproducible and deterministic. Also, fixes some phpstan issues, that appeared with the latest version of PHPStan.
This commit is contained in:
1 parent
0739e044da
commit
ec8d53b13c
4 files changed
+4200
-2
No files matched your search
@@ -362,7 +362,9 @@ class WriterWithStyleTest extends TestCase
|
||||
$styleXfsElements = $this->getXmlSectionFromStylesXmlFile($fileName, 'cellXfs');
|
||||
$this->assertEquals(2, $styleXfsElements->getAttribute('count'), '2 cell xfs present - a default one and a custom one');
|
||||
|
||||
$customFillId = $styleXfsElements->lastChild->getAttribute('fillId');
|
||||
/** @var \DOMElement $lastChildElement */
|
||||
$lastChildElement = $styleXfsElements->lastChild;
|
||||
$customFillId = $lastChildElement->getAttribute('fillId');
|
||||
$this->assertEquals(2, (int) $customFillId, 'The custom fill id should have the index 2');
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user