Skip to content

Commit 13dc25c

Browse files
committed
Add required PHP extensions to GitHub Actions workflows
Updated workflows to include necessary PHP extensions (dom, json, libxml, mbstring, xml, xmlwriter, openssl) for better compatibility and functionality. Adjusted timestamps in the clover.xml file to reflect recent changes.
1 parent 9e8cfbe commit 13dc25c

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

.github/workflows/php-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
with:
2323
php-version: 8.4
2424
coverage: xdebug
25+
extensions: dom, json, libxml, mbstring, xml, xmlwriter, openssl
2526

2627
- name: Validate composer.json and composer.lock
2728
run: composer validate --strict

.github/workflows/phpstan-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
uses: shivammathur/setup-php@v2
2121
with:
2222
php-version: 8.4
23+
extensions: dom, json, libxml, mbstring, xml, xmlwriter, openssl
2324

2425
- name: Cache Composer packages
2526
id: composer-cache

.github/workflows/phpunit-coverage-badge.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
with:
2626
php-version: ${{ matrix.php-versions }}
2727
coverage: xdebug
28+
extensions: dom, json, libxml, mbstring, xml, xmlwriter, openssl
2829

2930
- name: Install Dependencies
3031
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist

clover.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<coverage generated="1735395498">
3-
<project timestamp="1735395498">
2+
<coverage generated="1735409029">
3+
<project timestamp="1735409029">
44
<package name="Nuxtifyts\PhpDto\Attributes\Property">
55
<file name="/Users/faroukbraik/Dev/php-dto/src/Attributes/Property/Aliases.php">
66
<class name="Nuxtifyts\PhpDto\Attributes\Property\Aliases" namespace="Nuxtifyts\PhpDto\Attributes\Property">

0 commit comments

Comments
 (0)