Skip to content

Commit

Permalink
chore(ci): add php8.2 & php8.3 (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthv authored Nov 15, 2024
1 parent b686d5d commit 3726f25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.0', '8.1']
php: ['8.0', '8.1', '8.2', '8.3']
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
3 changes: 1 addition & 2 deletions agentTemplate/forest_admin.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<?php

use ForestAdmin\AgentPHP\Agent\Builder\AgentFactory;
use ForestAdmin\AgentPHP\DatasourceEloquent\EloquentDatasource;
use ForestAdmin\LaravelForestAdmin\Providers\AgentProvider;

return static function () {
$defaultDB = config('database.default');
$forestAgent = AgentProvider::getAgentInstance();
$forestAgent = AgentProvider::getAgentInstance();

$forestAgent->addDatasource(
new EloquentDatasource(config('database.connections.' . $defaultDB)),
Expand Down

0 comments on commit 3726f25

Please sign in to comment.