diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml new file mode 100644 index 0000000..b26c421 --- /dev/null +++ b/.github/workflows/linting.yml @@ -0,0 +1,16 @@ +name: Documentation + +on: + pull_request: + push: + +jobs: + check_linter: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: CheckLint + uses: overtrue/phplint@8.0 + with: + path: . + options: --exclude=*.log \ No newline at end of file diff --git a/.phplint.yml b/.phplint.yml new file mode 100644 index 0000000..bf4d894 --- /dev/null +++ b/.phplint.yml @@ -0,0 +1,9 @@ +path: ./ +jobs: 10 +cache: build/phplint.cache +extensions: + - php +exclude: + - vendor +warning: false +