Skip to content

Commit

Permalink
upgrade php min 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Chemaclass committed Mar 15, 2024
1 parent 42fed5d commit 716a98c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.2
coverage: none
- name: Install dependencies
run: composer update --no-interaction --no-ansi --no-progress
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ This repository contains a [full-version](src/full-version/game.phel) and a [sim

> I thought it might be useful to create a simplified version as introduction to the fundamentals of the language and the game itself.
- In the simplified version you will find just the snake inside the board.
- In the full version the snake will increase the speed as it reaches to goals.
- In the simplified version, you will find just the snake inside the board.
- In the full version, the snake will increase the speed as it reaches to goals.

## How to play

Expand All @@ -34,7 +34,7 @@ The game ends when the snake touches any border of the board.

#### Locally (no Docker)

1. Ensure you have PHP `>=8.0`
1. Ensure you have PHP `>=8.2`
1. Some help about how to install multiple PHP versions locally on [linux](https://github.com/phpbrew/phpbrew) and [Mac](https://github.com/shivammathur/homebrew-php)
2. Clone this repo
3. Install the dependencies: `./tools/composer install`
Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.1-fpm
FROM php:8.2-fpm

RUN apt-get update && \
apt-get upgrade -y && \
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"license": "MIT",
"require": {
"php": ">=8.0",
"php": ">=8.2",
"ext-readline": "*",
"phel-lang/phel-lang": "^0.12",
"chemaclass/phel-cli-gui": "dev-main"
Expand All @@ -31,7 +31,7 @@
"config": {
"preferred-install": "dist",
"platform": {
"php": "8.0.24"
"php": "8.2"
}
}
}

0 comments on commit 716a98c

Please sign in to comment.