Skip to content

Commit c6f76b0

Browse files
committed
Introduce new root namespace: FriendsOfPhpSpec.
1 parent dab6cfd commit c6f76b0

File tree

9 files changed

+21
-21
lines changed

9 files changed

+21
-21
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Enable extension by editing `phpspec.yml` of your project:
3636

3737
``` yaml
3838
extensions:
39-
LeanPHP\PhpSpec\CodeCoverage\CodeCoverageExtension: ~
39+
FriendsOfPhpSpec\PhpSpec\CodeCoverage\CodeCoverageExtension: ~
4040
```
4141
4242
This will sufficient to enable Code Coverage generation by using defaults
@@ -75,7 +75,7 @@ configuration file below has all of the [Configuration Options](#Options).
7575
extensions:
7676
# ... other extensions ...
7777
# friends-of-phpspec/phpspec-code-coverage
78-
LeanPHP\PhpSpec\CodeCoverage\CodeCoverageExtension:
78+
FriendsOfPhpSpec\PhpSpec\CodeCoverage\CodeCoverageExtension:
7979
# Specify a list of formats in which code coverage report should be
8080
# generated.
8181
# Default: [html]

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
},
5858
"autoload": {
5959
"psr-4": {
60-
"LeanPHP\\PhpSpec\\CodeCoverage\\": "src/"
60+
"FriendsOfPhpSpec\\PhpSpec\\CodeCoverage\\": "src/"
6161
}
6262
},
6363
"minimum-stability": "stable",

phpspec.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# phpspec.yml
2-
# leanphp/phpspec-code-coverage
2+
# friends-of-phpspec/phpspec-code-coverage
33
formatter.name: pretty
44
suites:
55
default_suite:
6-
namespace: LeanPHP\PhpSpec\CodeCoverage
7-
psr4_prefix: LeanPHP\PhpSpec\CodeCoverage
6+
namespace: FriendsOfPhpSpec\PhpSpec\CodeCoverage
7+
psr4_prefix: FriendsOfPhpSpec\PhpSpec\CodeCoverage
88

99
extensions:
10-
LeanPHP\PhpSpec\CodeCoverage\CodeCoverageExtension:
10+
FriendsOfPhpSpec\PhpSpec\CodeCoverage\CodeCoverageExtension:
1111
format:
1212
- html
1313
- clover

spec/CodeCoverageExtensionSpec.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
declare(strict_types=1);
44

5-
namespace spec\LeanPHP\PhpSpec\CodeCoverage;
5+
namespace spec\FriendsOfPhpSpec\PhpSpec\CodeCoverage;
66

7-
use LeanPHP\PhpSpec\CodeCoverage\CodeCoverageExtension;
7+
use FriendsOfPhpSpec\PhpSpec\CodeCoverage\CodeCoverageExtension;
88
use PhpSpec\ObjectBehavior;
99
use PhpSpec\ServiceContainer\IndexedServiceContainer;
1010

spec/Exception/NoCoverageDriverAvailableExceptionSpec.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
declare(strict_types=1);
44

5-
namespace spec\LeanPHP\PhpSpec\CodeCoverage\Exception;
5+
namespace spec\FriendsOfPhpSpec\PhpSpec\CodeCoverage\Exception;
66

7-
use LeanPHP\PhpSpec\CodeCoverage\Exception\NoCoverageDriverAvailableException;
7+
use FriendsOfPhpSpec\PhpSpec\CodeCoverage\Exception\NoCoverageDriverAvailableException;
88
use PhpSpec\ObjectBehavior;
99

1010
/**

spec/Listener/CodeCoverageListenerSpec.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace spec\LeanPHP\PhpSpec\CodeCoverage\Listener;
5+
namespace spec\FriendsOfPhpSpec\PhpSpec\CodeCoverage\Listener;
66

77
use PhpSpec\Console\ConsoleIO;
88
use PhpSpec\Event\SuiteEvent;

src/CodeCoverageExtension.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
declare(strict_types=1);
44

55
/**
6-
* This file is part of the leanphp/phpspec-code-coverage package.
6+
* This file is part of the friends-of-phpspec/phpspec-code-coverage package.
77
*
88
* @author ek9 <dev@ek9.co>
99
* @license MIT
@@ -12,10 +12,10 @@
1212
* that was distributed with this source code.
1313
*/
1414

15-
namespace LeanPHP\PhpSpec\CodeCoverage;
15+
namespace FriendsOfPhpSpec\PhpSpec\CodeCoverage;
1616

17-
use LeanPHP\PhpSpec\CodeCoverage\Exception\NoCoverageDriverAvailableException;
18-
use LeanPHP\PhpSpec\CodeCoverage\Listener\CodeCoverageListener;
17+
use FriendsOfPhpSpec\PhpSpec\CodeCoverage\Exception\NoCoverageDriverAvailableException;
18+
use FriendsOfPhpSpec\PhpSpec\CodeCoverage\Listener\CodeCoverageListener;
1919
use PhpSpec\Extension;
2020
use PhpSpec\ServiceContainer;
2121
use SebastianBergmann\CodeCoverage\CodeCoverage;

src/Exception/NoCoverageDriverAvailableException.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
declare(strict_types=1);
44

55
/**
6-
* This file is part of the leanphp/phpspec-code-coverage package.
6+
* This file is part of the friends-of-phpspec/phpspec-code-coverage.
77
*
8-
* @author shulard <s.hulard@chstudio.fr>
8+
* @author shulard <s.hulard@chstudio.fr>
99
* @license MIT
1010
*
1111
* For the full copyright and license information, please see the LICENSE file
1212
* that was distributed with this source code.
1313
*/
1414

15-
namespace LeanPHP\PhpSpec\CodeCoverage\Exception;
15+
namespace FriendsOfPhpSpec\PhpSpec\CodeCoverage\Exception;
1616

1717
use RuntimeException;
1818

src/Listener/CodeCoverageListener.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
declare(strict_types=1);
44

55
/**
6-
* This file is part of the leanphp/phpspec-code-coverage package.
6+
* This file is part of the friends-of-phpspec/phpspec-code-coverage package.
77
*
88
* @author ek9 <dev@ek9.co>
99
* @license MIT
@@ -12,7 +12,7 @@
1212
* that was distributed with this source code.
1313
*/
1414

15-
namespace LeanPHP\PhpSpec\CodeCoverage\Listener;
15+
namespace FriendsOfPhpSpec\PhpSpec\CodeCoverage\Listener;
1616

1717
use PhpSpec\Console\ConsoleIO;
1818
use PhpSpec\Event\ExampleEvent;

0 commit comments

Comments
 (0)