Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

‎composer.json‎

Lines changed: 0 additions & 1 deletion
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
]

‎parallel-lint‎

Lines changed: 2 additions & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /