Commit 37bd234
Chore/upstream updates (#8)
* Support for Symfony 6
* TASK: Cleanup GitHub workflows
* FIX: Allow phpstan/extension-install composer plugin
* Cleanup .gitattributes with export-ignore
* TASK: Use composer-install action for workflows
* TASK: Apply codestyle fixes
* FIX: Fix scrutinizer workflow action uploading
* TASK: Added php-xdebug ext to workspace docker container
* FEATURE: Allow lower versions of symfony/event-dispatcher
* TASK: Ignore phpstan error
* FEATURE: Upgrade phpstan
* TASK: Refactor GitHub workflow
* FEATURE: Workspace docker image for php 8.1 added
* FEATURE: Test against php 8.1 with GitHub workflows
* FIX: Fixed several issues with occurred with php >= 8.1
* TASK: Disable failing fast while running phpunit tests
* FIX: Fix phpstan issues and invalid BlackholeTest
* FIX: Raise minimum version of phpunit
* FEATURE: Restructure GitHub Workflow
* FEATURE: Added editorconfig checker
* FIX: Fix editorconfig violations
* TASK: Added .editorconfig to export-ignore via .gitattributes
* FEATURE: Install editorconfig-checker wrapper for php
* TASK: Fix export-ignore for phpstan in .gitattributes
* TASK: Do not exclude defaults for editorconfig checker
* Rework php-vcr#161. Manage request index state in Videorecorder. Enable Cassette to playback and record request/responses at a given index. Do not require Cassette to manage index state.
* $index should not be a required parameter on record(). Avoid unecessary API changes.
* Ensure that the cassette indexes are reset when the cassette is ejected or inserted.
* Use equals not identical operator when comparing the request index to the recording index.
* Spport legacy cassettes. Create a recording index of 0 if no index key exists in the cassette.
* Add comment punctuation.
* Add testPlaybackLegacyCassette() to ensure that legacy cassettes with no index keys playback.
* Add tests ensuring that both legacy (non-indexed) cassettes and indexed cassettes playback multiple identical requests correctly.
* Modify testInsertCassetteEjectExisting() to ensure that resetIndex() is called as part of eject() and insertCassette().
* Remove redundant testPlaybackLegacyCassette().
* Fix indents.
* FEATURE: Added testcase for mixed cassettes
(with and without legacy entries)
* FIX: Fixed remaining phpstan errors
* FIX: Indentions
* FIX: Videorecorder always raised index for identical requests, Cassette have to handle legacy entries
Because the Videorecorder increments the index for each identical requests it also passes it to the cassette,
so the cassette have to handle legacy stored entries. So if no index is present while loading recorded requests
we have to set the index to searched one (instead of zero) to always match (disabled the feature), when all
other matchers match.
* Revert "FEATURE: Added testcase for mixed cassettes"
This reverts commit ce1471b.
* FIX: Fixed remaining phpstan errors
* FIX: README.md badge
* Add CURLINFO_APPCONNECT_TIME to CurlHelper
Fixes php-vcr#309
* Fix CurlHookTest.php
* FIX: Read the whole stream and perform code transformations
First read the whole stream and afterwards perform code transformations.
This will ensure to also replace code, which is divided into chunks while
reading a file.
Fixes php-vcr#268
* FIX: Codestyle
* FIX: Codestyle
* TASK: Update README.md
* TASK: Drop support for php 8.2
Currently, the php-vcr library does not work well with php 8.2
so we drop the support for now until it is fixed.
* TASK: Apply codestyle
* FEATURE: Fix/review phpstan errors
* FEATURE: Custom workspace docker file for php 8.2 added
* FEATURE: Added php 8.2 to GitHub workflow
* TASK: Add support for php 8.2
* TASK: Added support for php greater than 8.2.9
* FIX: Initialized typed property
* Add SOAP extension requirement for running tests
* (tech) add PHP 8.3 support
* FIX: Fixed nullable types
* TASK: Fix phpstan error (by generating new baseline)
* FEATURE: Added php 8.3 workspace docker image
* Add support Symfony 7
* Remove trailing semicolon in Content-Type header
* Adjust SOAP v1.1 header expectation in test
* Fix PHPUnit deprecations
* Fix set_stream_options arguments
* TASK: Apply code style fixes
* FIX: Added new baseline
* FIX: Removed phpstan ignore (there is no error to ignore)
* FIX: Gnerated phpstan baseline
* add PHP 8.4 support
* add support
* fix cs
* skip soap tests due to problem with them
* phpstan, cs
* remove scruitinizer reports
---------
Co-authored-by: nicodemuz <[email protected]>
Co-authored-by: Daniel Hürtgen <[email protected]>
Co-authored-by: Daniel Hürtgen <[email protected]>
Co-authored-by: Brian Wood <[email protected]>
Co-authored-by: oranges13 <[email protected]>
Co-authored-by: Peter <[email protected]>
Co-authored-by: ecourtial <[email protected]>
Co-authored-by: yethee <[email protected]>
Co-authored-by: alexzabolotny <[email protected]>
Co-authored-by: Lars Strojny <[email protected]>
Co-authored-by: Masaki Kawaguchi <[email protected]>1 parent 092de06 commit 37bd234
File tree
57 files changed
+814
-366
lines changed- .github/workflows
- resources/docker/workspace
- 8.0
- 8.1
- 8.2
- 8.3
- 8.4
- src/VCR
- CodeTransform
- Event
- Exceptions
- LibraryHooks
- Storage
- Util
- tests
- Integration/Soap
- Unit
- CodeTransform
- LibraryHooks
- Storage
- Util
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
57 files changed
+814
-366
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
14 | | - | |
15 | | - | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | | - | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | | - | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | | - | |
29 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
30 | 33 | | |
31 | | - | |
32 | | - | |
33 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | | - | |
36 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| |||
0 commit comments