Skip to content

Commit

Permalink
Autoload bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonferens committed Oct 22, 2024
1 parent 3897980 commit 5c67b20
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions autoload.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

$loader = require 'vendor/autoload.php';

$loader->setPsr4('App\\', 'vendor/orchestra/testbench-core/laravel/app');
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
},
"autoload-dev": {
"psr-4": {
"App\\": "vendor/orchestra/testbench-core/laravel/app",
"Kirschbaum\\Paragon\\Tests\\": "tests"
}
},
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd"
backupGlobals="false"
bootstrap="vendor/autoload.php"
bootstrap="autoload.php"
colors="true"
processIsolation="false"
stopOnFailure="false"
Expand Down

0 comments on commit 5c67b20

Please sign in to comment.