Skip to content

Commit 83d449f

Browse files
author
Gary Lockett
authored
Merge pull request #154 from laminas/feature/php-7.4-and-8.0-removal
Drop PHP 7.4 and PHP 8.0 support
2 parents b28e602 + 6373921 commit 83d449f

Some content is hidden

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

52 files changed

+743
-1492
lines changed

.github/workflows/coding-standards.yml

Lines changed: 0 additions & 56 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: "Continuous Integration"
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
tags:
8+
9+
jobs:
10+
ci:
11+
uses: laminas/workflow-continuous-integration/.github/workflows/[email protected]

.github/workflows/docs-build.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ name: docs-build
33
on:
44
release:
55
types: [published]
6-
repository_dispatch:
7-
types: docs-build
6+
workflow_dispatch:
87

98
jobs:
109
build-deploy:
@@ -13,5 +12,5 @@ jobs:
1312
- name: Build Docs
1413
uses: laminas/documentation-theme/github-actions/docs@master
1514
env:
16-
"DOCS_DEPLOY_KEY": ${{ secrets.DOCS_DEPLOY_KEY }}
17-
"GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }}
15+
DOCS_TOKEN: ${{ secrets.ORGANIZATION_ADMIN_KEY }}
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/phpunit.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

.github/workflows/psalm.yml

Lines changed: 0 additions & 56 deletions
This file was deleted.
Lines changed: 6 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
# Alternate workflow example.
2-
# This one is identical to the one in release-on-milestone.yml, with one change:
3-
# the Release step uses the ORGANIZATION_ADMIN_TOKEN instead, to allow it to
4-
# trigger a release workflow event. This is useful if you have other actions
5-
# that intercept that event.
6-
71
name: "Automatic Releases"
82

93
on:
@@ -13,59 +7,9 @@ on:
137

148
jobs:
159
release:
16-
name: "GIT tag, release & create merge-up PR"
17-
runs-on: ubuntu-latest
18-
19-
steps:
20-
- name: "Checkout"
21-
uses: "actions/checkout@v3"
22-
23-
- name: "Release"
24-
uses: "laminas/automatic-releases@v1"
25-
with:
26-
command-name: "laminas:automatic-releases:release"
27-
env:
28-
"GITHUB_TOKEN": ${{ secrets.ORGANIZATION_ADMIN_TOKEN }}
29-
"SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }}
30-
"GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }}
31-
"GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }}
32-
33-
- name: "Create Merge-Up Pull Request"
34-
uses: "laminas/automatic-releases@v1"
35-
with:
36-
command-name: "laminas:automatic-releases:create-merge-up-pull-request"
37-
env:
38-
"GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }}
39-
"SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }}
40-
"GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }}
41-
"GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }}
42-
43-
- name: "Create and/or Switch to new Release Branch"
44-
uses: "laminas/automatic-releases@v1"
45-
with:
46-
command-name: "laminas:automatic-releases:switch-default-branch-to-next-minor"
47-
env:
48-
"GITHUB_TOKEN": ${{ secrets.ORGANIZATION_ADMIN_TOKEN }}
49-
"SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }}
50-
"GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }}
51-
"GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }}
52-
53-
- name: "Bump Changelog Version On Originating Release Branch"
54-
uses: "laminas/automatic-releases@v1"
55-
with:
56-
command-name: "laminas:automatic-releases:bump-changelog"
57-
env:
58-
"GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }}
59-
"SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }}
60-
"GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }}
61-
"GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }}
62-
63-
- name: "Create new milestones"
64-
uses: "laminas/automatic-releases@v1"
65-
with:
66-
command-name: "laminas:automatic-releases:create-milestones"
67-
env:
68-
"GITHUB_TOKEN": ${{ secrets.GITHUB_TOKEN }}
69-
"SIGNING_SECRET_KEY": ${{ secrets.SIGNING_SECRET_KEY }}
70-
"GIT_AUTHOR_NAME": ${{ secrets.GIT_AUTHOR_NAME }}
71-
"GIT_AUTHOR_EMAIL": ${{ secrets.GIT_AUTHOR_EMAIL }}
10+
uses: laminas/workflow-automatic-releases/.github/workflows/[email protected]
11+
secrets:
12+
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
13+
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
14+
ORGANIZATION_ADMIN_TOKEN: ${{ secrets.ORGANIZATION_ADMIN_TOKEN }}
15+
SIGNING_SECRET_KEY: ${{ secrets.SIGNING_SECRET_KEY }}

composer.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"homepage": "https://laminas.dev",
1010
"license": "BSD-3-Clause",
1111
"require": {
12-
"php": ">=7.4, <8.2"
12+
"php": "~8.1.0"
1313
},
1414
"require-dev": {
1515
"ext-phar": "*",
@@ -29,17 +29,14 @@
2929
"dealerdirect/phpcodesniffer-composer-installer": true
3030
},
3131
"platform": {
32-
"php": "7.4.99"
32+
"php": "8.1.99"
3333
},
3434
"sort-packages": true
3535
},
3636
"autoload": {
3737
"psr-4": {
3838
"Laminas\\Code\\": "src/"
39-
},
40-
"files": [
41-
"polyfill/ReflectionEnumPolyfill.php"
42-
]
39+
}
4340
},
4441
"autoload-dev": {
4542
"psr-4": {

0 commit comments

Comments
 (0)