Skip to content

Commit 784438c

Browse files
authored
feat: add support for php 8.3 (#17)
1 parent e3e073c commit 784438c

File tree

3 files changed

+32
-3
lines changed

3 files changed

+32
-3
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ on:
55
pull_request:
66
workflow_dispatch:
77
schedule:
8-
# “At 17:45 on Friday.”
9-
- cron: '45 17 * * 5'
8+
# “At 12:00 on Wednesdays.”
9+
- cron: '0 12 * * 3'
1010

1111
jobs:
1212
build:
1313
name: Tests PHP ${{ matrix.php-version }}
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
php-version: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
17+
php-version: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
1818

1919
steps:
2020
- uses: actions/checkout@v3

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<a href="https://github.com/rboonzaijer/php-array-to-xml/actions/workflows/tests.yml"><img src="https://shields.io/badge/style-8.0-green?label=php&style=flat-square"></a>
1717
<a href="https://github.com/rboonzaijer/php-array-to-xml/actions/workflows/tests.yml"><img src="https://shields.io/badge/style-8.1-green?label=php&style=flat-square"></a>
1818
<a href="https://github.com/rboonzaijer/php-array-to-xml/actions/workflows/tests.yml"><img src="https://shields.io/badge/style-8.2-green?label=php&style=flat-square"></a>
19+
<a href="https://github.com/rboonzaijer/php-array-to-xml/actions/workflows/tests.yml"><img src="https://shields.io/badge/style-8.3-green?label=php&style=flat-square"></a>
1920

2021
</p>
2122

tests/phpunit-8.3.xml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- PHPUnit 10 >= PHP 8.1 (https://phpunit.de/supported-versions.html) -->
3+
<phpunit
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
backupGlobals="false"
6+
bootstrap="./../vendor/autoload.php"
7+
colors="true"
8+
processIsolation="false"
9+
stopOnFailure="false"
10+
cacheResult="false"
11+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
12+
cacheDirectory=".phpunit.cache"
13+
backupStaticProperties="false">
14+
<testsuites>
15+
<testsuite name="PhpArrayToXml Test Suite">
16+
<directory>./../tests/</directory>
17+
</testsuite>
18+
</testsuites>
19+
<source>
20+
<include>
21+
<directory>./../src</directory>
22+
</include>
23+
<exclude>
24+
<directory>./../vendor</directory>
25+
<directory>./../tests</directory>
26+
</exclude>
27+
</source>
28+
</phpunit>

0 commit comments

Comments
 (0)