diff --git a/composer.json b/composer.json index 64fc761..c89bc63 100644 --- a/composer.json +++ b/composer.json @@ -10,18 +10,18 @@ } ], "require": { - "php": "^8.1", - "behat/behat": "^3.12", - "phpunit/phpunit": "^9.5", - "symfony/css-selector": "^6.2", - "symfony/dom-crawler": "^6.2" + "php": "^8.3", + "behat/behat": "^3.14", + "phpunit/phpunit": "^10.1|^11.0.1", + "symfony/css-selector": "^6.2|^7.1", + "symfony/dom-crawler": "^6.2|^7.1" }, "require-dev": { - "blumilksoftware/codestyle": "^1.10", - "illuminate/contracts": "^9.1|^10.0", - "illuminate/http": "^9.1|^10.0", - "illuminate/support": "^9.1|^10.0", - "symfony/http-foundation": "^6.0" + "blumilksoftware/codestyle": "^3.1.0", + "illuminate/contracts": "^10.0|11.0", + "illuminate/http": "^10.0|11.0", + "illuminate/support": "^10.0|11.0", + "symfony/http-foundation": "^6.2|^7.1" }, "autoload": { "psr-4": { diff --git a/docker-compose.yml b/docker-compose.yml index 28c5e60..5925900 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,8 +1,6 @@ -version: "3.7" - services: php: - image: ghcr.io/blumilksoftware/php:8.1 + image: ghcr.io/blumilksoftware/php:8.3 container_name: blt-php working_dir: /application user: ${CURRENT_UID} diff --git a/src/Bootstrapping/LaravelBootstrapper.php b/src/Bootstrapping/LaravelBootstrapper.php index 70a4a44..b3aa9ad 100644 --- a/src/Bootstrapping/LaravelBootstrapper.php +++ b/src/Bootstrapping/LaravelBootstrapper.php @@ -22,6 +22,7 @@ public function boot(): void if (!empty($this->configOverrides)) { $app->afterBootstrapping(LaravelContracts::LOAD_CONFIGURATION_CLASS, function ($app): void { $app["env"] = $this->environmentType; + foreach ($this->configOverrides as $key => $value) { $app->make("config")->set($key, $value); } diff --git a/src/Features/Traits/Eloquent.php b/src/Features/Traits/Eloquent.php index 1471d87..73c13d4 100644 --- a/src/Features/Traits/Eloquent.php +++ b/src/Features/Traits/Eloquent.php @@ -33,6 +33,7 @@ protected function recognizeModelClass(string $model): string } $model = Str::ucfirst(Str::singular($model)); + return $this->getModelNamespace() . $model; } }