From 465a2c29802fdb50502d9c5e1fba40289a95cfa8 Mon Sep 17 00:00:00 2001 From: Juan Miguel Date: Fri, 16 Apr 2021 12:12:39 +0200 Subject: [PATCH 1/3] Allow use this template with PHP 8.x With the current PHP version constraint it's not possible to use this template with a PHP 8 version. With this PR, it's possible to use it. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index dde6002..03fee40 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ } ], "require": { - "php": ">=7.4" + "php": "^7.4||^8.0" }, "require-dev": { "squizlabs/php_codesniffer": "^3.5", From c1c8f859cdff2c566212d3b1616a70c633466fad Mon Sep 17 00:00:00 2001 From: Juan Miguel Date: Fri, 16 Apr 2021 17:42:45 +0200 Subject: [PATCH 2/3] Add php 8 to php-versions on ci --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7caa07..b84c509 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macOS-latest] - php-versions: ['7.4'] + php-versions: ['7.4', '8.0'] name: Test on ${{ matrix.os }} with PHP ${{ matrix.php-versions }} steps: From 3ef4f0a4c9fba03827ed95d6517a83fafeb50d30 Mon Sep 17 00:00:00 2001 From: Javier Ferrer Date: Fri, 16 Apr 2021 18:10:44 +0200 Subject: [PATCH 3/3] Add pull requests to CI workflow execution --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b84c509..c739414 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,10 @@ name: CI -on: [push] +on: + push: + branches: + - master + pull_request: jobs: build: