[PR #894] [MERGED] Resolve the issue with the missing Dotenv class #1122

Closed
opened 2026-02-25 21:37:18 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/cypht-org/cypht/pull/894
Author: @Shadow243
Created: 2/12/2024
Status: Merged
Merged: 2/13/2024
Merged by: @kroky

Base: masterHead: correct-github-actions


📝 Commits (1)

  • 22d5dd5 Resolve the issue with the missing Dotenv class

📊 Changes

3 files changed (+12 additions, -12 deletions)

View changed files

📝 .github/tests/test.sh (+1 -1)
📝 modules/core/output_modules.php (+9 -9)
📝 tests/phpunit/modules/core/modules.php (+2 -2)

📄 Description

Correct Github action error:

Hm_Test_Environment_Variable
 ✘ Get
   │
   │ Error: Class 'Symfony\Component\Dotenv\Dotenv' not found
   │
   │ /home/runner/work/cypht/cypht/lib/environment.php:23
   │ /home/runner/work/cypht/cypht/tests/phpunit/environment.php:20

[How to reproduce]

To execute Test CI locally use(for testing):

act -j Test --container-architecture linux/amd64

🔄 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/cypht-org/cypht/pull/894 **Author:** [@Shadow243](https://github.com/Shadow243) **Created:** 2/12/2024 **Status:** ✅ Merged **Merged:** 2/13/2024 **Merged by:** [@kroky](https://github.com/kroky) **Base:** `master` ← **Head:** `correct-github-actions` --- ### 📝 Commits (1) - [`22d5dd5`](https://github.com/cypht-org/cypht/commit/22d5dd58f74fb80d1b3ba84b7aa993081d0e3580) Resolve the issue with the missing Dotenv class ### 📊 Changes **3 files changed** (+12 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `.github/tests/test.sh` (+1 -1) 📝 `modules/core/output_modules.php` (+9 -9) 📝 `tests/phpunit/modules/core/modules.php` (+2 -2) </details> ### 📄 Description Correct Github action error: ``` Hm_Test_Environment_Variable ✘ Get │ │ Error: Class 'Symfony\Component\Dotenv\Dotenv' not found │ │ /home/runner/work/cypht/cypht/lib/environment.php:23 │ /home/runner/work/cypht/cypht/tests/phpunit/environment.php:20 ``` [How to reproduce] ------------------------ To execute Test CI locally use(for testing): - [act](https://medium.com/@debasishkumardas5/running-github-actions-locally-a-complete-guide-for-windows-mac-and-linux-users-34c45999c7cd) - [Docker](https://docs.docker.com/get-docker/) ``` act -j Test --container-architecture linux/amd64 ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 21:37:18 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#1122
No description provided.