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 }}
|
${{ steps.composer_diff.outputs.composer_diff }}
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
|||||||
7
.github/workflows/php.yml
vendored
7
.github/workflows/php.yml
vendored
@@ -13,9 +13,9 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
operating-system: ['ubuntu-latest']
|
operating-system: ["ubuntu-latest"]
|
||||||
php-versions: ['8.1']
|
php-versions: ["8.3"]
|
||||||
phpunit-versions: ['latest']
|
phpunit-versions: ["latest"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
@@ -47,4 +47,3 @@ jobs:
|
|||||||
|
|
||||||
- name: Run test suite
|
- name: Run test suite
|
||||||
run: composer test
|
run: composer test
|
||||||
|
|
||||||
|
|||||||
@@ -15,15 +15,15 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^8.1",
|
"php": "^8.3",
|
||||||
"ext-curl": "*",
|
"ext-curl": "*",
|
||||||
"ext-zlib": "*",
|
"ext-zlib": "*",
|
||||||
"league/uri": "7.4.0"
|
"league/uri": "^7"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"ergebnis/composer-normalize": "2.42.0",
|
"ergebnis/composer-normalize": "^2",
|
||||||
"phpstan/phpstan": "1.10.58",
|
"phpstan/phpstan": "^1",
|
||||||
"phpunit/phpunit": "10.5.10",
|
"phpunit/phpunit": "^11",
|
||||||
"roave/security-advisories": "dev-latest"
|
"roave/security-advisories": "dev-latest"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
|||||||
12
phpunit.xml
12
phpunit.xml
@@ -1,13 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?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">
|
<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">
|
||||||
<coverage>
|
|
||||||
<include>
|
|
||||||
<directory suffix=".php">./src</directory>
|
|
||||||
</include>
|
|
||||||
</coverage>
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="Test Suite">
|
<testsuite name="Test Suite">
|
||||||
<directory suffix="Test.php">./tests</directory>
|
<directory suffix="Test.php">./tests</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
|
<source>
|
||||||
|
<include>
|
||||||
|
<directory suffix=".php">./src</directory>
|
||||||
|
</include>
|
||||||
|
</source>
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
|||||||
Reference in New Issue
Block a user