From c37464f3dd02eee5200a0b8b3bdc74877f9a9f15 Mon Sep 17 00:00:00 2001 From: Baptiste Langlade Date: Sun, 9 Feb 2025 14:54:17 +0100 Subject: [PATCH 1/2] update changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c48749e..823f7d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [Unreleased] + +### Added + +- The environment key `PHP_CS_FIXER_IGNORE_ENV` is forwarded to PHP CS Fixer when defined by the user. + ## 4.1.0 - 2024-03-10 ### Changed From 3481d09e9f697075dcf992ceb9cb5b62688900fc Mon Sep 17 00:00:00 2001 From: Baptiste Langlade Date: Sun, 9 Feb 2025 14:56:49 +0100 Subject: [PATCH 2/2] add LAB_STATION env key to the blackbox process --- CHANGELOG.md | 1 + src/Trigger/BlackBox.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 823f7d9..097d821 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ### Added - The environment key `PHP_CS_FIXER_IGNORE_ENV` is forwarded to PHP CS Fixer when defined by the user. +- The environment key `LAB_STATION` is provided to the BlackBox process to allow to define a specific configuration in this environment. ## 4.1.0 - 2024-03-10 diff --git a/src/Trigger/BlackBox.php b/src/Trigger/BlackBox.php index 281f9f8..d2a976a 100644 --- a/src/Trigger/BlackBox.php +++ b/src/Trigger/BlackBox.php @@ -67,7 +67,8 @@ private function run(Console $console, OperatingSystem $os): Console $key, ['PATH', 'LC_TERMINAL'], true, - )); + )) + ->put('LAB_STATION', 'true'); $process = $os ->control()