File tree 5 files changed +6
-9
lines changed
5 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ name: tests
2
2
3
3
on :
4
4
push :
5
+ branches :
6
+ - ' *.x'
5
7
pull_request :
6
8
7
9
jobs :
Original file line number Diff line number Diff line change @@ -72,11 +72,11 @@ please squash them before submitting with the following commands
72
72
$ git rebase -i HEAD~3
73
73
```
74
74
75
- If your branch conflicts with the master branch, you will need to rebase and repush it with the following commands:
75
+ If your branch conflicts with the target branch, you will need to rebase and repush it with the following commands:
76
76
77
77
``` bash
78
78
$ git remote add upstream
[email protected] :orga/repo-name.git
79
- $ git pull --rebase upstream master
79
+ $ git pull --rebase upstream 1.x
80
80
$ git push -f origin feature-or-bug-fix-description
81
81
```
82
82
Original file line number Diff line number Diff line change 2
2
3
3
[ ![ Latest Version] ( https://img.shields.io/github/release/php-http/multipart-stream-builder.svg?style=flat-square )] ( https://github.com/php-http/multipart-stream-builder/releases )
4
4
[ ![ Software License] ( https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square )] ( LICENSE )
5
- [ ![ Build Status] ( https://img.shields.io/travis/ php-http/multipart-stream-builder/master. svg?style=flat-square )] ( https://travis-ci.org /php-http/multipart-stream-builder )
5
+ [ ![ Build Status] ( https://github.com/ php-http/multipart-stream-builder/actions/workflows/tests.yml/badge. svg )] ( https://github.com /php-http/multipart-stream-builder/actions/workflows/tests.yml )
6
6
[ ![ Code Coverage] ( https://img.shields.io/scrutinizer/coverage/g/php-http/multipart-stream-builder.svg?style=flat-square )] ( https://scrutinizer-ci.com/g/php-http/multipart-stream-builder )
7
7
[ ![ Quality Score] ( https://img.shields.io/scrutinizer/g/php-http/multipart-stream-builder.svg?style=flat-square )] ( https://scrutinizer-ci.com/g/php-http/multipart-stream-builder )
8
8
[ ![ Total Downloads] ( https://img.shields.io/packagist/dt/php-http/multipart-stream-builder.svg?style=flat-square )] ( https://packagist.org/packages/php-http/multipart-stream-builder )
Original file line number Diff line number Diff line change 35
35
"scripts" : {
36
36
"test" : " vendor/bin/phpunit" ,
37
37
"test-ci" : " vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml"
38
- },
39
- "extra" : {
40
- "branch-alias" : {
41
- "dev-master" : " 1.x-dev"
42
- }
43
38
}
44
39
}
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public function testSupportResources()
40
40
41
41
public function testSupportURIResources ()
42
42
{
43
- $ url = 'https://raw.githubusercontent.com/php-http/multipart-stream-builder/master /tests/Resources/httplug.png ' ;
43
+ $ url = 'https://raw.githubusercontent.com/php-http/multipart-stream-builder/1.x /tests/Resources/httplug.png ' ;
44
44
$ resource = fopen ($ url , 'r ' );
45
45
46
46
$ builder = new MultipartStreamBuilder ();
You can’t perform that action at this time.
0 commit comments