Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8 Support #204

Merged
merged 9 commits into from
Dec 8, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
🎉 php8.0
  • Loading branch information
jerfeson committed Dec 5, 2020
commit 2c04d1fc3db0fe82798cbc5b6bfbbb3f99ce58ed
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM php:8.0-cli
RUN apt-get update && apt-get install -y apt-utils zip unzip
# Get latest Composer
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
COPY . /usr/src/slim-twig-view
WORKDIR /usr/src/slim-twig-view
CMD [ "php" ]
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@
}
],
"require": {
"php": "^7.2",
"php": "^7.2 | ^8.0",
"psr/http-message": "^1.0",
"slim/slim": "^4.7",
"twig/twig": "^3.1"