Skip to content

Commit 1b0e233

Browse files
committed
Remove autoloader magic in registration.php
Unfortunately made it impossible to overload the autoloader and magically set the custom autoloaders needed for the extension to run. Thus I removed the registration.php file handled the magic. This means regardless of using the .phar archive or phpstan-src dependency, you have to manually configure the autoload.php work-a-round in the project's phpstan configuration.
1 parent 3ed5b58 commit 1b0e233

File tree

2 files changed

+0
-48
lines changed

2 files changed

+0
-48
lines changed

composer.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@
3030
"squizlabs/php_codesniffer": "^3.4"
3131
},
3232
"autoload": {
33-
"files": [
34-
"registration.php"
35-
],
3633
"psr-4": {
3734
"bitExpert\\PHPStan\\": "src/bitExpert/PHPStan"
3835
}

registration.php

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)