Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Commit fcb4d5a

Browse files
committed
Updates all file-level docblocks
Updates all to use the new format (I found at least 4 different styles throughout the component!). Also removes redundant class-level license/copyright notices, and sorts all import statements.
1 parent bc449e7 commit fcb4d5a

42 files changed

Lines changed: 175 additions & 297 deletions

Some content is hidden

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

src/Collector/AbstractCollector.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
<?php
22
/**
3-
* Zend Developer Tools for Zend Framework (http://framework.zend.com/)
4-
*
5-
* @link http://github.com/zendframework/ZendDeveloperTools for the canonical source repository
6-
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
7-
* @license http://framework.zend.com/license/new-bsd New BSD License
3+
* @see https://github.com/zendframework/ZendDeveloperTools for the canonical source repository
4+
* @copyright Copyright (c) 2011-2018 Zend Technologies USA Inc. (https://www.zend.com)
5+
* @license https://github.com/zendframework/ZendDeveloperTools/blob/master/LICENSE.md New BSD License
86
*/
97

108
namespace ZendDeveloperTools\Collector;

src/Collector/AutoHideInterface.php

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,15 @@
11
<?php
22
/**
3-
* ZendDeveloperTools
4-
*
5-
* LICENSE
6-
*
7-
* This source file is subject to the new BSD license that is bundled
8-
* with this package in the file LICENSE.txt.
9-
* It is also available through the world-wide-web at this URL:
10-
* http://framework.zend.com/license/new-bsd
11-
* If you did not receive a copy of the license and are unable to
12-
* obtain it through the world-wide-web, please send an email
13-
* to license@zend.com so we can send you a copy immediately.
14-
*
15-
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
16-
* @license http://framework.zend.com/license/new-bsd New BSD License
3+
* @see https://github.com/zendframework/ZendDeveloperTools for the canonical source repository
4+
* @copyright Copyright (c) 2011-2018 Zend Technologies USA Inc. (https://www.zend.com)
5+
* @license https://github.com/zendframework/ZendDeveloperTools/blob/master/LICENSE.md New BSD License
176
*/
187

198
namespace ZendDeveloperTools\Collector;
209

2110
/**
2211
* Auto hide Interface provides the ability for collectors, to specify that
2312
* they can be hidden.
24-
*
25-
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
26-
* @license http://framework.zend.com/license/new-bsd New BSD License
2713
*/
2814
interface AutoHideInterface
2915
{

src/Collector/CollectorInterface.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
<?php
22
/**
3-
* Zend Developer Tools for Zend Framework (http://framework.zend.com/)
4-
*
5-
* @link http://github.com/zendframework/ZendDeveloperTools for the canonical source repository
6-
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
7-
* @license http://framework.zend.com/license/new-bsd New BSD License
3+
* @see https://github.com/zendframework/ZendDeveloperTools for the canonical source repository
4+
* @copyright Copyright (c) 2011-2018 Zend Technologies USA Inc. (https://www.zend.com)
5+
* @license https://github.com/zendframework/ZendDeveloperTools/blob/master/LICENSE.md New BSD License
86
*/
97

108
namespace ZendDeveloperTools\Collector;
@@ -13,7 +11,6 @@
1311

1412
/**
1513
* Collector Interface.
16-
*
1714
*/
1815
interface CollectorInterface
1916
{

src/Collector/ConfigCollector.php

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
<?php
22
/**
3-
* Zend Developer Tools for Zend Framework (http://framework.zend.com/)
4-
*
5-
* @link http://github.com/zendframework/ZendDeveloperTools for the canonical source repository
6-
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
7-
* @license http://framework.zend.com/license/new-bsd New BSD License
3+
* @see https://github.com/zendframework/ZendDeveloperTools for the canonical source repository
4+
* @copyright Copyright (c) 2011-2018 Zend Technologies USA Inc. (https://www.zend.com)
5+
* @license https://github.com/zendframework/ZendDeveloperTools/blob/master/LICENSE.md New BSD License
86
*/
97

108
namespace ZendDeveloperTools\Collector;
119

10+
use Closure;
1211
use Serializable;
1312
use Traversable;
14-
use Closure;
13+
use ZendDeveloperTools\Stub\ClosureStub;
1514
use Zend\Mvc\MvcEvent;
1615
use Zend\Stdlib\ArrayUtils;
17-
use ZendDeveloperTools\Stub\ClosureStub;
1816

1917
/**
2018
* Config data collector - dumps the contents of the `Config` and `ApplicationConfig` services

src/Collector/DbCollector.php

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
<?php
22
/**
3-
* Zend Developer Tools for Zend Framework (http://framework.zend.com/)
4-
*
5-
* @link http://github.com/zendframework/ZendDeveloperTools for the canonical source repository
6-
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
7-
* @license http://framework.zend.com/license/new-bsd New BSD License
3+
* @see https://github.com/zendframework/ZendDeveloperTools for the canonical source repository
4+
* @copyright Copyright (c) 2011-2018 Zend Technologies USA Inc. (https://www.zend.com)
5+
* @license https://github.com/zendframework/ZendDeveloperTools/blob/master/LICENSE.md New BSD License
86
*/
97

108
namespace ZendDeveloperTools\Collector;
119

12-
use Zend\Mvc\MvcEvent;
1310
use BjyProfiler\Db\Profiler\Profiler;
11+
use Serializable;
12+
use Zend\Mvc\MvcEvent;
1413

1514
/**
1615
* Database (Zend\Db) Data Collector.
17-
*
1816
*/
19-
class DbCollector implements CollectorInterface, AutoHideInterface, \Serializable
17+
class DbCollector implements CollectorInterface, AutoHideInterface, Serializable
2018
{
2119
/**
2220
* @var Profiler
@@ -129,15 +127,15 @@ public function getQueryTime($mode = null)
129127
}
130128

131129
/**
132-
* @see \Serializable
130+
* @see Serializable
133131
*/
134132
public function serialize()
135133
{
136134
return serialize($this->profiler);
137135
}
138136

139137
/**
140-
* @see \Serializable
138+
* @see Serializable
141139
*/
142140
public function unserialize($profiler)
143141
{

src/Collector/EventCollectorInterface.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
<?php
22
/**
3-
* Zend Developer Tools for Zend Framework (http://framework.zend.com/)
4-
*
5-
* @link http://github.com/zendframework/ZendDeveloperTools for the canonical source repository
6-
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
7-
* @license http://framework.zend.com/license/new-bsd New BSD License
3+
* @see https://github.com/zendframework/ZendDeveloperTools for the canonical source repository
4+
* @copyright Copyright (c) 2011-2018 Zend Technologies USA Inc. (https://www.zend.com)
5+
* @license https://github.com/zendframework/ZendDeveloperTools/blob/master/LICENSE.md New BSD License
86
*/
97

108
namespace ZendDeveloperTools\Collector;
@@ -13,7 +11,6 @@
1311

1412
/**
1513
* Event Data Collector Interface.
16-
*
1714
*/
1815
interface EventCollectorInterface
1916
{

src/Collector/ExceptionCollector.php

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
<?php
22
/**
3-
* Zend Developer Tools for Zend Framework (http://framework.zend.com/)
4-
*
5-
* @link http://github.com/zendframework/ZendDeveloperTools for the canonical source repository
6-
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
7-
* @license http://framework.zend.com/license/new-bsd New BSD License
3+
* @see https://github.com/zendframework/ZendDeveloperTools for the canonical source repository
4+
* @copyright Copyright (c) 2011-2018 Zend Technologies USA Inc. (https://www.zend.com)
5+
* @license https://github.com/zendframework/ZendDeveloperTools/blob/master/LICENSE.md New BSD License
86
*/
97

108
namespace ZendDeveloperTools\Collector;
119

12-
use Zend\Mvc\MvcEvent;
13-
use Zend\Mvc\Application;
1410
use ZendDeveloperTools\Exception\SerializableException;
11+
use Zend\Mvc\Application;
12+
use Zend\Mvc\MvcEvent;
1513

1614
/**
1715
* Exception Data Collector.
18-
*
1916
*/
2017
class ExceptionCollector extends AbstractCollector
2118
{

src/Collector/MailCollector.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
<?php
22
/**
3-
* Zend Developer Tools for Zend Framework (http://framework.zend.com/)
4-
*
5-
* @link http://github.com/zendframework/ZendDeveloperTools for the canonical source repository
6-
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
7-
* @license http://framework.zend.com/license/new-bsd New BSD License
3+
* @see https://github.com/zendframework/ZendDeveloperTools for the canonical source repository
4+
* @copyright Copyright (c) 2011-2018 Zend Technologies USA Inc. (https://www.zend.com)
5+
* @license https://github.com/zendframework/ZendDeveloperTools/blob/master/LICENSE.md New BSD License
86
*/
97

108
namespace ZendDeveloperTools\Collector;

src/Collector/MemoryCollector.php

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
<?php
22
/**
3-
* Zend Developer Tools for Zend Framework (http://framework.zend.com/)
4-
*
5-
* @link http://github.com/zendframework/ZendDeveloperTools for the canonical source repository
6-
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
7-
* @license http://framework.zend.com/license/new-bsd New BSD License
3+
* @see https://github.com/zendframework/ZendDeveloperTools for the canonical source repository
4+
* @copyright Copyright (c) 2011-2018 Zend Technologies USA Inc. (https://www.zend.com)
5+
* @license https://github.com/zendframework/ZendDeveloperTools/blob/master/LICENSE.md New BSD License
86
*/
97
namespace ZendDeveloperTools\Collector;
108

11-
use Zend\Mvc\MvcEvent;
12-
use Zend\EventManager\Event;
139
use ZendDeveloperTools\EventLogging\EventContextProvider;
10+
use Zend\EventManager\Event;
11+
use Zend\Mvc\MvcEvent;
1412

1513
/**
1614
* Memory Data Collector.

src/Collector/RequestCollector.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
<?php
22
/**
3-
* Zend Developer Tools for Zend Framework (http://framework.zend.com/)
4-
*
5-
* @link http://github.com/zendframework/ZendDeveloperTools for the canonical source repository
6-
* @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
7-
* @license http://framework.zend.com/license/new-bsd New BSD License
3+
* @see https://github.com/zendframework/ZendDeveloperTools for the canonical source repository
4+
* @copyright Copyright (c) 2011-2018 Zend Technologies USA Inc. (https://www.zend.com)
5+
* @license https://github.com/zendframework/ZendDeveloperTools/blob/master/LICENSE.md New BSD License
86
*/
97

108
namespace ZendDeveloperTools\Collector;

0 commit comments

Comments
 (0)