Skip to content

Commit 6ba9501

Browse files
committed
Init PHP7 upgrade.
1 parent 497cc9a commit 6ba9501

14 files changed

+58
-80
lines changed

PSR2R/Sniffs/Classes/ClassFileNameSniff.php

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,12 @@
22
/**
33
* Squiz_Sniffs_Classes_ClassFileNameSniff.
44
*
5-
* PHP version 5
6-
*
7-
* @category PHP
8-
* @package PHP_CodeSniffer
9-
* @author Greg Sherwood <gsherwood@squiz.net>
10-
* @author Marc McIntyre <mmcintyre@squiz.net>
5+
* @package PHP_CodeSniffer
6+
* @author Greg Sherwood <gsherwood@squiz.net>
7+
* @author Marc McIntyre <mmcintyre@squiz.net>
118
* @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
12-
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
13-
* @link http://pear.php.net/package/PHP_CodeSniffer
9+
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
10+
* @link http://pear.php.net/package/PHP_CodeSniffer
1411
*/
1512

1613
namespace PSR2R\Sniffs\Classes;

PSR2R/Sniffs/Commenting/DocCommentSniff.php

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@
22
/**
33
* Ensures doc blocks follow basic formatting.
44
*
5-
* PHP version 5
6-
*
7-
* @category PHP
8-
* @package PHP_CodeSniffer
9-
* @author Greg Sherwood <gsherwood@squiz.net>
5+
* @package PHP_CodeSniffer
6+
* @author Greg Sherwood <gsherwood@squiz.net>
107
* @copyright 2006-2012 Squiz Pty Ltd (ABN 77 084 670 600)
11-
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
12-
* @link http://pear.php.net/package/PHP_CodeSniffer
8+
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
9+
* @link http://pear.php.net/package/PHP_CodeSniffer
1310
*/
1411

1512
namespace PSR2R\Sniffs\Commenting;

PSR2R/Sniffs/ControlStructures/ControlStructureSpacingSniff.php

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@
22
/**
33
* PSR2_Sniffs_WhiteSpace_ControlStructureSpacingSniff.
44
*
5-
* PHP version 5
6-
*
7-
* @category PHP
8-
*
9-
* @author Greg Sherwood <gsherwood@squiz.net>
5+
* @author Greg Sherwood <gsherwood@squiz.net>
106
* @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
11-
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
7+
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
128
*
13-
* @link http://pear.php.net/package/PHP_CodeSniffer
9+
* @link http://pear.php.net/package/PHP_CodeSniffer
1410
*/
1511

1612
namespace PSR2R\Sniffs\ControlStructures;

PSR2R/Sniffs/ControlStructures/ElseIfDeclarationSniff.php

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@
22
/**
33
* PSR2_Sniffs_ControlStructures_ElseIfDeclarationSniff.
44
*
5-
* PHP version 5
6-
*
7-
* @category PHP
8-
*
9-
* @author Greg Sherwood <gsherwood@squiz.net>
5+
* @author Greg Sherwood <gsherwood@squiz.net>
106
* @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
11-
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
7+
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
128
*
13-
* @link http://pear.php.net/package/PHP_CodeSniffer
9+
* @link http://pear.php.net/package/PHP_CodeSniffer
1410
*/
1511

1612
namespace PSR2R\Sniffs\ControlStructures;

PSR2R/Sniffs/ControlStructures/SwitchDeclarationSniff.php

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@
22
/**
33
* PSR2_Sniffs_ControlStructures_SwitchDeclarationSniff.
44
*
5-
* PHP version 5
6-
*
7-
* @category PHP
8-
* @package PHP_CodeSniffer
9-
* @author Greg Sherwood <gsherwood@squiz.net>
5+
* @package PHP_CodeSniffer
6+
* @author Greg Sherwood <gsherwood@squiz.net>
107
* @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
11-
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
12-
* @link http://pear.php.net/package/PHP_CodeSniffer
8+
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
9+
* @link http://pear.php.net/package/PHP_CodeSniffer
1310
*/
1411

1512
namespace PSR2R\Sniffs\ControlStructures;

PSR2R/Sniffs/Files/ClosingTagSniff.php

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@
22
/**
33
* PSR2_Sniffs_Files_ClosingTagsSniff.
44
*
5-
* PHP version 5
6-
*
7-
* @category PHP
8-
*
9-
* @author Greg Sherwood <gsherwood@squiz.net>
5+
* @author Greg Sherwood <gsherwood@squiz.net>
106
* @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
11-
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
7+
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
128
*
13-
* @link http://pear.php.net/package/PHP_CodeSniffer
9+
* @link http://pear.php.net/package/PHP_CodeSniffer
1410
*/
1511

1612
namespace PSR2R\Sniffs\Files;

PSR2R/Sniffs/Files/EndFileNewlineSniff.php

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@
22
/**
33
* Generic_Sniffs_Files_EndFileNewlineSniff.
44
*
5-
* PHP version 5
6-
*
7-
* @category PHP
8-
*
9-
* @author Greg Sherwood <gsherwood@squiz.net>
5+
* @author Greg Sherwood <gsherwood@squiz.net>
106
* @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
11-
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
7+
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
128
*
13-
* @link http://pear.php.net/package/PHP_CodeSniffer
9+
* @link http://pear.php.net/package/PHP_CodeSniffer
1410
*/
1511

1612
namespace PSR2R\Sniffs\Files;

PSR2R/Sniffs/Methods/MethodDeclarationSniff.php

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@
22
/**
33
* PSR2_Sniffs_Methods_MethodDeclarationSniff.
44
*
5-
* PHP version 5
6-
*
7-
* @category PHP
8-
* @package PHP_CodeSniffer
9-
* @author Greg Sherwood <gsherwood@squiz.net>
5+
* @package PHP_CodeSniffer
6+
* @author Greg Sherwood <gsherwood@squiz.net>
107
* @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
11-
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
12-
* @link http://pear.php.net/package/PHP_CodeSniffer
8+
* @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
9+
* @link http://pear.php.net/package/PHP_CodeSniffer
1310
*/
1411

1512
namespace PSR2R\Sniffs\Methods;

PSR2R/Sniffs/Namespaces/UseInAlphabeticalOrderSniff.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
<?php
22
/**
3-
* PHP Version 5
4-
*
53
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
64
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
75
*
86
* Licensed under The MIT License
97
* For full copyright and license information, please see the LICENSE.txt
108
* Redistributions of files must retain the above copyright notice.
119
*
12-
* @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
13-
* @since CakePHP CodeSniffer 0.1.10
14-
* @license http://www.opensource.org/licenses/mit-license.php MIT License
10+
* @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
11+
* @since CakePHP CodeSniffer 0.1.10
12+
* @license http://www.opensource.org/licenses/mit-license.php MIT License
1513
*/
1614

1715
namespace PSR2R\Sniffs\Namespaces;

PSR2R/Sniffs/PHP/NoShortOpenTagSniff.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
<?php
22
/**
3-
* PHP Version 5
4-
*
53
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
64
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
75
*
86
* Licensed under The MIT License
97
* For full copyright and license information, please see the LICENSE.txt
108
* Redistributions of files must retain the above copyright notice.
119
*
12-
* @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
13-
* @link http://pear.php.net/package/PHP_CodeSniffer_CakePHP
14-
* @since CakePHP CodeSniffer 0.1.14
15-
* @license http://www.opensource.org/licenses/mit-license.php MIT License
10+
* @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
11+
* @link http://pear.php.net/package/PHP_CodeSniffer_CakePHP
12+
* @since CakePHP CodeSniffer 0.1.14
13+
* @license http://www.opensource.org/licenses/mit-license.php MIT License
1614
*/
1715

1816
namespace PSR2R\Sniffs\PHP;

0 commit comments

Comments
 (0)