Skip to content

Commit

Permalink
Drop support for Laravel 9 and 10, and PHP 8.1
Browse files Browse the repository at this point in the history
Laravel requires at least PHP 8.2
  • Loading branch information
jeromegamez committed Nov 24, 2024
1 parent 1030662 commit 1ef3816
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,11 @@ jobs:
strategy:
matrix:
php:
- "8.1"
- "8.2"
- "8.3"
- "8.4"
laravel:
- "9"
- "10"
- "11"
exclude:
- php: "8.1"
laravel: "11"

steps:
- name: Checkout code
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## Unreleased

* Dropped support for Laravel 9 and 10

## 5.10.0 - 2024-11-22

* Added support for PHP 8.4
Expand Down
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@
}
],
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
"kreait/firebase-php": "^7.13",
"illuminate/contracts": "^9.0 || ^10.0 || ^11.0",
"illuminate/support": "^9.0 || ^10.0 || ^11.0",
"illuminate/contracts": "^11.0",
"illuminate/notifications": "^11.0",
"illuminate/support": "^11.0",
"symfony/cache": "^6.1.2 || ^7.0.3"
},
"require-dev": {
"orchestra/testbench": "^7.0 || ^8.0 || ^9.0",
"orchestra/testbench": "^9.0",
"laravel/pint": "^1.14",
"phpunit/phpunit": "^9.6.17 || ^10.5.13"
},
Expand Down
2 changes: 1 addition & 1 deletion src/FirebaseProjectManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ protected function resolveJsonCredentials(string $credentials): string

protected function configure(string $name): FirebaseProject
{
$factory = new Factory();
$factory = new Factory;

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

Expand Down

0 comments on commit 1ef3816

Please sign in to comment.