Skip to content

Guard against exhausted template list in arxiv_api - #5714

Merged
GlazerMann merged 3 commits into
ms609:masterfrom
redalert2fan:fix/arxiv-template-guard
Aug 7, 2026
Merged

Guard against exhausted template list in arxiv_api#5714
GlazerMann merged 3 commits into
ms609:masterfrom
redalert2fan:fix/arxiv-template-guard

Conversation

@redalert2fan

Copy link
Copy Markdown
Contributor

current()/next() return Template|false, so add a defensive guard before using , resolving 24 PHPStan level 7 errors.

current()/next() return Template|false, so add a defensive guard before
using \, resolving 24 PHPStan level 7 errors.
@github-actions github-actions Bot added the api label Aug 7, 2026
@redalert2fan

Copy link
Copy Markdown
Contributor Author

failed test are not related to this patch, will open a new patch for that

@redalert2fan

Copy link
Copy Markdown
Contributor Author

#5716

@GlazerMann
GlazerMann merged commit 8b29d55 into ms609:master Aug 7, 2026
18 of 21 checks passed
@redalert2fan
redalert2fan deleted the fix/arxiv-template-guard branch August 7, 2026 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants