Skip to content

Commit 713e646

Browse files
committed
Drop support for Laravel 9 and 10, and PHP 8.1
Laravel requires at least PHP 8.2
1 parent f11edd2 commit 713e646

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,11 @@ jobs:
2626
strategy:
2727
matrix:
2828
php:
29-
- "8.1"
3029
- "8.2"
3130
- "8.3"
3231
- "8.4"
3332
laravel:
34-
- "9"
35-
- "10"
3633
- "11"
37-
exclude:
38-
- php: "8.1"
39-
laravel: "11"
4034

4135
steps:
4236
- name: Checkout code

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# CHANGELOG
22

3+
## Unreleased
4+
5+
* Dropped support for Laravel 9 and 10
6+
* Dropped support for PHP 8.1 (Laravel 11 requires at least PHP 8.2)
7+
38
## 5.10.0 - 2024-11-22
49

510
* Added support for PHP 8.4

composer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@
1111
}
1212
],
1313
"require": {
14-
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
14+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
1515
"kreait/firebase-php": "^7.13",
16-
"illuminate/contracts": "^9.0 || ^10.0 || ^11.0",
17-
"illuminate/support": "^9.0 || ^10.0 || ^11.0",
16+
"illuminate/contracts": "^11.0",
17+
"illuminate/notifications": "^11.0",
18+
"illuminate/support": "^11.0",
1819
"symfony/cache": "^6.1.2 || ^7.0.3"
1920
},
2021
"require-dev": {
21-
"orchestra/testbench": "^7.0 || ^8.0 || ^9.0",
22+
"orchestra/testbench": "^9.0",
2223
"laravel/pint": "^1.14",
2324
"phpunit/phpunit": "^9.6.17 || ^10.5.13"
2425
},

src/FirebaseProjectManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ protected function resolveJsonCredentials(string $credentials): string
6060

6161
protected function configure(string $name): FirebaseProject
6262
{
63-
$factory = new Factory();
63+
$factory = new Factory;
6464

6565
$config = $this->configuration($name);
6666

0 commit comments

Comments
 (0)