Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/phpcs.yml')
-rw-r--r--.github/workflows/phpcs.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/phpcs.yml b/.github/workflows/phpcs.yml
new file mode 100644
index 0000000000..169942b071
--- /dev/null
+++ b/.github/workflows/phpcs.yml
@@ -0,0 +1,17 @@
+name: PHPCS check
+
+on: pull_request
+
+jobs:
+ phpcs:
+ name: PHPCS
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Install dependencies
+ run: composer install --dev --prefer-dist --no-progress --no-suggest
+ - name: PHPCS check
+ uses: chekalsky/phpcs-action@v1
+ with:
+ phpcs_bin_path: './vendor/bin/phpcs'
+ enable_warnings: true \ No newline at end of file