Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
33 changes: 33 additions & 0 deletions .github/workflows/backend-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Backend CI

on:
push:
branches:
- '[0-9]+.[0-9]+'
pull_request: ~
workflow_dispatch: ~

jobs:
cs-fix:
name: Run code style check
runs-on: "ubuntu-26.04"
strategy:
matrix:
php:
- '7.4'
steps:
- uses: actions/checkout@v7

- uses: ibexa/gh-workflows/actions/composer-install@main

Check failure on line 21 in .github/workflows/backend-ci.yaml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Use full commit SHA hash for this dependency.

See more on https://sonarcloud.io/project/issues?id=ibexa_cron&issues=AaCAZQzu3hjPHIKcGrJO&open=AaCAZQzu3hjPHIKcGrJO&pullRequest=28
with:
php-version: ${{ matrix.php }}
gh-client-id: ${{ secrets.AUTOMATION_CLIENT_ID }}
gh-client-secret: ${{ secrets.AUTOMATION_CLIENT_SECRET }}
satis-network-key: ${{ secrets.SATIS_NETWORK_KEY }}
satis-network-token: ${{ secrets.SATIS_NETWORK_TOKEN }}

- name: Run code style check
shell: bash
run: |
set -euo pipefail
composer run-script check-cs -- --format=checkstyle | cs2pr
10 changes: 0 additions & 10 deletions .github/workflows/pr-assign.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
"require-dev": {
"ibexa/code-style": "^1.0",
"ibexa/doctrine-schema": "~4.6.0@dev",
"friendsofphp/php-cs-fixer": "^3.0",
"phpunit/phpunit": "^6.4 || ^7.0"
"friendsofphp/php-cs-fixer": "^3.0"
},
"scripts": {
"check-cs": "@fix-cs --dry-run",
"fix-cs": "php-cs-fixer fix --config=.php-cs-fixer.php -v --show-progress=dots"
},
"extra": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* @copyright Copyright (C) Ibexa AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/

namespace Ibexa\Bundle\Cron\DependencyInjection\Compiler;

use Ibexa\Bundle\Cron\Registry\CronJobsRegistry;
Expand Down
1 change: 1 addition & 0 deletions src/bundle/DependencyInjection/IbexaCronExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* @copyright Copyright (C) Ibexa AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/

namespace Ibexa\Bundle\Cron\DependencyInjection;

use Symfony\Component\Config\FileLocator;
Expand Down
1 change: 1 addition & 0 deletions src/bundle/IbexaCronBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* @copyright Copyright (C) Ibexa AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/

namespace Ibexa\Bundle\Cron;

use Ibexa\Bundle\Cron\DependencyInjection\Compiler\CronJobCompilerPass;
Expand Down
1 change: 1 addition & 0 deletions src/bundle/Registry/CronJobsRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* @copyright Copyright (C) Ibexa AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/

namespace Ibexa\Bundle\Cron\Registry;

use Cron\Job\ShellJob;
Expand Down