From cbdf51de2f72153f31cc5990bb46b9e3ac4d28a8 Mon Sep 17 00:00:00 2001 From: Tigrov Date: Sat, 2 May 2026 11:17:29 +0700 Subject: [PATCH 1/5] Ignore BC checks of suggestions --- .roave-backward-compatibility-check.xml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .roave-backward-compatibility-check.xml diff --git a/.roave-backward-compatibility-check.xml b/.roave-backward-compatibility-check.xml new file mode 100644 index 000000000..46c6b9103 --- /dev/null +++ b/.roave-backward-compatibility-check.xml @@ -0,0 +1,9 @@ + + + + #\[BC\] SKIPPED: Roave\\BetterReflection\\Reflection\\ReflectionClass "Psr\\EventDispatcher\\StoppableEventInterface"# + #\[BC\] SKIPPED: Roave\\BetterReflection\\Reflection\\ReflectionClass "Yiisoft\\Arrays\\ArrayableTrait"# + + From 53de966b5e45147e62a9d402853b6803293044ce Mon Sep 17 00:00:00 2001 From: Tigrov Date: Sat, 2 May 2026 11:20:47 +0700 Subject: [PATCH 2/5] Update bc.yml --- .github/workflows/bc.yml | 32 +++++++++----------------------- 1 file changed, 9 insertions(+), 23 deletions(-) diff --git a/.github/workflows/bc.yml b/.github/workflows/bc.yml index b26939173..0ea2e96bb 100644 --- a/.github/workflows/bc.yml +++ b/.github/workflows/bc.yml @@ -1,36 +1,22 @@ on: pull_request: - paths-ignore: - - 'docs/**' - - 'README.md' - - 'CHANGELOG.md' - - '.gitignore' - - '.gitattributes' - - 'infection.json.dist' - - 'phpunit.xml.dist' - - 'psalm.xml' + paths: &paths + - 'src/**' + - '.github/workflows/bc.yml' + - 'composer.json' push: branches: ['master'] - paths-ignore: - - 'docs/**' - - 'README.md' - - 'CHANGELOG.md' - - '.gitignore' - - '.gitattributes' - - 'infection.json.dist' - - 'phpunit.xml.dist' - - 'psalm.xml' + paths: *paths name: backwards compatibility -permissions: - contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: roave_bc_check: uses: yiisoft/actions/.github/workflows/bc.yml@master with: - os: >- - ['ubuntu-latest'] php: >- - ['8.1'] + ['8.5'] From 1809e09b05f2fecce9d328693a5d75114b4fa4e8 Mon Sep 17 00:00:00 2001 From: Tigrov Date: Sat, 2 May 2026 11:22:40 +0700 Subject: [PATCH 3/5] Update bc.yml --- .github/workflows/bc.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/bc.yml b/.github/workflows/bc.yml index 0ea2e96bb..ba292c35f 100644 --- a/.github/workflows/bc.yml +++ b/.github/workflows/bc.yml @@ -10,6 +10,9 @@ on: name: backwards compatibility +permissions: + contents: read + concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true From 2aa7ccba6981c98abf14bd22b5bc8e4a5a57eba4 Mon Sep 17 00:00:00 2001 From: Tigrov Date: Sat, 2 May 2026 11:23:12 +0700 Subject: [PATCH 4/5] Update bc.yml --- .github/workflows/bc.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/bc.yml b/.github/workflows/bc.yml index ba292c35f..2734b360f 100644 --- a/.github/workflows/bc.yml +++ b/.github/workflows/bc.yml @@ -13,10 +13,6 @@ name: backwards compatibility permissions: contents: read -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - jobs: roave_bc_check: uses: yiisoft/actions/.github/workflows/bc.yml@master From ff2cec1ec71f637e60e66e83f18a54cc65430f41 Mon Sep 17 00:00:00 2001 From: Sergei Tigrov Date: Sat, 2 May 2026 19:33:38 +0700 Subject: [PATCH 5/5] Update .github/workflows/bc.yml Co-authored-by: Sergei Predvoditelev --- .github/workflows/bc.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/bc.yml b/.github/workflows/bc.yml index 2734b360f..94ed26c69 100644 --- a/.github/workflows/bc.yml +++ b/.github/workflows/bc.yml @@ -4,6 +4,7 @@ on: - 'src/**' - '.github/workflows/bc.yml' - 'composer.json' + - '.roave-backward-compatibility-check.xml' push: branches: ['master'] paths: *paths