Skip to content

Commit 2b8357b

Browse files
committed
:octocat: v2.x
1 parent ad5e67b commit 2b8357b

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/ci.yml

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

1212
name: "Continuous Integration"
1313

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ A generator for counter based ([RFC 4226](https://tools.ietf.org/html/rfc4226))
88
[![Codacy][codacy-badge]][codacy]
99

1010
[license-badge]: https://img.shields.io/github/license/chillerlan/php-authenticator.svg
11-
[license]: https://github.com/chillerlan/php-authenticator/blob/main/LICENSE
12-
[gh-action-badge]: https://img.shields.io/github/actions/workflow/status/chillerlan/php-authenticator/ci.yml?branch=main&logo=github
13-
[gh-action]: https://github.com/chillerlan/php-authenticator/actions?query=branch%3Amain
14-
[coverage-badge]: https://img.shields.io/codecov/c/gh/chillerlan/php-authenticator/main?logo=codecov
15-
[coverage]: https://app.codecov.io/github/chillerlan/php-authenticator/tree/main
16-
[codacy-badge]: https://img.shields.io/codacy/grade/a2793225b448495c9659f27f7f52380a/main?logo=codacy
17-
[codacy]: https://www.codacy.com/gh/chillerlan/php-authenticator/dashboard?branch=main
11+
[license]: https://github.com/chillerlan/php-authenticator/blob/v2.x/LICENSE
12+
[gh-action-badge]: https://img.shields.io/github/actions/workflow/status/chillerlan/php-authenticator/ci.yml?branch=v2.x&logo=github
13+
[gh-action]: https://github.com/chillerlan/php-authenticator/actions?query=branch%3Av2.x
14+
[coverage-badge]: https://img.shields.io/codecov/c/gh/chillerlan/php-authenticator/v2.x?logo=codecov
15+
[coverage]: https://app.codecov.io/github/chillerlan/php-authenticator/tree/v2.x
16+
[codacy-badge]: https://img.shields.io/codacy/grade/a2793225b448495c9659f27f7f52380a/v2.x?logo=codacy
17+
[codacy]: https://www.codacy.com/gh/chillerlan/php-authenticator/dashboard?branch=v2.x
1818

1919
# Documentation
2020
## Requirements
@@ -25,12 +25,12 @@ A generator for counter based ([RFC 4226](https://tools.ietf.org/html/rfc4226))
2525

2626
via terminal: `composer require chillerlan/php-authenticator`
2727

28-
*composer.json* (note: replace `dev-main` with a [version constraint](https://getcomposer.org/doc/articles/versions.md#writing-version-constraints), e.g. `^2.1` - see [releases](https://github.com/chillerlan/php-authenticator/releases) for valid versions)
28+
*composer.json* (note: replace `dev-v2.x` with a [version constraint](https://getcomposer.org/doc/articles/versions.md#writing-version-constraints), e.g. `^2.1` - see [releases](https://github.com/chillerlan/php-authenticator/releases) for valid versions)
2929
```json
3030
{
3131
"require": {
3232
"php": "^7.0",
33-
"chillerlan/php-authenticator": "dev-main"
33+
"chillerlan/php-authenticator": "dev-v2.x"
3434
}
3535
}
3636
```
@@ -155,6 +155,6 @@ $authenticator->setOptions(['algorithm' => AuthenticatorInterface::ALGO_SHA512])
155155

156156
<p align="center">
157157
<a href="https://twofactorauth.org">
158-
<img alt="2FA ALL THE THINGS!" src="https://raw.githubusercontent.com/chillerlan/php-authenticator/main/.github/images/2fa-all-the-things.jpg">
158+
<img alt="2FA ALL THE THINGS!" src="https://raw.githubusercontent.com/chillerlan/php-authenticator/v2.x/.github/images/2fa-all-the-things.jpg">
159159
</a>
160160
</p>

0 commit comments

Comments
 (0)