Skip to content

Commit 7521700

Browse files
authored
Feature/php8.0 (#353)
* Update Dockerfile for php8.0 * Add .dockerignore * Update GitHub actions for php8.0 * Update composer for php8.0
1 parent bd79d18 commit 7521700

File tree

8 files changed

+559
-609
lines changed

8 files changed

+559
-609
lines changed

.dockerignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.idea/
2+
.idea_modules/
3+
4+
**/vendor/**
5+
6+
.git
7+
.github

.github/workflows/production.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Setup PHP
1414
uses: shivammathur/setup-php@v2
1515
with:
16-
php-version: '7.4'
16+
php-version: '8.0'
1717
tools: composer:v2
1818

1919
- name: Install Composer dependencies

.github/workflows/production_dark.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Setup PHP
1414
uses: shivammathur/setup-php@v2
1515
with:
16-
php-version: '7.4'
16+
php-version: '8.0'
1717
tools: composer:v2
1818

1919
- name: Install Composer dependencies

.github/workflows/staging.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Setup PHP
1414
uses: shivammathur/setup-php@v2
1515
with:
16-
php-version: '7.4'
16+
php-version: '8.0'
1717
tools: composer:v2
1818

1919
- name: Install Composer dependencies

.github/workflows/staging_dark.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Setup PHP
1414
uses: shivammathur/setup-php@v2
1515
with:
16-
php-version: '7.4'
16+
php-version: '8.0'
1717
tools: composer:v2
1818

1919
- name: Install Composer dependencies

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:7.4-cli-alpine
1+
FROM php:8.0-cli-alpine
22

33
RUN apk add --update --no-cache zip libzip-dev icu-dev
44
RUN docker-php-ext-install zip

src/composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"require": {
3-
"php": "^7.4.0",
4-
"knplabs/github-api": "^2.17",
5-
"php-http/guzzle6-adapter": "^2.0",
3+
"php": "^7.4 || ^8.0",
4+
"knplabs/github-api": "^3.0",
5+
"php-http/guzzle7-adapter": "^1.0",
66
"symfony/yaml": "^5.2",
77
"twig/twig": "^3.0",
88
"morilog/jalali": "^3.2",
99
"phpmailer/phpmailer": "^6.2",
1010
"sendinblue/api-v3-sdk": "7.x.x",
1111
"wyrihaximus/html-compress": "^4.1",
12-
"amirbagh75/chalqoz": "^1.0",
12+
"amirbagh75/chalqoz": "^1.2",
1313
"nesbot/carbon": "^2.43"
1414
}
1515
}

0 commit comments

Comments
 (0)