From 46946cf8a663c66503485411773bdb3388939c58 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Fri, 3 Jan 2020 20:33:39 +0100 Subject: Rename HebrewParseTrainer namespace to LuoParseTrainer --- Readme.md | 2 +- app/Form.php | 2 +- app/Http/Controllers/FormController.php | 4 ++-- app/Mode.php | 2 +- app/RandomLog.php | 2 +- app/Tense.php | 2 +- composer.json | 2 +- config/auth.php | 2 +- database/migrations/2020_01_03_190703_remove_mediopassive_voice.php | 2 +- database/seeds/BasisTableSeeder.php | 6 +++--- database/seeds/FormTableSeeder.php | 2 +- resources/views/trainer.blade.php | 6 +++--- routes/web.php | 4 ++-- 13 files changed, 19 insertions(+), 19 deletions(-) diff --git a/Readme.md b/Readme.md index e725a29..5c83295 100644 --- a/Readme.md +++ b/Readme.md @@ -21,7 +21,7 @@ Create a `.env` file in the root directory with at least the following options: APP_ENV=production APP_DEBUG=false APP_KEY= # a 32-char random string - APP_URL=https://demo.camilstaps.nl/HebrewParseTrainer/ # e.g., use your own URL here + APP_URL=https://demo.camilstaps.nl/LuoParseTrainer/ # e.g., use your own URL here APP_LOCALE=en APP_FALLBACK_LOCALE=en diff --git a/app/Form.php b/app/Form.php index 767c122..73b5ce9 100644 --- a/app/Form.php +++ b/app/Form.php @@ -16,7 +16,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -namespace HebrewParseTrainer; +namespace LuoParseTrainer; use Illuminate\Database\Eloquent\Model; diff --git a/app/Http/Controllers/FormController.php b/app/Http/Controllers/FormController.php index a860363..0fc62fe 100644 --- a/app/Http/Controllers/FormController.php +++ b/app/Http/Controllers/FormController.php @@ -18,8 +18,8 @@ */ namespace App\Http\Controllers; -use HebrewParseTrainer\Form; -use HebrewParseTrainer\RandomLog; +use LuoParseTrainer\Form; +use LuoParseTrainer\RandomLog; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; diff --git a/app/Mode.php b/app/Mode.php index f7739fd..19bd1fc 100644 --- a/app/Mode.php +++ b/app/Mode.php @@ -16,7 +16,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -namespace HebrewParseTrainer; +namespace LuoParseTrainer; use Illuminate\Database\Eloquent\Model; diff --git a/app/RandomLog.php b/app/RandomLog.php index 8ba2889..c0d22a8 100644 --- a/app/RandomLog.php +++ b/app/RandomLog.php @@ -16,7 +16,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -namespace HebrewParseTrainer; +namespace LuoParseTrainer; use Illuminate\Database\Eloquent\Model; diff --git a/app/Tense.php b/app/Tense.php index b337eff..37097cf 100644 --- a/app/Tense.php +++ b/app/Tense.php @@ -16,7 +16,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -namespace HebrewParseTrainer; +namespace LuoParseTrainer; use Illuminate\Database\Eloquent\Model; diff --git a/composer.json b/composer.json index ae6f198..eba410b 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ ], "psr-4": { "App\\": "app/", - "HebrewParseTrainer\\": "app/" + "LuoParseTrainer\\": "app/" } }, "autoload-dev": { diff --git a/config/auth.php b/config/auth.php index 5e571a9..7c5d7c5 100644 --- a/config/auth.php +++ b/config/auth.php @@ -67,7 +67,7 @@ return [ 'providers' => [ 'users' => [ 'driver' => 'eloquent', - 'model' => HebrewParseTrainer\User::class, + 'model' => LuoParseTrainer\User::class, ], // 'users' => [ diff --git a/database/migrations/2020_01_03_190703_remove_mediopassive_voice.php b/database/migrations/2020_01_03_190703_remove_mediopassive_voice.php index beddf3e..a2b2d87 100644 --- a/database/migrations/2020_01_03_190703_remove_mediopassive_voice.php +++ b/database/migrations/2020_01_03_190703_remove_mediopassive_voice.php @@ -4,7 +4,7 @@ use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; -use HebrewParseTrainer\Form; +use LuoParseTrainer\Form; class RemoveMediopassiveVoice extends Migration { diff --git a/database/seeds/BasisTableSeeder.php b/database/seeds/BasisTableSeeder.php index 3f933b0..3dacde2 100644 --- a/database/seeds/BasisTableSeeder.php +++ b/database/seeds/BasisTableSeeder.php @@ -19,9 +19,9 @@ use Illuminate\Database\Seeder; -use HebrewParseTrainer\RootKind; -use HebrewParseTrainer\Mode; -use HebrewParseTrainer\Tense; +use LuoParseTrainer\RootKind; +use LuoParseTrainer\Mode; +use LuoParseTrainer\Tense; class BasisTableSeeder extends Seeder { diff --git a/database/seeds/FormTableSeeder.php b/database/seeds/FormTableSeeder.php index 4ddb983..b99bfd1 100644 --- a/database/seeds/FormTableSeeder.php +++ b/database/seeds/FormTableSeeder.php @@ -18,7 +18,7 @@ */ use Illuminate\Database\Seeder; -use HebrewParseTrainer\Form; +use LuoParseTrainer\Form; class FormTableSeeder extends Seeder { /** diff --git a/resources/views/trainer.blade.php b/resources/views/trainer.blade.php index be6a0bd..6540f3b 100644 --- a/resources/views/trainer.blade.php +++ b/resources/views/trainer.blade.php @@ -1,7 +1,7 @@ @extends('layouts.with_sidebar') diff --git a/routes/web.php b/routes/web.php index 58e592f..fc37fad 100644 --- a/routes/web.php +++ b/routes/web.php @@ -28,11 +28,11 @@ Route::group( }); Route::get('/stem', function () { - return \HebrewParseTrainer\Mode::all(); + return \LuoParseTrainer\Mode::all(); }); Route::get('/tense', function () { - return \HebrewParseTrainer\Tense::all(); + return \LuoParseTrainer\Tense::all(); }); Route::post('/form/random', -- cgit v1.2.3