Skip to content

Commit a971651

Browse files
committed
:octocat:
1 parent 64b7082 commit a971651

File tree

2 files changed

+7
-34
lines changed

2 files changed

+7
-34
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
on:
55
push:
66
branches:
7-
- main
7+
- v1.x-php7.4
88
pull_request:
99
branches:
10-
- main
10+
- v1.x-php7.4
1111

1212
name: "CI"
1313

@@ -40,33 +40,6 @@ jobs:
4040
- name: "Run phan"
4141
run: php vendor/bin/phan
4242

43-
build-docs:
44-
name: "Build and publish Docs"
45-
46-
runs-on: ubuntu-latest
47-
48-
steps:
49-
- name: "Checkout sources"
50-
uses: actions/checkout@v3
51-
52-
- name: "Install PHP"
53-
uses: shivammathur/setup-php@v2
54-
with:
55-
php-version: "7.4"
56-
coverage: none
57-
tools: phpDocumentor
58-
extensions: gd, imagick, json, mbstring
59-
60-
- name: "Build Docs"
61-
run: phpdoc --config=phpdoc.xml
62-
63-
- name: "Publish Docs to gh-pages"
64-
uses: JamesIves/github-pages-deploy-action@v4
65-
with:
66-
BRANCH: gh-pages
67-
FOLDER: docs
68-
CLEAN: true
69-
7043
tests:
7144
name: "Unit Tests"
7245

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,27 @@ A collection of utilities for use with [PSR-7 Message implementations](https://w
1515
[packagist-badge]: https://img.shields.io/packagist/v/chillerlan/php-http-message-utils?logo=packagist
1616
[packagist]: https://packagist.org/packages/chillerlan/php-http-message-utils
1717
[license-badge]: https://img.shields.io/github/license/chillerlan/php-http-message-utils
18-
[license]: https://github.com/chillerlan/php-http-message-utils/blob/main/LICENSE
18+
[license]: https://github.com/chillerlan/php-http-message-utils/blob/v1.x-php7.4/LICENSE
1919
[coverage-badge]: https://img.shields.io/codecov/c/github/chillerlan/php-http-message-utils?logo=codecov
2020
[coverage]: https://codecov.io/github/chillerlan/php-http-message-utils
2121
[scrutinizer-badge]: https://img.shields.io/scrutinizer/g/chillerlan/php-http-message-utils?logo=scrutinizer
2222
[scrutinizer]: https://scrutinizer-ci.com/g/chillerlan/php-http-message-utils
2323
[downloads-badge]: https://img.shields.io/packagist/dt/chillerlan/php-http-message-utils?logo=packagist
2424
[downloads]: https://packagist.org/packages/chillerlan/php-http-message-utils/stats
25-
[gh-action-badge]: https://github.com/chillerlan/php-http-message-utils/workflows/CI/badge.svg
26-
[gh-action]: https://github.com/chillerlan/php-http-message-utils/actions/workflows/ci.yml
25+
[gh-action-badge]: https://img.shields.io/github/actions/workflow/status/chillerlan/php-http-message-utils/ci.yml?branch=v1.x-php7.4&logo=github
26+
[gh-action]: https://github.com/chillerlan/php-http-message-utils/actions/workflows/ci.yml?query=branch%3Av1.x-php7.4
2727

2828
# Documentation
2929

3030
## Installation
3131
**requires [composer](https://getcomposer.org)**
3232

33-
`composer.json` (note: replace `dev-main` with a [version boundary](https://getcomposer.org/doc/articles/versions.md))
33+
`composer.json` (note: replace `v1.x-php7.4` with a [version boundary](https://getcomposer.org/doc/articles/versions.md))
3434
```json
3535
{
3636
"require": {
3737
"php": "^7.4 || ^8.0",
38-
"chillerlan/php-http-message-utils": "dev-main"
38+
"chillerlan/php-http-message-utils": "v1.x-php7.4"
3939
}
4040
}
4141
```

0 commit comments

Comments
 (0)