[PR #1953] [MERGED] Replace file_get_contents with Http #1673

Closed
opened 2026-02-04 20:07:01 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/1953
Author: @Boy132
Created: 12/1/2025
Status: Merged
Merged: 12/2/2025
Merged by: @Boy132

Base: mainHead: boy132/replace-file_get_contents


📝 Commits (1)

  • 2dea2ae replace file_get_contents with Http

📊 Changes

4 files changed (+10 additions, -7 deletions)

View changed files

📝 app/Console/Commands/Egg/CheckEggUpdatesCommand.php (+2 -3)
📝 app/Console/Commands/Egg/UpdateEggIndexCommand.php (+2 -2)
📝 app/Services/Eggs/Sharing/EggImporterService.php (+2 -1)
📝 app/Services/Schedules/Sharing/ScheduleImporterService.php (+4 -1)

📄 Description

Use Http::get($url) instead of file_get_contents($url) for better error & timeout handling.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/panel/pull/1953 **Author:** [@Boy132](https://github.com/Boy132) **Created:** 12/1/2025 **Status:** ✅ Merged **Merged:** 12/2/2025 **Merged by:** [@Boy132](https://github.com/Boy132) **Base:** `main` ← **Head:** `boy132/replace-file_get_contents` --- ### 📝 Commits (1) - [`2dea2ae`](https://github.com/pelican-dev/panel/commit/2dea2aeddd31423d55620d13e088bd8710b166e8) replace `file_get_contents` with `Http` ### 📊 Changes **4 files changed** (+10 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `app/Console/Commands/Egg/CheckEggUpdatesCommand.php` (+2 -3) 📝 `app/Console/Commands/Egg/UpdateEggIndexCommand.php` (+2 -2) 📝 `app/Services/Eggs/Sharing/EggImporterService.php` (+2 -1) 📝 `app/Services/Schedules/Sharing/ScheduleImporterService.php` (+4 -1) </details> ### 📄 Description Use `Http::get($url)` instead of `file_get_contents($url)` for better error & timeout handling. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-04 20:07:01 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#1673