mirror of
https://github.com/ivuorinen/curly.git
synced 2026-01-26 03:23:59 +00:00
feat!: bump to php 8.3, upgrade phpunit
This commit is contained in:
1
.github/workflows/composer-diff.yml
vendored
1
.github/workflows/composer-diff.yml
vendored
@@ -32,4 +32,3 @@ jobs:
|
||||
${{ steps.composer_diff.outputs.composer_diff }}
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
7
.github/workflows/php.yml
vendored
7
.github/workflows/php.yml
vendored
@@ -13,9 +13,9 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
operating-system: ['ubuntu-latest']
|
||||
php-versions: ['8.1']
|
||||
phpunit-versions: ['latest']
|
||||
operating-system: ["ubuntu-latest"]
|
||||
php-versions: ["8.3"]
|
||||
phpunit-versions: ["latest"]
|
||||
|
||||
steps:
|
||||
- name: Setup PHP
|
||||
@@ -47,4 +47,3 @@ jobs:
|
||||
|
||||
- name: Run test suite
|
||||
run: composer test
|
||||
|
||||
|
||||
@@ -15,15 +15,15 @@
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": "^8.1",
|
||||
"php": "^8.3",
|
||||
"ext-curl": "*",
|
||||
"ext-zlib": "*",
|
||||
"league/uri": "7.4.0"
|
||||
"league/uri": "^7"
|
||||
},
|
||||
"require-dev": {
|
||||
"ergebnis/composer-normalize": "2.42.0",
|
||||
"phpstan/phpstan": "1.10.58",
|
||||
"phpunit/phpunit": "10.5.10",
|
||||
"ergebnis/composer-normalize": "^2",
|
||||
"phpstan/phpstan": "^1",
|
||||
"phpunit/phpunit": "^11",
|
||||
"roave/security-advisories": "dev-latest"
|
||||
},
|
||||
"autoload": {
|
||||
|
||||
12
phpunit.xml
12
phpunit.xml
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true" cacheDirectory=".phpunit.cache">
|
||||
<coverage>
|
||||
<include>
|
||||
<directory suffix=".php">./src</directory>
|
||||
</include>
|
||||
</coverage>
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.0/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true" cacheDirectory=".phpunit.cache">
|
||||
<testsuites>
|
||||
<testsuite name="Test Suite">
|
||||
<directory suffix="Test.php">./tests</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<source>
|
||||
<include>
|
||||
<directory suffix=".php">./src</directory>
|
||||
</include>
|
||||
</source>
|
||||
</phpunit>
|
||||
|
||||
Reference in New Issue
Block a user