Skip to content

Commit 8eb97a7

Browse files
committed
php8 support - bump to laravel 7
1 parent b9adfbd commit 8eb97a7

File tree

4 files changed

+9
-14
lines changed

4 files changed

+9
-14
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
/vendor
1+
.idea/
2+
/vendor

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
language: php
22
sudo: false
3-
dist: trusty
3+
dist: bionic
44
php:
5+
- 7.4
56
- 7.3
67
- 7.2
7-
- 7.1
88
- nightly
99

1010
matrix:

Template/BladeProvider.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@ public function register()
3535
{
3636
$this->registerFilesystem();
3737
$this->registerEvents();
38-
$this->registerEngineResolver();
39-
$this->registerViewFinder();
40-
$this->registerFactory();
41-
return $this;
38+
parent::register();
4239
}
4340

4441
/**
@@ -47,7 +44,6 @@ public function register()
4744
public function registerFilesystem()
4845
{
4946
$this->app->bindIf('files', Filesystem::class, true);
50-
return $this;
5147
}
5248

5349
/**
@@ -56,7 +52,6 @@ public function registerFilesystem()
5652
public function registerEvents()
5753
{
5854
$this->app->bindIf('events', Dispatcher::class, true);
59-
return $this;
6055
}
6156

6257
/**
@@ -72,6 +67,5 @@ public function registerViewFinder()
7267
array_map([$finder, 'addNamespace'], array_keys($namespaces), $namespaces);
7368
return $finder;
7469
}, true);
75-
return $this;
7670
}
7771
}

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@
2828
}
2929
},
3030
"require": {
31-
"php": ">=7.1",
31+
"php": "^8.0",
3232
"composer/installers": "~1.0",
33-
"illuminate/view": "~5.6",
34-
"illuminate/config": "~5.6"
33+
"illuminate/view": "~7.0",
34+
"illuminate/config": "~7.0"
3535
},
3636
"require-dev": {
37-
"squizlabs/php_codesniffer": "~3.3.1"
37+
"squizlabs/php_codesniffer": "~3.5"
3838
},
3939
"scripts": {
4040
"test": [

0 commit comments

Comments
 (0)