Skip to content

Commit b2643dc

Browse files
glenscgrogy
authored andcommitted
Load polyfill from application, not from composer'
This way the polyfill won't be executed when php-parallel-lint is loaded as composer dependency but in application only.
1 parent c28c152 commit b2643dc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: composer.json

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"sort-packages": true
3030
},
3131
"autoload": {
32-
"files": [ "src/polyfill.php" ],
3332
"classmap": [
3433
"./"
3534
]

Diff for: parallel-lint

+2
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,7 @@ if (!$loaded) {
6161
exit(254);
6262
}
6363

64+
require_once __DIR__ . '/src/polyfill.php';
65+
6466
$app = new JakubOnderka\PhpParallelLint\Application();
6567
exit($app->run());

0 commit comments

Comments
 (0)