Skip to content

Commit 07481eb

Browse files
committed
fix(sensitive-issue-searcher): modernise for PHP 8.4
The tool's dependencies were pinned to knplabs/github-api ^2.1 and cache/redis-adapter ^0.5, both requiring PHP ^5.6 || ^7.0, so composer install failed on PHP 8.4. The new php-test workflow surfaced this. - Bump to knplabs/github-api ^3.16 with guzzlehttp/guzzle ^7.13 and http-interop/http-factory-guzzle, matching the other tools. - Drop cache/redis-adapter: it was declared but never used by search.php. - Adapt search.php to the github-api v3 API: - authenticate() no longer takes Client::AUTH_HTTP_TOKEN; use AuthMethod::ACCESS_TOKEN. - Issue::setPerPage() was removed; pass the page size to ResultPager instead. - Stop tracking vendor/ (it was committed here unlike every other tool; .gitignore already ignores it). Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com> Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
1 parent 7dd0c3e commit 07481eb

469 files changed

Lines changed: 525 additions & 45286 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"require": {
3-
"knplabs/github-api": "^2.1",
4-
"php-http/guzzle6-adapter": "^1.1",
5-
"cache/redis-adapter": "^0.5.0"
3+
"knplabs/github-api": "^3.16",
4+
"guzzlehttp/guzzle": "^7.13",
5+
"http-interop/http-factory-guzzle": "^1.2"
66
}
77
}

0 commit comments

Comments
 (0)