Skip to content

Commit

Permalink
Reajustes de nombre
Browse files Browse the repository at this point in the history
  • Loading branch information
darkraul79 committed May 30, 2022
1 parent 548347f commit 50b603e
Show file tree
Hide file tree
Showing 16 changed files with 31 additions and 28 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# activityLogCAmpus
# Activitylogcampus
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
"autoload": {
"psr-4": {
"Darkraul79\\Activitylogcampus\\": "src/"
}
},
"files": [
"src/helpers.php"
]
},
"authors": [
{
Expand Down
4 changes: 2 additions & 2 deletions config/activitylog.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@

/*
* This model will be used to log activity. The only requirement is that
* it should be or extend the Darkraul79\activityLogCAmpus\Models\Activity model.
* it should be or extend the Darkraul79\Activitylogcampus\Models\Activity model.
*/
'activity_model' => \Darkraul79\activityLogCAmpus\Models\Activity::class,
'activity_model' => \Darkraul79\Activitylogcampus\Models\Activity::class,

'table_name' => 'activities',
];
2 changes: 1 addition & 1 deletion src/ActivityLogStatus.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Darkraul79\activityLogCAmpus;
namespace Darkraul79\Activitylogcampus;

use Illuminate\Config\Repository;

Expand Down
8 changes: 4 additions & 4 deletions src/ActivityLogger.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

namespace Darkraul79\activityLogCAmpus;
namespace Darkraul79\Activitylogcampus;

use Illuminate\Auth\AuthManager;
use Illuminate\Database\Eloquent\Model;
use Darkraul79\activityLogCAmpus\Models\Activity;
use Darkraul79\Activitylogcampus\Models\Activity;
use Illuminate\Support\Traits\Macroable;
use Illuminate\Contracts\Config\Repository;
use Darkraul79\activityLogCAmpus\Exceptions\CouldNotLogActivity;
use Darkraul79\Activitylogcampus\Exceptions\CouldNotLogActivity;

class ActivityLogger
{
Expand Down Expand Up @@ -164,7 +164,7 @@ public function log($text, $userId = '', $type, $about, $date)
/**
* @param \Illuminate\Database\Eloquent\Model|int|string $modelOrId
*
* @throws \Darkraul79\activityLogCAmpus\Exceptions\CouldNotLogActivity
* @throws \Darkraul79\Activitylogcampus\Exceptions\CouldNotLogActivity
*
* @return \Illuminate\Database\Eloquent\Model
*/
Expand Down
6 changes: 3 additions & 3 deletions src/ActivitylogServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace Darkraul79\activityLogCAmpus;
namespace Darkraul79\Activitylogcampus;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\ServiceProvider;
use Darkraul79\activityLogCAmpus\Models\Activity;
use Darkraul79\activityLogCAmpus\Exceptions\InvalidConfiguration;
use Darkraul79\Activitylogcampus\Models\Activity;
use Darkraul79\Activitylogcampus\Exceptions\InvalidConfiguration;

class ActivitylogServiceProvider extends ServiceProvider
{
Expand Down
2 changes: 1 addition & 1 deletion src/CleanActivitylogCommand.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Darkraul79\activityLogCAmpus;
namespace Darkraul79\Activitylogcampus;

use Carbon\Carbon;
use Illuminate\Console\Command;
Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/CouldNotLogActivity.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Darkraul79\activityLogCAmpus\Exceptions;
namespace Darkraul79\Activitylogcampus\Exceptions;

use Exception;

Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/CouldNotLogChanges.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Darkraul79\activityLogCAmpus\Exceptions;
namespace Darkraul79\Activitylogcampus\Exceptions;

use Exception;

Expand Down
4 changes: 2 additions & 2 deletions src/Exceptions/InvalidConfiguration.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Darkraul79\activityLogCAmpus\Exceptions;
namespace Darkraul79\Activitylogcampus\Exceptions;

use Exception;
use Darkraul79\activityLogCAmpus\Models\Activity;
use Darkraul79\Activitylogcampus\Models\Activity;

class InvalidConfiguration extends Exception
{
Expand Down
2 changes: 1 addition & 1 deletion src/Models/Activity.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Darkraul79\activityLogCAmpus\Models;
namespace Darkraul79\Activitylogcampus\Models;

use Illuminate\Support\Collection;
use Illuminate\Database\Eloquent\Model;
Expand Down
4 changes: 2 additions & 2 deletions src/Traits/CausesActivity.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Darkraul79\activityLogCAmpus\Traits;
namespace Darkraul79\Activitylogcampus\Traits;

use Darkraul79\activityLogCAmpus\ActivitylogServiceProvider;
use Darkraul79\Activitylogcampus\ActivitylogServiceProvider;
use Illuminate\Database\Eloquent\Relations\MorphMany;

trait CausesActivity
Expand Down
4 changes: 2 additions & 2 deletions src/Traits/DetectsChanges.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Darkraul79\activityLogCAmpus\Traits;
namespace Darkraul79\Activitylogcampus\Traits;

use Illuminate\Database\Eloquent\Model;
use Darkraul79\activityLogCAmpus\Exceptions\CouldNotLogChanges;
use Darkraul79\Activitylogcampus\Exceptions\CouldNotLogChanges;

trait DetectsChanges
{
Expand Down
4 changes: 2 additions & 2 deletions src/Traits/HasActivity.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Darkraul79\activityLogCAmpus\Traits;
namespace Darkraul79\Activitylogcampus\Traits;

use Darkraul79\activityLogCAmpus\ActivitylogServiceProvider;
use Darkraul79\Activitylogcampus\ActivitylogServiceProvider;
use Illuminate\Database\Eloquent\Relations\MorphMany;

trait HasActivity
Expand Down
6 changes: 3 additions & 3 deletions src/Traits/LogsActivity.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php

namespace Darkraul79\activityLogCAmpus\Traits;
namespace Darkraul79\Activitylogcampus\Traits;

use Illuminate\Support\Collection;
use Darkraul79\activityLogCAmpus\ActivityLogger;
use Darkraul79\Activitylogcampus\ActivityLogger;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Darkraul79\activityLogCAmpus\ActivitylogServiceProvider;
use Darkraul79\Activitylogcampus\ActivitylogServiceProvider;
use Illuminate\Database\Eloquent\Relations\MorphMany;

trait LogsActivity
Expand Down
2 changes: 1 addition & 1 deletion src/helpers.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

use Darkraul79\activityLogCAmpus\ActivityLogger;
use Darkraul79\Activitylogcampus\ActivityLogger;

if (!function_exists('activity')) {
function activity(string $logName = null): ActivityLogger
Expand Down

0 comments on commit 50b603e

Please sign in to comment.