Skip to content

Commit

Permalink
fix: update dependencies and configuration files
Browse files Browse the repository at this point in the history
Updated `composer.json` to support Laravel Nova 5 and adjusted Larastan namespace. Added custom repository for Nova and corrected phpstan configuration to align with the new Larastan structure.
  • Loading branch information
abordage committed Jan 11, 2025
1 parent fdee9be commit cbc4853
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,21 @@
"require": {
"php": ">=7.4",
"ext-json": "*",
"laravel/nova": "^4.0"
"laravel/nova": "^4.0 || ^5.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"nunomaduro/collision": "^5.0 || ^6.0 || ^7.0 || ^8.0",
"nunomaduro/larastan": "^1.0 || ^2.0",
"larastan/larastan": "^1.0 || ^2.0",
"orchestra/testbench": "^6.0 || ^7.0 || ^8.0 || ^9.0",
"phpunit/phpunit": "^9.6 || ^10.0"
},
"repositories": {
"nova": {
"type": "composer",
"url": "https://nova.laravel.com"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
includes:
- phpstan-baseline.neon
- ./vendor/nunomaduro/larastan/extension.neon
- ./vendor/larastan/larastan/extension.neon

parameters:

Expand Down

0 comments on commit cbc4853

Please sign in to comment.