From 26cfb69f1d3527c4e1bde9980959ee241e6af6e6 Mon Sep 17 00:00:00 2001 From: arhimede Date: Mon, 29 Apr 2024 19:33:22 +0300 Subject: [PATCH 1/3] Create qodana_code_quality.yml qodana integration --- .github/workflows/qodana_code_quality.yml | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/qodana_code_quality.yml diff --git a/.github/workflows/qodana_code_quality.yml b/.github/workflows/qodana_code_quality.yml new file mode 100644 index 0000000..a9ea9b7 --- /dev/null +++ b/.github/workflows/qodana_code_quality.yml @@ -0,0 +1,25 @@ +name: Qodana +on: + workflow_dispatch: + pull_request: + push: + branches: + - 4.0 + - 'releases/*' + +jobs: + qodana: + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + checks: write + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit + fetch-depth: 0 # a full history is required for pull request analysis + - name: 'Qodana Scan' + uses: JetBrains/qodana-action@v2024.1 + env: + QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} From a4c3aea9eda09a07c45f927df691acddd872a97d Mon Sep 17 00:00:00 2001 From: arhimede Date: Mon, 29 Apr 2024 19:51:35 +0300 Subject: [PATCH 2/3] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 7cca000..6fa2d9c 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ Based on Enrico Zimuel's [Zend Expressive API - Skeleton example](https://github [![Build Static](https://github.com/dotkernel/api/actions/workflows/static-analysis.yml/badge.svg?branch=4.0)](https://github.com/dotkernel/api/actions/workflows/static-analysis.yml) [![Build Static](https://github.com/dotkernel/api/actions/workflows/run-tests.yml/badge.svg?branch=4.0)](https://github.com/dotkernel/api/actions/workflows/run-tests.yml) [![codecov](https://codecov.io/gh/dotkernel/api/graph/badge.svg?token=53FN78G5CK)](https://codecov.io/gh/dotkernel/api) +[![Qodana](https://github.com/dotkernel/api/actions/workflows/qodana_code_quality.yml/badge.svg)](https://github.com/dotkernel/api/actions/workflows/qodana_code_quality.yml) [![SymfonyInsight](https://insight.symfony.com/projects/7f9143cc-5e3c-4cfc-992c-377a001fde3e/big.svg)](https://insight.symfony.com/projects/7f9143cc-5e3c-4cfc-992c-377a001fde3e) From 2f67bfa48da8bf562b73545651f254a37eaebbfe Mon Sep 17 00:00:00 2001 From: Alex Karajos Date: Tue, 30 Apr 2024 07:02:14 +0300 Subject: [PATCH 3/3] Issue #236: Removed ext-gd from composer.json --- composer.json | 1 - 1 file changed, 1 deletion(-) diff --git a/composer.json b/composer.json index ad43fbf..ea0dddf 100644 --- a/composer.json +++ b/composer.json @@ -43,7 +43,6 @@ }, "require": { "php": "~8.2.0 || ~8.3.0", - "ext-gd": "*", "ext-json": "*", "dotkernel/dot-annotated-services": "^4.1.7", "dotkernel/dot-cache": "^4.0",