Skip to content

Commit

Permalink
Feature/php8.0 (#353)
Browse files Browse the repository at this point in the history
* Update Dockerfile for php8.0

* Add .dockerignore

* Update GitHub actions for php8.0

* Update composer for php8.0
  • Loading branch information
ohmydevops authored Nov 1, 2021
1 parent 8a26404 commit 5ddc9be
Show file tree
Hide file tree
Showing 8 changed files with 559 additions and 609 deletions.
7 changes: 7 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.idea/
.idea_modules/

**/vendor/**

.git
.github
2 changes: 1 addition & 1 deletion .github/workflows/production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.0'
tools: composer:v2

- name: Install Composer dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/production_dark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.0'
tools: composer:v2

- name: Install Composer dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.0'
tools: composer:v2

- name: Install Composer dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging_dark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.0'
tools: composer:v2

- name: Install Composer dependencies
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.4-cli-alpine
FROM php:8.0-cli-alpine

RUN apk add --update --no-cache zip libzip-dev icu-dev
RUN docker-php-ext-install zip
Expand Down
8 changes: 4 additions & 4 deletions src/composer.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"require": {
"php": "^7.4.0",
"knplabs/github-api": "^2.17",
"php-http/guzzle6-adapter": "^2.0",
"php": "^7.4 || ^8.0",
"knplabs/github-api": "^3.0",
"php-http/guzzle7-adapter": "^1.0",
"symfony/yaml": "^5.2",
"twig/twig": "^3.0",
"morilog/jalali": "^3.2",
"phpmailer/phpmailer": "^6.2",
"sendinblue/api-v3-sdk": "7.x.x",
"wyrihaximus/html-compress": "^4.1",
"amirbagh75/chalqoz": "^1.0",
"amirbagh75/chalqoz": "^1.2",
"nesbot/carbon": "^2.43"
}
}
Loading

0 comments on commit 5ddc9be

Please sign in to comment.