From ca9131c4de008cd899d1db487e09c2cfc36c0c20 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Fri, 10 Jul 2026 09:27:57 +0300 Subject: [PATCH 1/2] Cleanup GitHub workflows --- .github/workflows/rector-cs.yml | 2 ++ .github/workflows/zizmor.yml | 16 ++++++---------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/rector-cs.yml b/.github/workflows/rector-cs.yml index d4003af..83e3649 100644 --- a/.github/workflows/rector-cs.yml +++ b/.github/workflows/rector-cs.yml @@ -19,6 +19,8 @@ concurrency: jobs: rector: + permissions: + contents: write # Required to commit automated Rector and CS fixes uses: yiisoft/actions/.github/workflows/rector-cs.yml@master with: php: '8.1' diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index 430255d..1e117a7 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -1,21 +1,17 @@ name: GitHub Actions Security Analysis with zizmor 🌈 on: - push: - branches: - - master - - main - paths: - - '.github/**.yml' - - '.github/**.yaml' pull_request: - paths: + paths: &paths - '.github/**.yml' - '.github/**.yaml' + push: + branches: [ 'master' ] + paths: *paths permissions: - actions: read # Required by zizmor when reading workflow metadata through the API. - contents: read # Required to read workflow files. + actions: read # Required by zizmor when reading workflow metadata through the API + contents: read # Required to read workflow files jobs: zizmor: From 9c09cf05e4f2089e59aa8385804294adae71f634 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 10 Jul 2026 06:29:02 +0000 Subject: [PATCH 2/2] Apply PHP CS Fixer and Rector changes (CI) --- src/Html.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Html.php b/src/Html.php index 7a11859..d833a98 100644 --- a/src/Html.php +++ b/src/Html.php @@ -136,6 +136,7 @@ use function is_int; use function is_string; use function strlen; +use function array_key_exists; use const ENT_HTML5; use const ENT_NOQUOTES;