diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a29e7d7..3096f6c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/README.md b/README.md index a7cde06..11c9083 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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` diff --git a/build/Dockerfile b/build/Dockerfile index cb008a2..5cbd842 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,4 +1,4 @@ -FROM php:8.1-fpm +FROM php:8.2-fpm RUN apt-get update && \ apt-get upgrade -y && \ diff --git a/composer.json b/composer.json index c68744b..dfe57ee 100644 --- a/composer.json +++ b/composer.json @@ -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" @@ -31,7 +31,7 @@ "config": { "preferred-install": "dist", "platform": { - "php": "8.0.24" + "php": "8.2" } } }