Skip to content
Closed
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
4 changes: 2 additions & 2 deletions docs/add-new-detector-adapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ Create your `NewDetector.php` file in `src/Detector/Adapter/` and extend the par
```php
<?php

namespace Utopia\Detector\Adapter;
namespace Utopia\VCS\Detector\Adapter;

use Utopia\Detector\Adapter;
use Utopia\VCS\Detector\Adapter;

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

namespace Utopia\Detector;
namespace Utopia\VCS\Detector;

abstract class Adapter
{
Expand Down
4 changes: 2 additions & 2 deletions src/Detector/Adapter/Bun.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Utopia\Detector\Adapter;
namespace Utopia\VCS\Detector\Adapter;

use Utopia\Detector\Adapter;
use Utopia\VCS\Detector\Adapter;

class Bun extends Adapter
{
Expand Down
4 changes: 2 additions & 2 deletions src/Detector/Adapter/CPP.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Utopia\Detector\Adapter;
namespace Utopia\VCS\Detector\Adapter;

use Utopia\Detector\Adapter;
use Utopia\VCS\Detector\Adapter;

class CPP extends Adapter
{
Expand Down
4 changes: 2 additions & 2 deletions src/Detector/Adapter/Dart.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Utopia\Detector\Adapter;
namespace Utopia\VCS\Detector\Adapter;

use Utopia\Detector\Adapter;
use Utopia\VCS\Detector\Adapter;

class Dart extends Adapter
{
Expand Down
4 changes: 2 additions & 2 deletions src/Detector/Adapter/Deno.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Utopia\Detector\Adapter;
namespace Utopia\VCS\Detector\Adapter;

use Utopia\Detector\Adapter;
use Utopia\VCS\Detector\Adapter;

class Deno extends Adapter
{
Expand Down
4 changes: 2 additions & 2 deletions src/Detector/Adapter/Dotnet.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Utopia\Detector\Adapter;
namespace Utopia\VCS\Detector\Adapter;

use Utopia\Detector\Adapter;
use Utopia\VCS\Detector\Adapter;

class Dotnet extends Adapter
{
Expand Down
4 changes: 2 additions & 2 deletions src/Detector/Adapter/Java.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Utopia\Detector\Adapter;
namespace Utopia\VCS\Detector\Adapter;

use Utopia\Detector\Adapter;
use Utopia\VCS\Detector\Adapter;

class Java extends Adapter
{
Expand Down
4 changes: 2 additions & 2 deletions src/Detector/Adapter/JavaScript.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Utopia\Detector\Adapter;
namespace Utopia\VCS\Detector\Adapter;

use Utopia\Detector\Adapter;
use Utopia\VCS\Detector\Adapter;

class JavaScript extends Adapter
{
Expand Down
4 changes: 2 additions & 2 deletions src/Detector/Adapter/PHP.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Utopia\Detector\Adapter;
namespace Utopia\VCS\Detector\Adapter;

use Utopia\Detector\Adapter;
use Utopia\VCS\Detector\Adapter;

class PHP extends Adapter
{
Expand Down
4 changes: 2 additions & 2 deletions src/Detector/Adapter/Python.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Utopia\Detector\Adapter;
namespace Utopia\VCS\Detector\Adapter;

use Utopia\Detector\Adapter;
use Utopia\VCS\Detector\Adapter;

class Python extends Adapter
{
Expand Down
4 changes: 2 additions & 2 deletions src/Detector/Adapter/Ruby.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Utopia\Detector\Adapter;
namespace Utopia\VCS\Detector\Adapter;

use Utopia\Detector\Adapter;
use Utopia\VCS\Detector\Adapter;

class Ruby extends Adapter
{
Expand Down
4 changes: 2 additions & 2 deletions src/Detector/Adapter/Swift.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Utopia\Detector\Adapter;
namespace Utopia\VCS\Detector\Adapter;

use Utopia\Detector\Adapter;
use Utopia\VCS\Detector\Adapter;

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

namespace Utopia\Detector;
namespace Utopia\VCS\Detector;

class Detector
{
Expand Down
24 changes: 12 additions & 12 deletions tests/Detector/DetectorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
use PHPUnit\Framework\TestCase;
use Utopia\Cache\Adapter\None;
use Utopia\Cache\Cache;
use Utopia\Detector\Adapter\Bun;
use Utopia\Detector\Adapter\CPP;
use Utopia\Detector\Adapter\Dart;
use Utopia\Detector\Adapter\Deno;
use Utopia\Detector\Adapter\Dotnet;
use Utopia\Detector\Adapter\Java;
use Utopia\Detector\Adapter\JavaScript;
use Utopia\Detector\Adapter\PHP;
use Utopia\Detector\Adapter\Python;
use Utopia\Detector\Adapter\Ruby;
use Utopia\Detector\Adapter\Swift;
use Utopia\Detector\Detector;
use Utopia\VCS\Detector\Adapter\Bun;
use Utopia\VCS\Detector\Adapter\CPP;
use Utopia\VCS\Detector\Adapter\Dart;
use Utopia\VCS\Detector\Adapter\Deno;
use Utopia\VCS\Detector\Adapter\Dotnet;
use Utopia\VCS\Detector\Adapter\Java;
use Utopia\VCS\Detector\Adapter\JavaScript;
use Utopia\VCS\Detector\Adapter\PHP;
use Utopia\VCS\Detector\Adapter\Python;
use Utopia\VCS\Detector\Adapter\Ruby;
use Utopia\VCS\Detector\Adapter\Swift;
use Utopia\VCS\Detector\Detector;
use Utopia\System\System;
use Utopia\VCS\Adapter\Git\GitHub;

Expand Down
Loading