Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
f7baca8
[GHA] Dropped PR assignees workflow
alongosz May 14, 2026
d8c239b
[GHA][Backend CI] Dropped Satis configuration
alongosz May 14, 2026
1213861
[GHA][Backend CI] Dropped SQLite & GD extension from PHP setup
alongosz May 14, 2026
90dac99
[GHA][Backend CI] Updated ubuntu and actions versions
alongosz May 14, 2026
3c683a6
[CS] Bumped Ibexa Code Style to ~2.3.0
alongosz May 14, 2026
e799a80
[PHPStan] Bumped PHPStan to ^2
alongosz May 14, 2026
69c9f0d
[Skeletons][CS] Aligned skeletons with new Ibexa Code Style 2.3.0
alongosz May 14, 2026
a46d404
[CS] Aligned generator codebase with Ibexa Code Style 2.3.0
alongosz May 14, 2026
4c60c39
Fixed static analysis issue in generator codebase
alongosz May 14, 2026
69f97d2
[PHPStan] Removed resolved issues from the baseline
alongosz May 14, 2026
3b83a24
[Skeletons] Bumped Ibexa Code Style to ~2.3.0
alongosz May 14, 2026
11c89c2
[Skeletons] Bumped Symfony to ^7.4
alongosz May 14, 2026
3d90690
[Skeletons] Dropped obsolete `main` branch from Backend CI GHA workflow
alongosz May 14, 2026
fbc8331
[Skeletons][EE] Replaced TRAVIS_GITHUB_TOKEN with GitHub App secrets
alongosz May 14, 2026
ef4d0e8
[Skeletons][EE] Updated Backend CI GHA
alongosz May 14, 2026
9113471
[Skeletons][OSS] Updated Backend CI GHA
alongosz May 14, 2026
0a1a6e9
[Skeletons][Extension] Updated 3rd party GHA workflows
alongosz May 14, 2026
33f989e
[Skeletons] Dropped obsolete `pull_request_template.md`
alongosz May 14, 2026
e39601c
[CI] Excluded skeleton directory from code duplication analysis
alongosz May 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions .github/workflows/backend-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
tests:
name: Tests
runs-on: "ubuntu-20.04"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Made GHA workflow completely not runnable as Ubuntu 20 has been discontinued on GHA.

runs-on: "ubuntu-latest"
timeout-minutes: 10

strategy:
Expand All @@ -20,26 +20,16 @@ jobs:
- '8.3'

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Setup PHP Action
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
extensions: pdo_sqlite, gd
tools: cs2pr

- name: Add composer keys for private packagist
run: |
composer config http-basic.updates.ibexa.co $SATIS_NETWORK_KEY $SATIS_NETWORK_TOKEN
composer config github-oauth.github.com $TRAVIS_GITHUB_TOKEN
env:
SATIS_NETWORK_KEY: ${{ secrets.SATIS_NETWORK_KEY }}
SATIS_NETWORK_TOKEN: ${{ secrets.SATIS_NETWORK_TOKEN }}
TRAVIS_GITHUB_TOKEN: ${{ secrets.TRAVIS_GITHUB_TOKEN }}
Comment on lines -30 to -40
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Changes not needed for GHA run for the bundle generator itself, as it shouldn't install any Ibexa packages, except for Ibexa Code Style, which is served by Packagist.


- uses: "ramsey/composer-install@v3"
- uses: ramsey/composer-install@v4
Comment thread
barw4 marked this conversation as resolved.
with:
dependency-versions: "highest"
composer-options: "--prefer-dist --no-progress --no-suggest"
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/pr-assign.yaml
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Deleted obsolete PR assignment workflow as it rather doesn't apply to this package.

This file was deleted.

1 change: 1 addition & 0 deletions .sonarcloud.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sonar.cpd.exclusions=skeleton/**
10 changes: 6 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"name": "ibexa/bundle-generator",
"license": "(GPL-2.0-only or proprietary)",
Expand All @@ -13,10 +13,12 @@
},
"require-dev": {
"composer/composer": "^2.1",
"friendsofphp/php-cs-fixer": "^3.0",
"ibexa/code-style": "~2.1.0",
"phpstan/phpstan": "^0.12.75",
"phpunit/phpunit": "^9.0"
"ibexa/code-style": "~2.3.0",
"phpstan/phpstan": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^2",
"phpstan/phpstan-symfony": "^2.0",
"phpunit/phpunit": "^12"
},
"bin": [
"bin/ibexa-bundle-generator"
Expand Down
32 changes: 1 addition & 31 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -1,32 +1,2 @@
parameters:
ignoreErrors:
-
message: "#^Cannot cast array\\<int, string\\>\\|bool\\|int\\|string to string\\.$#"
count: 1
path: src/lib/Composer/ScriptHandler.php

-
message: "#^Parameter \\#1 \\$targetDir of method Ibexa\\\\BundleGenerator\\\\Generator\\\\BundleGeneratorConfiguration\\:\\:setTargetDir\\(\\) expects string\\|null, string\\|false given\\.$#"
count: 1
path: src/lib/Composer/ScriptHandler.php

-
message: "#^Parameter \\#1 \\$path of function basename expects string, string\\|false given\\.$#"
count: 1
path: src/lib/Generator/BundleGenerator.php

-
message: "#^Parameter \\#1 \\$str of function strtr expects string, string\\|false given\\.$#"
count: 1
path: src/lib/Generator/BundleGenerator.php

-
message: "#^Parameter \\#1 \\$targetDir of method Ibexa\\\\BundleGenerator\\\\Generator\\\\BundleGenerator\\:\\:createSkeletonIterator\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: src/lib/Generator/BundleGenerator.php

-
message: "#^Parameter \\#2 \\$targetDir of method Symfony\\\\Component\\\\Filesystem\\\\Filesystem\\:\\:mirror\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: src/lib/Generator/BundleGenerator.php

ignoreErrors: []
15 changes: 0 additions & 15 deletions skeleton/extension/.github/pull_request_template.md
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Obsolete, handled by org-wide PR template.

This file was deleted.

10 changes: 5 additions & 5 deletions skeleton/extension/.github/workflows/backend-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
php:
- '8.3'
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Setup PHP Action
uses: shivammathur/setup-php@v2
Expand All @@ -26,7 +26,7 @@ jobs:
extensions: 'pdo_sqlite, gd'
tools: cs2pr

- uses: ramsey/composer-install@v3
- uses: ramsey/composer-install@v4
with:
dependency-versions: "highest"

Expand All @@ -37,7 +37,7 @@ jobs:
name: Deptrac
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Deptrac
uses: smoench/deptrac-action@master

Expand All @@ -53,7 +53,7 @@ jobs:
- '8.3'

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Setup PHP Action
uses: shivammathur/setup-php@v2
Expand All @@ -63,7 +63,7 @@ jobs:
extensions: pdo_sqlite, gd
tools: cs2pr

- uses: ramsey/composer-install@v3
- uses: ramsey/composer-install@v4
with:
dependency-versions: "highest"
composer-options: "--prefer-dist --no-progress --no-suggest"
Expand Down
4 changes: 2 additions & 2 deletions skeleton/extension/.github/workflows/frontend-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
timeout-minutes: 5

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v6
- uses: actions/setup-node@v5
with:
node-version: '22'
- run: yarn install
Expand Down
16 changes: 8 additions & 8 deletions skeleton/extension/composer.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"name": "__VENDOR_NAME__/__PACKAGE_NAME__",
"license": "GPL-2.0-only",
Expand All @@ -8,17 +8,17 @@
"require": {
"php": ">=8.3",
"ibexa/core": "~5.0.x-dev",
"symfony/config": "^7.3",
"symfony/dependency-injection": "^7.3",
"symfony/event-dispatcher": "^7.3",
"symfony/http-foundation": "^7.3",
"symfony/http-kernel": "^7.3",
"symfony/yaml": "^7.3"
"symfony/config": "^7.4",
"symfony/dependency-injection": "^7.4",
"symfony/event-dispatcher": "^7.4",
"symfony/http-foundation": "^7.4",
"symfony/http-kernel": "^7.4",
"symfony/yaml": "^7.4"
},
"require-dev": {
"dama/doctrine-test-bundle": "^8.2",
"deptrac/deptrac": "^3.0",
"ibexa/code-style": "~2.1.0",
"ibexa/code-style": "~2.3.0",
"ibexa/phpstan": "~5.0.x-dev",
"ibexa/rector": "~5.0.x-dev",
"ibexa/test-core": "~5.0.x-dev",
Expand All @@ -27,7 +27,7 @@
"phpstan/phpstan-strict-rules": "^2",
"phpstan/phpstan-symfony": "^2.0",
"phpunit/phpunit": "^9.5",
"symfony/phpunit-bridge": "^7.3"
"symfony/phpunit-bridge": "^7.4"
},
"autoload": {
"psr-4": {
Expand Down
15 changes: 0 additions & 15 deletions skeleton/ibexa-ee/.github/pull_request_template.md

This file was deleted.

Loading
Loading