Skip to content
This repository was archived by the owner on Jul 18, 2023. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,29 @@ jobs:
run: php artisan key:generate

- name: Run tests with phpunit/phpunit
shell: bash
run: php ./laravel/vendor/bin/phpunit --configuration ./laravel/phpunit.xml --coverage-clover=coverage.xml

- name: debug out
shell: bash
run: cat coverage.xml

- name: debug out1
shell: bash
run: echo $GITHUB_WORKSPACE

- name: debug out11
shell: bash
working-directory: ./laravel
run: ./vendor/bin/phpunit --coverage-clover=coverage.xml
run: ls -l

- name: Fix code coverage paths
shell: bash
working-directory: ./laravel
run: sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' coverage.xml
run: sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace@g' coverage.xml

- name: debug out2
shell: bash
run: cat coverage.xml

- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
Expand Down
2 changes: 0 additions & 2 deletions laravel/app/Console/Kernel.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

namespace App\Console;

use Illuminate\Console\Scheduling\Schedule;
Expand Down
2 changes: 0 additions & 2 deletions laravel/app/Exceptions/Handler.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

namespace App\Exceptions;

use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
Expand Down
2 changes: 0 additions & 2 deletions laravel/app/Http/Controllers/Controller.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

namespace App\Http\Controllers;

use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
Expand Down
2 changes: 0 additions & 2 deletions laravel/app/Http/Kernel.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

namespace App\Http;

use Illuminate\Foundation\Http\Kernel as HttpKernel;
Expand Down
2 changes: 0 additions & 2 deletions laravel/app/Http/Middleware/Authenticate.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

namespace App\Http\Middleware;

use Illuminate\Auth\Middleware\Authenticate as Middleware;
Expand Down
2 changes: 0 additions & 2 deletions laravel/app/Http/Middleware/EncryptCookies.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

namespace App\Http\Middleware;

use Illuminate\Cookie\Middleware\EncryptCookies as Middleware;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

namespace App\Http\Middleware;

use Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance as Middleware;
Expand Down
2 changes: 0 additions & 2 deletions laravel/app/Http/Middleware/RedirectIfAuthenticated.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

namespace App\Http\Middleware;

use App\Providers\RouteServiceProvider;
Expand Down
2 changes: 0 additions & 2 deletions laravel/app/Http/Middleware/TrimStrings.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

namespace App\Http\Middleware;

use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
Expand Down
2 changes: 0 additions & 2 deletions laravel/app/Http/Middleware/TrustHosts.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

namespace App\Http\Middleware;

use Illuminate\Http\Middleware\TrustHosts as Middleware;
Expand Down
2 changes: 0 additions & 2 deletions laravel/app/Http/Middleware/TrustProxies.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

namespace App\Http\Middleware;

use Illuminate\Http\Middleware\TrustProxies as Middleware;
Expand Down
2 changes: 0 additions & 2 deletions laravel/app/Http/Middleware/ValidateSignature.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

namespace App\Http\Middleware;

use Illuminate\Routing\Middleware\ValidateSignature as Middleware;
Expand Down
2 changes: 0 additions & 2 deletions laravel/app/Http/Middleware/VerifyCsrfToken.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

namespace App\Http\Middleware;

use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
Expand Down
2 changes: 0 additions & 2 deletions laravel/app/Models/User.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

namespace App\Models;

// use Illuminate\Contracts\Auth\MustVerifyEmail;
Expand Down
2 changes: 0 additions & 2 deletions laravel/app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

namespace App\Providers;

use Illuminate\Support\ServiceProvider;
Expand Down
2 changes: 0 additions & 2 deletions laravel/app/Providers/AuthServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

namespace App\Providers;

// use Illuminate\Support\Facades\Gate;
Expand Down
2 changes: 0 additions & 2 deletions laravel/app/Providers/BroadcastServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

namespace App\Providers;

use Illuminate\Support\Facades\Broadcast;
Expand Down
2 changes: 0 additions & 2 deletions laravel/app/Providers/EventServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

namespace App\Providers;

use Illuminate\Auth\Events\Registered;
Expand Down
2 changes: 0 additions & 2 deletions laravel/app/Providers/RouteServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

namespace App\Providers;

use Illuminate\Cache\RateLimiting\Limit;
Expand Down
2 changes: 0 additions & 2 deletions laravel/artisan
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/usr/bin/env php
<?php

// @Generated

define('LARAVEL_START', microtime(true));

/*
Expand Down
2 changes: 0 additions & 2 deletions laravel/bootstrap/app.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

/*
|--------------------------------------------------------------------------
| Create The Application
Expand Down
2 changes: 0 additions & 2 deletions laravel/config/app.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

use Illuminate\Support\Facades\Facade;
use Illuminate\Support\ServiceProvider;

Expand Down
2 changes: 0 additions & 2 deletions laravel/config/auth.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

return [

/*
Expand Down
2 changes: 0 additions & 2 deletions laravel/config/broadcasting.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

return [

/*
Expand Down
2 changes: 0 additions & 2 deletions laravel/config/cache.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

use Illuminate\Support\Str;

return [
Expand Down
2 changes: 0 additions & 2 deletions laravel/config/cors.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

return [

/*
Expand Down
2 changes: 0 additions & 2 deletions laravel/config/database.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

use Illuminate\Support\Str;

return [
Expand Down
2 changes: 0 additions & 2 deletions laravel/config/filesystems.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

return [

/*
Expand Down
2 changes: 0 additions & 2 deletions laravel/config/hashing.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

return [

/*
Expand Down
2 changes: 0 additions & 2 deletions laravel/config/logging.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

use Monolog\Handler\NullHandler;
use Monolog\Handler\StreamHandler;
use Monolog\Handler\SyslogUdpHandler;
Expand Down
2 changes: 0 additions & 2 deletions laravel/config/mail.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

return [

/*
Expand Down
2 changes: 0 additions & 2 deletions laravel/config/queue.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

return [

/*
Expand Down
2 changes: 0 additions & 2 deletions laravel/config/sanctum.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

use Laravel\Sanctum\Sanctum;

return [
Expand Down
2 changes: 0 additions & 2 deletions laravel/config/services.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

return [

/*
Expand Down
2 changes: 0 additions & 2 deletions laravel/config/session.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

use Illuminate\Support\Str;

return [
Expand Down
2 changes: 0 additions & 2 deletions laravel/config/view.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

return [

/*
Expand Down
2 changes: 0 additions & 2 deletions laravel/database/factories/UserFactory.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
Expand Down
2 changes: 0 additions & 2 deletions laravel/database/seeders/DatabaseSeeder.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

namespace Database\Seeders;

// use Illuminate\Database\Console\Seeds\WithoutModelEvents;
Expand Down
2 changes: 0 additions & 2 deletions laravel/public/index.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

use Illuminate\Contracts\Http\Kernel;
use Illuminate\Http\Request;

Expand Down
2 changes: 0 additions & 2 deletions laravel/routes/api.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

use Illuminate\Http\Request;
use Illuminate\Support\Facades\Route;

Expand Down
2 changes: 0 additions & 2 deletions laravel/routes/channels.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

// @Generated

use Illuminate\Support\Facades\Broadcast;

/*
Expand Down
Loading