Skip to content

Commit

Permalink
Merge 21a7788 into 7568c9b
Browse files Browse the repository at this point in the history
  • Loading branch information
realodix committed Oct 13, 2023
2 parents 7568c9b + 21a7788 commit 6b65e5a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,25 @@ jobs:

- name: Run PHPStan
run: ./vendor/bin/phpstan analyse --error-format=github

phpcsfixer:
name: Checkstyle
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
coverage: none

- name: Install composer dependencies
run: "composer install --no-interaction --no-progress --no-scripts"

- name: Run PHP-CS-Fixer
run: ./vendor/bin/php-cs-fixer check --diff
1 change: 1 addition & 0 deletions app/Http/Controllers/UrlController.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use App\Models\Visit;
use App\Services\QrCodeService;
use App\Services\UHubLinkService;
use App\Test;

class UrlController extends Controller
{
Expand Down

0 comments on commit 6b65e5a

Please sign in to comment.