Skip to content

Commit

Permalink
Merge pull request #10 from dinhquochan/develop
Browse files Browse the repository at this point in the history
Add: support laravel 9.x and drop laravel 6.x, 7.x
  • Loading branch information
dinhquochan authored Jan 18, 2022
2 parents 5644f99 + 32a0308 commit f5c56f8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.3, 7.4, 8.0]
laravel: [6.*, 7.*, 8.*]
php: [7.3, 7.4, 8.0, 8.1]
laravel: [8.*, 9.*]
dependency-version: [prefer-lowest, prefer-stable]

name: P${{ matrix.php }} - L${{ matrix.laravel }} - S${{ matrix.stability }}
Expand All @@ -35,4 +35,3 @@ jobs:
- name: Execute tests
run: vendor/bin/phpunit --verbose

5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to `laravel-twig` will be documented in this file

## 2.0.0 - 2022-01-18

- Support Laravel 9.x
- Remove Support Laravel 6.x, 7.x

## 1.4.0 - 2021-02-18

- Add PHP 8.0 support
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
],
"require": {
"php": "^7.3|^8.0",
"illuminate/console": "^6.20|^7.30|^8.28",
"illuminate/support": "^6.20|^7.30|^8.28",
"illuminate/view": "^6.20|^7.30|^8.28",
"illuminate/console": "^8.28|^9.0",
"illuminate/support": "^8.28|^9.0",
"illuminate/view": "^8.28|^9.0",
"twig/twig": "~3.0"
},
"require-dev": {
"laravel/framework": "^6.20|^7.30|^8.28",
"laravel/framework": "^7.30|^8.28",
"mockery/mockery": "^1.3.1",
"phpunit/phpunit": "^8.4|^9.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/TwigEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class TwigEngine implements Engine
{
/*** @var \DinhQuocHan\Twig\TwigEnvironment */
/*** @var \DinhQuocHan\Twig\ */
protected $environment;

public function __construct(TwigEnvironment $environment)
Expand Down

0 comments on commit f5c56f8

Please sign in to comment.