Skip to content

Commit ed05859

Browse files
authored
Merge branch 'phpstan:2.1.x' into Assert-and-throws-are-side-effects
2 parents 8af8b0b + 4d2883b commit ed05859

File tree

75 files changed

+1013
-176
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+1013
-176
lines changed

.github/workflows/apiref.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ on:
66
workflow_dispatch:
77
push:
88
branches:
9-
- "2.0.x"
9+
- "2.1.x"
1010
paths:
1111
- 'src/**'
1212
- 'composer.lock'
1313
- 'apigen/**'
1414
- '.github/workflows/apiref.yml'
1515

1616
env:
17-
COMPOSER_ROOT_VERSION: "2.0.x-dev"
17+
COMPOSER_ROOT_VERSION: "2.1.x-dev"
1818

1919
concurrency:
2020
group: apigen-${{ github.ref }} # will be canceled on subsequent pushes in branch

.github/workflows/backward-compatibility.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
pull_request:
77
push:
88
branches:
9-
- "2.0.x"
9+
- "2.1.x"
1010
paths:
1111
- 'src/**'
1212
- '.github/workflows/backward-compatibility.yml'

.github/workflows/build-issue-bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- '.github/workflows/build-issue-bot.yml'
1010
push:
1111
branches:
12-
- "2.0.x"
12+
- "2.1.x"
1313
paths:
1414
- 'issue-bot/**'
1515
- '.github/workflows/build-issue-bot.yml'

.github/workflows/changelog-generator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- '.github/workflows/changelog-generator.yml'
1010
push:
1111
branches:
12-
- "2.0.x"
12+
- "2.1.x"
1313
paths:
1414
- 'changelog-generator/**'
1515
- '.github/workflows/changelog-generator.yml'

.github/workflows/checksum-phar.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
- '.github/workflows/checksum-phar.yml'
1313
push:
1414
branches:
15-
- "2.0.x"
15+
- "2.1.x"
1616
paths:
1717
- 'compiler/**'
1818
- '.github/workflows/checksum-phar.yml'
@@ -34,7 +34,7 @@ jobs:
3434
with:
3535
repository: phpstan/phpstan
3636
path: phpstan-dist
37-
ref: 2.0.x
37+
ref: 2.1.x
3838

3939
- name: "Get info"
4040
id: info
@@ -98,14 +98,14 @@ jobs:
9898
- name: "Composer dump"
9999
run: "composer install --no-interaction --no-progress"
100100
env:
101-
COMPOSER_ROOT_VERSION: "2.0.x-dev"
101+
COMPOSER_ROOT_VERSION: "2.1.x-dev"
102102

103103
- name: "Compile PHAR for checksum"
104104
working-directory: "compiler/build"
105105
run: "php box.phar compile --no-parallel"
106106
env:
107107
PHAR_CHECKSUM: "1"
108-
COMPOSER_ROOT_VERSION: "2.0.x-dev"
108+
COMPOSER_ROOT_VERSION: "2.1.x-dev"
109109

110110
- name: "Re-sign PHAR"
111111
run: "php compiler/build/resign.php tmp/phpstan.phar"

.github/workflows/e2e-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
- 'issue-bot/**'
1212
push:
1313
branches:
14-
- "2.0.x"
14+
- "2.1.x"
1515
paths-ignore:
1616
- 'compiler/**'
1717
- 'apigen/**'

.github/workflows/issue-bot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
- 'changelog-generator/**'
1212
push:
1313
branches:
14-
- "2.0.x"
14+
- "2.1.x"
1515
paths-ignore:
1616
- 'compiler/**'
1717
- 'apigen/**'
@@ -164,7 +164,7 @@ jobs:
164164

165165
- name: "Evaluate results - push"
166166
working-directory: "issue-bot"
167-
if: "github.repository_owner == 'phpstan' && github.ref == 'refs/heads/2.0.x'"
167+
if: "github.repository_owner == 'phpstan' && github.ref == 'refs/heads/2.1.x'"
168168
env:
169169
GITHUB_PAT: ${{ secrets.PHPSTAN_BOT_TOKEN }}
170170
PHPSTAN_SRC_COMMIT_BEFORE: ${{ github.event.before }}

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
pull_request:
77
push:
88
branches:
9-
- "2.0.x"
9+
- "2.1.x"
1010

1111
concurrency:
1212
group: lint-${{ github.head_ref || github.run_id }} # will be canceled on subsequent pushes in pull requests but not branches

.github/workflows/merge-maintained-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ jobs:
2020
with:
2121
github_token: "${{ secrets.PHPSTAN_BOT_TOKEN }}"
2222
source_ref: ${{ github.ref }}
23-
target_branch: '2.0.x'
23+
target_branch: '2.1.x'
2424
commit_message_template: 'Merge branch {source_ref} into {target_branch}'

.github/workflows/phar.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ on:
66
pull_request:
77
push:
88
branches:
9-
- "2.0.x"
9+
- "2.1.x"
1010
tags:
11-
- '2.0.*'
11+
- '2.1.*'
1212

1313
concurrency:
1414
group: phar-${{ github.ref }} # will be canceled on subsequent pushes in both branches and pull requests
@@ -77,14 +77,14 @@ jobs:
7777
- name: "Composer dump"
7878
run: "composer install --no-interaction --no-progress"
7979
env:
80-
COMPOSER_ROOT_VERSION: "2.0.x-dev"
80+
COMPOSER_ROOT_VERSION: "2.1.x-dev"
8181

8282
- name: "Compile PHAR for checksum"
8383
working-directory: "compiler/build"
8484
run: "php box.phar compile --no-parallel"
8585
env:
8686
PHAR_CHECKSUM: "1"
87-
COMPOSER_ROOT_VERSION: "2.0.x-dev"
87+
COMPOSER_ROOT_VERSION: "2.1.x-dev"
8888

8989
- name: "Re-sign PHAR"
9090
run: "php compiler/build/resign.php tmp/phpstan.phar"
@@ -107,30 +107,30 @@ jobs:
107107
integration-tests:
108108
if: github.event_name == 'pull_request'
109109
needs: compiler-tests
110-
uses: phpstan/phpstan/.github/workflows/integration-tests.yml@2.0.x
110+
uses: phpstan/phpstan/.github/workflows/integration-tests.yml@2.1.x
111111
with:
112-
ref: 2.0.x
112+
ref: 2.1.x
113113
phar-checksum: ${{needs.compiler-tests.outputs.checksum}}
114114

115115
extension-tests:
116116
if: github.event_name == 'pull_request'
117117
needs: compiler-tests
118-
uses: phpstan/phpstan/.github/workflows/extension-tests.yml@2.0.x
118+
uses: phpstan/phpstan/.github/workflows/extension-tests.yml@2.1.x
119119
with:
120-
ref: 2.0.x
120+
ref: 2.1.x
121121
phar-checksum: ${{needs.compiler-tests.outputs.checksum}}
122122

123123
other-tests:
124124
if: github.event_name == 'pull_request'
125125
needs: compiler-tests
126-
uses: phpstan/phpstan/.github/workflows/other-tests.yml@2.0.x
126+
uses: phpstan/phpstan/.github/workflows/other-tests.yml@2.1.x
127127
with:
128-
ref: 2.0.x
128+
ref: 2.1.x
129129
phar-checksum: ${{needs.compiler-tests.outputs.checksum}}
130130

131131
commit:
132132
name: "Commit PHAR"
133-
if: "github.repository_owner == 'phpstan' && (github.ref == 'refs/heads/2.0.x' || startsWith(github.ref, 'refs/tags/'))"
133+
if: "github.repository_owner == 'phpstan' && (github.ref == 'refs/heads/2.1.x' || startsWith(github.ref, 'refs/tags/'))"
134134
needs: compiler-tests
135135
runs-on: "ubuntu-latest"
136136
timeout-minutes: 60
@@ -152,7 +152,7 @@ jobs:
152152
repository: phpstan/phpstan
153153
path: phpstan-dist
154154
token: ${{ secrets.PHPSTAN_BOT_TOKEN }}
155-
ref: 2.0.x
155+
ref: 2.1.x
156156

157157
- name: "Get previous pushed dist commit"
158158
id: previous-commit

0 commit comments

Comments
 (0)