File tree Expand file tree Collapse file tree 11 files changed +50
-22
lines changed Expand file tree Collapse file tree 11 files changed +50
-22
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ documented in this file.
66The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
77and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
88
9+ ## [ 4.3.1] - 2019-10-01
10+
11+ - Update root namespace to ` FriendsOfPhpSpec ` but maintain a class alias to the
12+ old one ` LeanPHP ` . The ` LeanPHP ` root namespace is now deprecated and will be
13+ removed in v5.
14+
915## [ 4.3.0] - 2019-10-01
1016
1117** Note!** This version mark the new home of the project. It was forked from
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ Enable extension by editing `phpspec.yml` of your project:
3636
3737``` yaml
3838extensions :
39- LeanPHP \PhpSpec\CodeCoverage\CodeCoverageExtension : ~
39+ FriendsOfPhpSpec \PhpSpec\CodeCoverage\CodeCoverageExtension : ~
4040` ` `
4141
4242This will sufficient to enable Code Coverage generation by using defaults
@@ -75,7 +75,7 @@ configuration file below has all of the [Configuration Options](#Options).
7575extensions:
7676 # ... other extensions ...
7777 # friends-of-phpspec/phpspec-code-coverage
78- LeanPHP \P hpSpec\C odeCoverage\C odeCoverageExtension:
78+ FriendsOfPhpSpec \P hpSpec\C odeCoverage\C odeCoverageExtension:
7979 # Specify a list of formats in which code coverage report should be
8080 # generated.
8181 # Default: [html]
Original file line number Diff line number Diff line change 5757 },
5858 "autoload" : {
5959 "psr-4" : {
60- "LeanPHP\\ PhpSpec\\ CodeCoverage\\ " : " src/"
61- }
60+ "FriendsOfPhpSpec\\ PhpSpec\\ CodeCoverage\\ " : " src/"
61+ },
62+ "files" : [
63+ " src/bootstrap.php"
64+ ]
6265 },
6366 "minimum-stability" : " stable" ,
6467 "scripts" : {
Original file line number Diff line number Diff line change 11# phpspec.yml
2- # leanphp /phpspec-code-coverage
2+ # friends-of-phpspec /phpspec-code-coverage
33formatter.name : pretty
44suites :
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
99extensions :
10- LeanPHP \PhpSpec\CodeCoverage\CodeCoverageExtension :
10+ FriendsOfPhpSpec \PhpSpec\CodeCoverage\CodeCoverageExtension :
1111 format :
1212 - html
1313 - clover
Original file line number Diff line number Diff line change 22
33declare (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 ;
88use PhpSpec \ObjectBehavior ;
99use PhpSpec \ServiceContainer \IndexedServiceContainer ;
1010
Original file line number Diff line number Diff line change 22
33declare (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 ;
88use PhpSpec \ObjectBehavior ;
99
1010/**
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace spec \LeanPHP \PhpSpec \CodeCoverage \Listener ;
5+ namespace spec \FriendsOfPhpSpec \PhpSpec \CodeCoverage \Listener ;
66
77use PhpSpec \Console \ConsoleIO ;
88use PhpSpec \Event \SuiteEvent ;
Original file line number Diff line number Diff line change 33declare (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
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 ;
1919use PhpSpec \Extension ;
2020use PhpSpec \ServiceContainer ;
2121use SebastianBergmann \CodeCoverage \CodeCoverage ;
Original file line number Diff line number Diff line change 33declare (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
1717use RuntimeException ;
1818
Original file line number Diff line number Diff line change 33declare (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
1212 * that was distributed with this source code.
1313 */
1414
15- namespace LeanPHP \PhpSpec \CodeCoverage \Listener ;
15+ namespace FriendsOfPhpSpec \PhpSpec \CodeCoverage \Listener ;
1616
1717use PhpSpec \Console \ConsoleIO ;
1818use PhpSpec \Event \ExampleEvent ;
You can’t perform that action at this time.
0 commit comments