Skip to content

Commit

Permalink
refactor: replace composer with copy of ClassMapGenerator (#1119)
Browse files Browse the repository at this point in the history
  • Loading branch information
canvural committed Feb 9, 2022
1 parent 791b671 commit 46607e4
Show file tree
Hide file tree
Showing 4 changed files with 424 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"require": {
"php": "^8.0.2",
"ext-json": "*",
"composer/composer": "^2.2.4",
"composer/pcre": "^1.0",
"illuminate/console": "^9",
"illuminate/container": "^9",
"illuminate/contracts": "^9",
Expand Down
2 changes: 2 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ parameters:
phpVersion: 80000
paths:
- src
excludePaths:
- src/Support/ClassMapGenerator.php
ignoreErrors:
- '#Call to an undefined method Mockery\\ExpectationInterface#'
- '#Mockery\\(?:Legacy)?MockInterface#'
2 changes: 1 addition & 1 deletion src/ApplicationResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

namespace NunoMaduro\Larastan;

use Composer\Autoload\ClassMapGenerator;
use const DIRECTORY_SEPARATOR;
use Illuminate\Contracts\Foundation\Application;
use function in_array;
use NunoMaduro\Larastan\Support\ClassMapGenerator;
use Orchestra\Testbench\Concerns\CreatesApplication;

/**
Expand Down
Loading

0 comments on commit 46607e4

Please sign in to comment.