Skip to content

Commit

Permalink
#26 - update to compatibility with laravel 11 (#29)
Browse files Browse the repository at this point in the history
* bump packages version

* fix package naming

* Fix file permissions

* Fix formatting in composer.json

* Keep support for laravel 10

* Change illuminate packages version

* Fix version number
  • Loading branch information
JakubKermes authored Jun 7, 2024
1 parent 327a638 commit 4710541
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
4 changes: 1 addition & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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}
Expand Down
1 change: 1 addition & 0 deletions src/Bootstrapping/LaravelBootstrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
1 change: 1 addition & 0 deletions src/Features/Traits/Eloquent.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ protected function recognizeModelClass(string $model): string
}

$model = Str::ucfirst(Str::singular($model));

return $this->getModelNamespace() . $model;
}
}

0 comments on commit 4710541

Please sign in to comment.