Skip to content

Commit b9f43a1

Browse files
committed
Adjust namespace
1 parent 5a4ccbd commit b9f43a1

File tree

80 files changed

+140
-140
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+140
-140
lines changed

src/Base.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
22

3-
namespace Fhaculty\Graph\Algorithm;
3+
namespace Graphp\Algorithms;
44

55
abstract class Base{ }

src/BaseDual.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace Fhaculty\Graph\Algorithm;
3+
namespace Graphp\Algorithms;
44

5-
use Fhaculty\Graph\Algorithm\Base;
5+
use Graphp\Algorithms\Base;
66
use Fhaculty\Graph\Set\DualAggregate;
77
use Fhaculty\Graph\Graph;
88
use Fhaculty\Graph\Walk;

src/BaseGraph.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace Fhaculty\Graph\Algorithm;
3+
namespace Graphp\Algorithms;
44

5-
use Fhaculty\Graph\Algorithm\Base;
5+
use Graphp\Algorithms\Base;
66
use Fhaculty\Graph\Graph;
77

88
/**

src/BaseVertex.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace Fhaculty\Graph\Algorithm;
3+
namespace Graphp\Algorithms;
44

5-
use Fhaculty\Graph\Algorithm\Base;
5+
use Graphp\Algorithms\Base;
66
use Fhaculty\Graph\Vertex;
77

88
/**

src/Bipartit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace Fhaculty\Graph\Algorithm;
3+
namespace Graphp\Algorithms;
44

5-
use Fhaculty\Graph\Algorithm\BaseGraph;
5+
use Graphp\Algorithms\BaseGraph;
66
use Fhaculty\Graph\Exception\UnexpectedValueException;
77
use Fhaculty\Graph\Graph;
88
use Fhaculty\Graph\Vertex;

src/Complete.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace Fhaculty\Graph\Algorithm;
3+
namespace Graphp\Algorithms;
44

5-
use Fhaculty\Graph\Algorithm\BaseGraph;
5+
use Graphp\Algorithms\BaseGraph;
66
use Fhaculty\Graph\Graph;
77

88
/**

src/ConnectedComponents.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace Fhaculty\Graph\Algorithm;
3+
namespace Graphp\Algorithms;
44

5-
use Fhaculty\Graph\Algorithm\BaseGraph;
6-
use Fhaculty\Graph\Algorithm\Search\BreadthFirst as SearchBreadthFirst;
5+
use Graphp\Algorithms\BaseGraph;
6+
use Graphp\Algorithms\Search\BreadthFirst as SearchBreadthFirst;
77
use Fhaculty\Graph\Graph;
88
use Fhaculty\Graph\Vertex;
99
use Fhaculty\Graph\Exception\InvalidArgumentException;

src/Degree.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace Fhaculty\Graph\Algorithm;
3+
namespace Graphp\Algorithms;
44

5-
use Fhaculty\Graph\Algorithm\BaseGraph;
5+
use Graphp\Algorithms\BaseGraph;
66
use Fhaculty\Graph\Graph;
77
use Fhaculty\Graph\Vertex;
88
use Fhaculty\Graph\Exception\UnexpectedValueException;

src/DetectNegativeCycle.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<?php
22

3-
namespace Fhaculty\Graph\Algorithm;
3+
namespace Graphp\Algorithms;
44

5-
use Fhaculty\Graph\Algorithm\BaseGraph;
5+
use Graphp\Algorithms\BaseGraph;
66
use Fhaculty\Graph\Exception\UnderflowException;
77

88
use Fhaculty\Graph\Graph;
99
use Fhaculty\Graph\Vertex;
1010
use Fhaculty\Graph\Walk;
1111
use Fhaculty\Graph\Exception\NegativeCycleException;
12-
use Fhaculty\Graph\Algorithm\ShortestPath\MooreBellmanFord as SpMooreBellmanFord;
12+
use Graphp\Algorithms\ShortestPath\MooreBellmanFord as SpMooreBellmanFord;
1313

1414
class DetectNegativeCycle extends BaseGraph
1515
{

src/Directed.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace Fhaculty\Graph\Algorithm;
3+
namespace Graphp\Algorithms;
44

5-
use Fhaculty\Graph\Algorithm\BaseGraph;
5+
use Graphp\Algorithms\BaseGraph;
66
use Fhaculty\Graph\Edge\Directed as EdgeDirected;
77
use Fhaculty\Graph\Edge\Undirected as EdgeUndirected;
88

0 commit comments

Comments
 (0)