Skip to content

Commit 13d6534

Browse files
authored
Update branch name (#525)
1 parent 85f9ac2 commit 13d6534

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
![Repository size](https://github-size-badge.herokuapp.com/kubawerlos/php-cs-fixer-custom-fixers.svg)
77
[![Last commit](https://img.shields.io/github/last-commit/kubawerlos/php-cs-fixer-custom-fixers.svg)](https://github.com/kubawerlos/php-cs-fixer-custom-fixers/commits)
88

9-
[![CI Status](https://github.com/kubawerlos/php-cs-fixer-custom-fixers/workflows/CI/badge.svg?branch=master&event=push)](https://github.com/kubawerlos/php-cs-fixer-custom-fixers/actions)
10-
[![Code coverage](https://img.shields.io/coveralls/github/kubawerlos/php-cs-fixer-custom-fixers/master.svg)](https://coveralls.io/github/kubawerlos/php-cs-fixer-custom-fixers?branch=master)
9+
[![CI Status](https://github.com/kubawerlos/php-cs-fixer-custom-fixers/workflows/CI/badge.svg?branch=main&event=push)](https://github.com/kubawerlos/php-cs-fixer-custom-fixers/actions)
10+
[![Code coverage](https://img.shields.io/coveralls/github/kubawerlos/php-cs-fixer-custom-fixers/main.svg)](https://coveralls.io/github/kubawerlos/php-cs-fixer-custom-fixers?branch=main)
1111
![Tests](https://img.shields.io/badge/tests-2246-brightgreen.svg)
12-
[![Mutation testing badge](https://badge.stryker-mutator.io/github.com/kubawerlos/php-cs-fixer-custom-fixers/master)](https://stryker-mutator.github.io)
12+
[![Mutation testing badge](https://badge.stryker-mutator.io/github.com/kubawerlos/php-cs-fixer-custom-fixers/main)](https://stryker-mutator.github.io)
1313
[![Psalm type coverage](https://shepherd.dev/github/kubawerlos/php-cs-fixer-custom-fixers/coverage.svg)](https://shepherd.dev/github/kubawerlos/php-cs-fixer-custom-fixers)
1414

1515
A set of custom fixers for [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer).

dev-tools/infection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"text": "php://stdout",
1111
"github": true,
1212
"badge": {
13-
"branch": "master"
13+
"branch": "main"
1414
}
1515
},
1616
"phpUnit": {

dev-tools/src/InfectionConfigBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function build(): array
5454
'logs' => [
5555
'text' => 'php://stdout',
5656
'github' => true,
57-
'badge' => ['branch' => 'master'],
57+
'badge' => ['branch' => 'main'],
5858
],
5959
'phpUnit' => [
6060
'configDir' => '..',

dev-tools/src/Readme/ReadmeCommand.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,21 +84,21 @@ private function badges(): string
8484
'',
8585
$this->badge(
8686
'CI Status',
87-
\sprintf('https://github.com/%s/workflows/CI/badge.svg?branch=master&event=push', $this->composer()->name),
87+
\sprintf('https://github.com/%s/workflows/CI/badge.svg?branch=main&event=push', $this->composer()->name),
8888
\sprintf('https://github.com/%s/actions', $this->composer()->name)
8989
),
9090
$this->badge(
9191
'Code coverage',
92-
\sprintf('%s/coveralls/github/%s/master.svg', self::SHIELDS_HOST, $this->composer()->name),
93-
\sprintf('https://coveralls.io/github/%s?branch=master', $this->composer()->name)
92+
\sprintf('%s/coveralls/github/%s/main.svg', self::SHIELDS_HOST, $this->composer()->name),
93+
\sprintf('https://coveralls.io/github/%s?branch=main', $this->composer()->name)
9494
),
9595
$this->badge(
9696
'Tests',
9797
\sprintf('%s/badge/tests-%d-brightgreen.svg', self::SHIELDS_HOST, $this->numberOfTests())
9898
),
9999
$this->badge(
100100
'Mutation testing badge',
101-
\sprintf('https://badge.stryker-mutator.io/github.com/%s/master', $this->composer()->name),
101+
\sprintf('https://badge.stryker-mutator.io/github.com/%s/main', $this->composer()->name),
102102
'https://stryker-mutator.github.io'
103103
),
104104
$this->badge(

0 commit comments

Comments
 (0)