diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 000000000000..fb75c06d691b --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,37 @@ +name: Lint + +on: + pull_request: + + +jobs: + php-lint: + name: "Lint" + + runs-on: ubuntu-latest + + strategy: + fail-fast: false + + matrix: + php-version: + - "7.4" + - "8.0" + - "8.1" + + steps: + - name: Checkout Code + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Setup PHP runtime + uses: shivammathur/setup-php@v2 + with: + php-version: "${{ matrix.php-version }}" + coverage: "none" + + - name: Lint PHP files + run: | + composer require --dev overtrue/phplint + ./vendor/bin/phplint -vvv --no-cache diff --git a/resources/lang/en/general.php b/resources/lang/en/general.php index d8f5bb887d4a..6d7d19b4937f 100644 --- a/resources/lang/en/general.php +++ b/resources/lang/en/general.php @@ -104,7 +104,7 @@ 'depreciation_report' => 'Depreciation Report', 'details' => 'Details', 'download' => 'Download', - 'download_all' => 'Download All', + 'download_all' => 'Download All' 'editprofile' => 'Edit Your Profile', 'eol' => 'EOL', 'email_domain' => 'Email Domain',