Skip to content

Commit

Permalink
Merge pull request #16 from ingenerator/support-php8
Browse files Browse the repository at this point in the history
Support php8.0
  • Loading branch information
craig410 authored Apr 21, 2021
2 parents b97940f + 0766f4e commit 4fa7138
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ jobs:
matrix:
php_version:
- '7.4'
- '8.0'
dependencies:
- 'default'
include:
- php_version: '7.4'
dependencies: 'lowest'
- php_version: '8.0'
dependencies: 'lowest'
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
### Unreleased

### v1.3.0 (2021-04-21)

* Support php8.0

### v1.2.0 (2020-11-02)

* Support php7.4
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ auth / management library.

**Warden is under heavy development and not recommended for production use outwith inGenerator.**

[![Build Status](https://travis-ci.org/ingenerator/warden-ui-kohana.svg?branch=0.4.x)](https://travis-ci.org/ingenerator/warden-ui-kohana)
[![Build status](https://github.com/ingenerator/warden-ui-kohana/actions/workflows/test.yaml/badge.svg)](https://github.com/ingenerator/warden-ui-kohana/actions/workflows/test.yaml)


# Installing warden-ui-kohana
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}
],
"require": {
"php": "^7.4",
"php": "^7.4 || ~8.0.0",
"ext-json": "*",
"symfony/validator": "^3.0",
"ingenerator/warden-core": "^1.1",
Expand Down
4 changes: 4 additions & 0 deletions test/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<?php
$_SERVER['KOHANA_ENV'] = 'DEVELOPMENT';
$_SERVER['HTTP_HOST'] = 'demo.test';

require_once __DIR__.'/../koharness_bootstrap.php';

\Kohana::$config->load('url')->set('trusted_hosts', [$_SERVER['HTTP_HOST']]);

// Require in warden core test bootstrap to autoload mocks and base tests
require_once __DIR__.'/../vendor/ingenerator/warden-core/test/bootstrap.php';

Expand Down

0 comments on commit 4fa7138

Please sign in to comment.