From e976d6183fc2f6d0c5ab0ce2c9db67254392bb82 Mon Sep 17 00:00:00 2001 From: Wilmer Arambula Date: Mon, 1 Jun 2026 17:08:20 -0400 Subject: [PATCH 1/2] fix(ci): Remove unnecessary permissions and secrets from linter workflow. --- .github/workflows/linter.yml | 4 ---- CHANGELOG.md | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 7b46557..f10da78 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -6,12 +6,8 @@ on: name: linter permissions: - checks: write contents: read - statuses: write jobs: linter: uses: yii2-framework/actions/.github/workflows/super-linter.yml@v1 - secrets: - AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 21de82f..66b808b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - refactor: Migrate the `default` debug views to `ui-awesome/html` builder components for consistent, escape-safe rendering. - fix: Update `yiisoft/yii2` and `yiisoft/yii2-symfonymailer` version constraints for compatibility. - docs: Update package badges and add social media links in `README.md`. +- fix(ci): Remove unnecessary permissions and secrets from `linter.yml` workflow. ## 0.1.1 May 18, 2026 From dcac0036ca2648edae8909a96d0105128962ff78 Mon Sep 17 00:00:00 2001 From: Wilmer Arambula Date: Tue, 2 Jun 2026 06:40:30 -0400 Subject: [PATCH 2/2] Fix Static ci. --- tests/timeline/SvgTest.php | 2 +- tests/timeline/TimelinePanelTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/timeline/SvgTest.php b/tests/timeline/SvgTest.php index 9e64963..e7754e9 100644 --- a/tests/timeline/SvgTest.php +++ b/tests/timeline/SvgTest.php @@ -181,7 +181,7 @@ public function testConstructorSkipsSourcePanelsWithoutMessages(): void self::assertInstanceOf(LogPanel::class, $logPanel, 'Log panel must be wired.'); - $logPanel->data = ['no-messages-key' => 'value']; + $logPanel->data = []; $svg = new Svg($panel); diff --git a/tests/timeline/TimelinePanelTest.php b/tests/timeline/TimelinePanelTest.php index dadcada..007763a 100644 --- a/tests/timeline/TimelinePanelTest.php +++ b/tests/timeline/TimelinePanelTest.php @@ -602,7 +602,7 @@ private function makeTimelinePanel(): TimelinePanel * Sets the {@see ProfilingPanel::$data} payload backing the profiling lookups (`time` for duration override, * `messages` for the span rows). * - * @param array $data Profiling payload to inject. + * @param array{memory?: mixed, time?: mixed, messages?: mixed} $data Profiling payload to inject. */ private function primeProfilingPanel(TimelinePanel $panel, array $data): void {