forked from php-vcr/php-vcr
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/composer-test
* master: Fix logo image Travis: skip phpcs in case of integration tests stream_lock operation can use strict type checking when it's 0 PHP 7.1: Fixed issue with php-cs-fixer Fix bug with StreamProcessor::stream_lock explained here antecedent/patchwork#27 Test php 7.1 test for setting post method when CURLOPT_POSTFIELDS set Adds github pull request template Set POST method when CURLOPT_POSTFIELDS is set Fix parallel cURL requests: - Make sure all handles are inside an array so they can be removed properly when done - Remove handle as soon as done - Fix behaviour of curl_multi_exec to return last curl info - Also fix test, check for the second to last curl info and make sure the third returns false, not the second - CS fixes php-cs-fixer introduced (php-vcr#173)
- Loading branch information
Showing
39 changed files
with
707 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
### Context | ||
|
||
|
||
### What has been done | ||
|
||
- | ||
- | ||
|
||
### How to test | ||
|
||
- | ||
- | ||
|
||
### Todo | ||
|
||
- [ ] | ||
- [ ] | ||
|
||
### Notes | ||
|
||
- | ||
- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
coverage/* | ||
notes.md | ||
tests/fixtures/cassette* | ||
/.php_cs.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
$config = Symfony\CS\Config\Config::create() | ||
->level(Symfony\CS\FixerInterface::PSR2_LEVEL) | ||
->fixers( | ||
array( | ||
'single_blank_line_before_namespace', | ||
'concat_with_spaces', | ||
'single_quote', | ||
'braces', | ||
) | ||
) | ||
->finder( | ||
Symfony\CS\Finder::create() | ||
->exclude('vendor') | ||
->exclude('docs') | ||
->in(__DIR__) | ||
) | ||
->setUsingCache(true); | ||
|
||
$cacheDir = getenv('TRAVIS') ? getenv('HOME') . '/.php-cs-fixer' : __DIR__; | ||
$config->setDir($cacheDir); | ||
|
||
return $config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.