Skip to content

Commit

Permalink
fix: phpstan; rename commons to common (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbrazhnyk authored Dec 13, 2024
1 parent 6b610ef commit e1a103c
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/AuthProvider/AuthProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use AffinidiTdk\AuthProvider\Helpers\JwtHelper;
use AffinidiTdk\AuthProvider\Helpers\ProjectScopedToken;
use AffinidiTdk\AuthProvider\Helpers\Iota;
use AffinidiTdk\Commons\Helpers\EnvironmentUtils;
use AffinidiTdk\Common\Helpers\EnvironmentUtils;

class AuthProvider
{
Expand Down
10 changes: 10 additions & 0 deletions src/Common/Helpers/Environment.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

namespace AffinidiTdk\Common\Helpers;

class Environment
{
const LOCAL = 'local';
const DEVELOPMENT = 'dev';
const PRODUCTION = 'prod';
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
<?php

namespace AffinidiTdk\Commons\Helpers;
namespace AffinidiTdk\Common\Helpers;

class Environment
{
const LOCAL = 'local';
const DEVELOPMENT = 'dev';
const PRODUCTION = 'prod';
}
use AffinidiTdk\Common\Helpers\Environment;

class EnvironmentUtils
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace AffinidiTdk\Commons\Helpers;
namespace AffinidiTdk\Common\Helpers;

class Logger
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace AffinidiTdk\Commons\Helpers;
namespace AffinidiTdk\Common\Helpers;

class VaultUtils
{
Expand Down

0 comments on commit e1a103c

Please sign in to comment.