Skip to content

Commit b5ff8d1

Browse files
committed
Yet Another Coveralls Experiment
1 parent c6403b0 commit b5ff8d1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/php.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ jobs:
139139
- name: Upload coverage results to Coveralls
140140
if: matrix.php == '8.3'
141141
env:
142-
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
143142
FAILURE_ACTION: "${{ matrix.php == '8.3' }}"
144-
run: |
145-
wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.4.3/php-coveralls.phar
146-
chmod +x php-coveralls.phar
147-
php php-coveralls.phar --coverage_clover=build/clover.xml --json_path=build/coveralls-upload.json -vvv
143+
uses: coverallsapp/github-action@v2
144+
with:
145+
github-token: ${{ secrets.GITHUB_TOKEN }}
146+
file: build/clover.xml
147+
format: clover

src/PhpWord/TemplateProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public function applyXslStyleSheet($xslDomDocument, $xslOptions = [], $xslOption
243243

244244
$xsltProcessor->importStylesheet($xslDomDocument);
245245
if (false === $xsltProcessor->setParameter($xslOptionsUri, $xslOptions)) {
246-
throw new Exception('Could not set values for the given XSL style sheet parameters.');
246+
throw new Exception('Could not set values for the given XSL style sheet parameters.'); // @codeCoverageIgnore
247247
}
248248

249249
$this->tempDocumentHeaders = $this->transformXml($this->tempDocumentHeaders, $xsltProcessor);

0 commit comments

Comments
 (0)