Skip to content
Merged
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
chore(ci): update to Psalm 6
Signed-off-by: Oleksander Piskun <[email protected]>
  • Loading branch information
oleksandr-nc committed Jun 5, 2025
commit c207a7a7b10b449eee1b00dd7d7ddc83e7377a48
26 changes: 1 addition & 25 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,30 +94,6 @@ jobs:
- name: Run coding standards check
run: composer run psalm

php-security-analysis:
runs-on: ubuntu-22.04
permissions:
contents: read
actions: read
security-events: write
name: security analysis
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: recursive

- name: Psalm
uses: docker://vimeo/psalm-github-actions:4.30.0
with:
security_analysis: true
composer_ignore_platform_reqs: false
report_file: results.sarif

- name: Upload Security Analysis results to GitHub
uses: github/codeql-action/upload-sarif@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11
with:
sarif_file: results.sarif

js-eslint:
runs-on: ubuntu-22.04
name: eslint
Expand Down Expand Up @@ -147,7 +123,7 @@ jobs:
permissions:
contents: none
runs-on: ubuntu-22.04
needs: [xml-lint, php-lint, php-cs, php-psalm-analysis, php-security-analysis, js-eslint, stylelint]
needs: [xml-lint, php-lint, php-cs, php-psalm-analysis, js-eslint, stylelint]
name: Lint-OK
steps:
- run: echo "Lint passed successfully"
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"require-dev": {
"nextcloud/ocp": "dev-master",
"roave/security-advisories": "dev-latest",
"psalm/phar": "^5.15",
"psalm/phar": "6.7.x",
"nextcloud/coding-standard": "^1.1",
"friendsofphp/php-cs-fixer": "3.16"
},
Expand Down Expand Up @@ -50,6 +50,7 @@
}
},
"require": {
"ext-simplexml": "*"
"ext-simplexml": "*",
"php": ">=8.1.0"
}
}
Loading
Loading