Skip to content

Commit 8ab784e

Browse files
committed
Update dependencies and supported PHP versions.
1 parent 51749c8 commit 8ab784e

File tree

4 files changed

+28
-34
lines changed

4 files changed

+28
-34
lines changed

.github/workflows/unit.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
php-version:
19-
- "8.1"
20-
- "8.2"
2119
- "8.3"
20+
- "8.4"
2221

2322
steps:
2423
- name: "Checkout"
@@ -27,11 +26,11 @@ jobs:
2726
- name: "Install PHP with extensions"
2827
uses: "shivammathur/setup-php@v2"
2928
with:
30-
php-version: "${{ matrix.php-version }}"
31-
php_extensions: "xdebug"
29+
php-version: "${{ matrix.php-version }}"
30+
extensions: "xdebug"
3231

3332
- name: "Cache dependencies installed with Composer"
34-
uses: "actions/cache@v2"
33+
uses: "actions/cache@v4"
3534
with:
3635
path: "~/.composer/cache"
3736
key: "php${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('**/composer.json') }}"

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ A stored procedure loader and wrapper class generator for SQLite in PHP.
99
<th>Legal</th>
1010
<th>Release</th>
1111
<th>Tests</th>
12-
<th>Code</th>
1312
</tr>
1413
</thead>
1514
<tbody>
@@ -27,9 +26,6 @@ A stored procedure loader and wrapper class generator for SQLite in PHP.
2726
<a href="https://github.com/DatabaseStratum/php-stratum-sqlite-pdo/actions/workflows/unit.yml"><img src="https://github.com/DatabaseStratum/php-stratum-sqlite-pdo/actions/workflows/unit.yml/badge.svg" alt="Build Status"/></a><br/>
2827
<a href="https://codecov.io/gh/DatabaseStratum/php-stratum-sqlite-pdo"><img src="https://codecov.io/gh/DatabaseStratum/php-stratum-sqlite-pdo/branch/master/graph/badge.svg" alt="Code Coverage"/></a>
2928
</td>
30-
<td>
31-
<a href="https://scrutinizer-ci.com/g/DatabaseStratum/php-stratum-sqlite-pdo/?branch=master"><img src="https://scrutinizer-ci.com/g/DatabaseStratum/php-stratum-sqlite-pdo/badges/quality-score.png?b=master" alt="Scrutinizer Code Quality"/></a>
32-
</td>
3329
</tr>
3430
</tbody>
3531
</table>

composer.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@
1212
],
1313
"license": "MIT",
1414
"require": {
15-
"php": ">=8.1",
15+
"php": ">=8.3",
1616
"ext-json": "*",
1717
"ext-pdo": "*",
18-
"setbased/exception": "^2.3.0",
18+
"setbased/exception": "^2.5.0",
1919
"setbased/helper-cast": "^3.0.1",
20-
"setbased/helper-code-store-php": "^2.6.0",
21-
"setbased/php-stratum-backend": "^6.0.0",
22-
"setbased/php-stratum-common": "^7.0.0",
23-
"setbased/php-stratum-middle": "^5.12.0"
20+
"setbased/helper-code-store-php": "^2.7.0",
21+
"setbased/php-stratum-backend": "^6.2.0",
22+
"setbased/php-stratum-common": "^7.2.0",
23+
"setbased/php-stratum-middle": "^5.13.0"
2424
},
2525
"require-dev": {
26-
"phing/phing": "^3.0.0",
27-
"phpunit/phpunit": "^10.5.35",
28-
"setbased/php-stratum": "^6.3.1"
26+
"phing/phing": "^3.0.1",
27+
"phpunit/phpunit": "^11.5.22",
28+
"setbased/php-stratum": "^6.4.0"
2929
},
3030
"autoload": {
3131
"psr-4": {

phpunit.xml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
<?xml version="1.0"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="test/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3-
<coverage processUncoveredFiles="true">
4-
<include>
5-
<directory suffix=".php">src</directory>
6-
</include>
7-
<exclude>
8-
<directory suffix=".php">vendor/setbased</directory>
9-
</exclude>
10-
<report>
11-
<clover outputFile="test/coverage.xml"/>
12-
<html outputDirectory="test/report"/>
13-
</report>
14-
</coverage>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
4+
displayDetailsOnTestsThatTriggerDeprecations="true"
5+
displayDetailsOnTestsThatTriggerErrors="true"
6+
displayDetailsOnTestsThatTriggerNotices="true"
7+
displayDetailsOnTestsThatTriggerWarnings="true"
8+
displayDetailsOnPhpunitDeprecations="true">
159
<testsuites>
16-
<testsuite name="Tests">
10+
<testsuite name="default">
1711
<directory>test</directory>
1812
</testsuite>
1913
</testsuites>
20-
<logging/>
14+
15+
<source ignoreIndirectDeprecations="true" restrictNotices="true" restrictWarnings="true">
16+
<include>
17+
<directory>src</directory>
18+
</include>
19+
</source>
2120
</phpunit>

0 commit comments

Comments
 (0)