Skip to content

Commit

Permalink
Merge pull request #11 from ekosogin/php-8
Browse files Browse the repository at this point in the history
  • Loading branch information
EugenGanshorn authored Sep 20, 2023
2 parents 46d8325 + e21ab45 commit 76943b8
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 34 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
language: php

php:
- 7.3
- 7.4
- 8.0
- 8.1
- 8.2

before_script:
- composer install --no-interaction
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Coverage Status](https://coveralls.io/repos/github/EugenGanshorn/GuzzleBundleRetryPlugin/badge.svg?branch=master)](https://coveralls.io/github/EugenGanshorn/GuzzleBundleRetryPlugin?branch=master)

## Requirements
- PHP 7.3 or above
- PHP 8.0 or above
- [Guzzle Bundle][1]
- [Guzzle Retry middleware][2]

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@
}
],
"require": {
"php": "^7.3 || ^8.0",
"php": "^8.0",
"guzzlehttp/guzzle": "^6.3|^7.0",
"eightpoints/guzzle-bundle": "^7.6|^8.0",
"caseyamcl/guzzle_retry_middleware": "^2.2",
"symfony/dependency-injection": "^4.0|^5.0|^6.0"
},
"require-dev": {
"phpunit/phpunit": "^8.1",
"friendsofphp/php-cs-fixer": "^2.15",
"php-coveralls/php-coveralls": "^2.1"
"php-coveralls/php-coveralls": "^2.1",
"phpunit/phpunit": "^9.6"
},
"autoload": {
"psr-4": {
Expand Down
48 changes: 20 additions & 28 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,31 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.1/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"
>
<php>
<ini name="error_reporting" value="-1" />
<!-- define your env variables for the test env here -->
</php>

<testsuites>
<testsuite name="Project Test Suite">
<directory>tests/</directory>
</testsuite>
</testsuites>

<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="coverage-html" target="build/coverage"/>
</logging>

<filter>
<whitelist>
<directory>./src/</directory>
</whitelist>
</filter>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals="false" colors="true" bootstrap="vendor/autoload.php">
<coverage>
<include>
<directory>./src/</directory>
</include>
<report>
<clover outputFile="build/logs/clover.xml"/>
<html outputDirectory="build/coverage"/>
</report>
</coverage>
<php>
<ini name="error_reporting" value="-1"/>
<!-- define your env variables for the test env here -->
</php>
<testsuites>
<testsuite name="Project Test Suite">
<directory>tests/</directory>
</testsuite>
</testsuites>
<logging/>
</phpunit>

0 comments on commit 76943b8

Please sign in to comment.