Skip to content

Commit

Permalink
Merge pull request #1 from CoverGenius/feature/symfony-6-support
Browse files Browse the repository at this point in the history
Add symfony 6 support
  • Loading branch information
specialtactics authored Oct 6, 2022
2 parents 180d5b6 + 2d8b1ac commit 6fd0055
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ tests/fixtures/cassette*
composer.lock
.phpunit.result.cache
.php-cs-fixer.cache
.idea
14 changes: 11 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "php-vcr/php-vcr",
"name": "covergenius/php-vcr",
"description": "Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.",
"license": "MIT",
"scripts": {
Expand All @@ -12,14 +12,17 @@
{
"name": "Adrian Philipp",
"email": "[email protected]"
},
{
"name": "Cover Genius Engineering Team"
}
],
"require": {
"php": "^8.0",
"ext-curl": "*",
"beberlei/assert": "^3.2.5",
"symfony/yaml": "^3.0|^4.0|^5.0",
"symfony/event-dispatcher": "^5.0"
"symfony/yaml": "^3.0|^4.0|^5.0|^6.0",
"symfony/event-dispatcher": "^5.0|^6.0"
},
"require-dev": {
"guzzlehttp/guzzle": "^7.0",
Expand All @@ -41,5 +44,10 @@
"psr-4": {
"VCR\\Tests\\": "tests"
}
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true
}
}
}
16 changes: 16 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals="false" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" colors="true" bootstrap="tests/bootstrap.php">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>
<testsuites>
<testsuite name="Unit">
<directory>./tests/Unit</directory>
</testsuite>
<testsuite name="Integration">
<directory>./tests/Integration</directory>
</testsuite>
</testsuites>
</phpunit>

0 comments on commit 6fd0055

Please sign in to comment.