Skip to content

Commit

Permalink
Merge pull request #2113 from arawa/chore/repair-cs-fix
Browse files Browse the repository at this point in the history
Chore/repair cs fix
  • Loading branch information
susnux authored Aug 12, 2023
2 parents e1e7e71 + dc8a537 commit b98790f
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/lint-php-cs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization

name: Lint

on:
pull_request:
push:
branches:
- master
- stable*

permissions:
contents: read

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
coverage: none

- name: Install dependencies
run: composer i

- name: Lint
run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
File renamed without changes.
1 change: 0 additions & 1 deletion lib/Mount/GroupFolderStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
use OC\Files\ObjectStore\ObjectStoreStorage;
use OC\Files\Storage\Wrapper\Quota;
use OCP\Files\Cache\ICacheEntry;
use OCP\Files\Storage\IDisableEncryptionStorage;
use OCP\IUser;
use OCP\IUserSession;

Expand Down

0 comments on commit b98790f

Please sign in to comment.