Commit 78f5a26
changelogger, stub-generator: Simplify bin by dropping Composer <2.2 support (#41876)
Composer 2.2 added a global `$_composer_autoload_path` that points to
the autoloader. We can simplify the bin files significantly by requiring
this Composer version and using that constant instead of trying to guess
where the autoloader lives.
This also requires various tools be updated to run changelogger and
stub-generator via the symlink added in `vendor/bin/` rather than trying
to use `bin/` directly.
Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/13438907848
Upstream-Ref: Automattic/jetpack@95a448a1 parent 4cbf5a6 commit 78f5a26
File tree
5 files changed
+14
-13
lines changed- vendor
- automattic/jetpack-device-detection
- composer
5 files changed
+14
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments