diff --git a/autoload.php b/autoload.php index d1a832d9e3..36c3dd7412 100644 --- a/autoload.php +++ b/autoload.php @@ -10,7 +10,8 @@ * when it only knows the filename, without having to parse the file to find it. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/bin/phpcbf b/bin/phpcbf index 49872a8ed4..bf364091aa 100755 --- a/bin/phpcbf +++ b/bin/phpcbf @@ -15,8 +15,8 @@ * * @author Greg Sherwood * @author Juliette Reinders Folmer - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) - * @copyright 2024 PHPCSStandards and contributors + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/bin/phpcbf.bat b/bin/phpcbf.bat index 047710e24b..71620b2838 100644 --- a/bin/phpcbf.bat +++ b/bin/phpcbf.bat @@ -2,7 +2,8 @@ REM PHP Code Beautifier and Fixer fixes violations of a defined coding standard. REM REM @author Greg Sherwood -REM @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) +REM @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) +REM @copyright 2023 PHPCSStandards and contributors REM @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence set PHPBIN=php diff --git a/bin/phpcs b/bin/phpcs index 5a9d601d79..6baf38e5f3 100755 --- a/bin/phpcs +++ b/bin/phpcs @@ -15,8 +15,8 @@ * * @author Greg Sherwood * @author Juliette Reinders Folmer - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) - * @copyright 2024 PHPCSStandards and contributors + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/bin/phpcs.bat b/bin/phpcs.bat index 159778ab89..71cc9e110f 100755 --- a/bin/phpcs.bat +++ b/bin/phpcs.bat @@ -2,7 +2,8 @@ REM PHP_CodeSniffer detects violations of a defined coding standard. REM REM @author Greg Sherwood -REM @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) +REM @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) +REM @copyright 2023 PHPCSStandards and contributors REM @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence set PHPBIN=php diff --git a/requirements.php b/requirements.php index 4cfdbb3624..2250b4a4de 100644 --- a/requirements.php +++ b/requirements.php @@ -14,8 +14,8 @@ * * @author Greg Sherwood * @author Juliette Reinders Folmer - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) - * @copyright 2024 PHPCSStandards and contributors + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/scripts/BuildRequirementsCheckMatrix.php b/scripts/BuildRequirementsCheckMatrix.php index 82c8e5a972..c86723433c 100644 --- a/scripts/BuildRequirementsCheckMatrix.php +++ b/scripts/BuildRequirementsCheckMatrix.php @@ -5,7 +5,6 @@ * This matrix is used in two different GH Actions jobs and would be excruciating * (and pretty error-prone) to manually maintain, so better to generate it dynamically. * - * @author Juliette Reinders Folmer * @copyright 2024 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/scripts/build-phar.php b/scripts/build-phar.php index ada57875fc..0e78872b9a 100644 --- a/scripts/build-phar.php +++ b/scripts/build-phar.php @@ -3,13 +3,10 @@ /** * Build a PHPCS phar. * - * PHP version 5 - * - * @category PHP - * @package PHP_CodeSniffer * @author Benjamin Pearson * @author Greg Sherwood - * @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/scripts/get-requirements-check-matrix.php b/scripts/get-requirements-check-matrix.php index 916e1bcb3d..a976562464 100644 --- a/scripts/get-requirements-check-matrix.php +++ b/scripts/get-requirements-check-matrix.php @@ -6,7 +6,6 @@ * This matrix is used in two different GH Actions jobs and would be excruciating * (and pretty error-prone) to manually maintain, so better to generate it dynamically. * - * @author Juliette Reinders Folmer * @copyright 2024 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Config.php b/src/Config.php index 2c2b6f3b13..fed2b77539 100644 --- a/src/Config.php +++ b/src/Config.php @@ -6,7 +6,8 @@ * and provides functions to access data stored in config files. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Exceptions/DeepExitException.php b/src/Exceptions/DeepExitException.php index 1c7855794f..324f87044f 100644 --- a/src/Exceptions/DeepExitException.php +++ b/src/Exceptions/DeepExitException.php @@ -10,8 +10,8 @@ * * @author Greg Sherwood * @author Juliette Reinders Folmer - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) - * @copyright 2025 PHPCSStandards and contributors + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Exceptions/GeneratorException.php b/src/Exceptions/GeneratorException.php index d8e7ad2f29..b6c83c8d88 100644 --- a/src/Exceptions/GeneratorException.php +++ b/src/Exceptions/GeneratorException.php @@ -3,7 +3,6 @@ * An exception thrown by PHP_CodeSniffer when it encounters an error in the XML document being processed * by one of the documentation Generators. * - * @author Juliette Reinders Folmer * @copyright 2024 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Exceptions/RuntimeException.php b/src/Exceptions/RuntimeException.php index ad54dbae98..a30fa9247f 100644 --- a/src/Exceptions/RuntimeException.php +++ b/src/Exceptions/RuntimeException.php @@ -3,7 +3,8 @@ * An exception thrown by PHP_CodeSniffer when it encounters an unrecoverable error. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Exceptions/TokenizerException.php b/src/Exceptions/TokenizerException.php index 1b6042e2ac..f4986373df 100644 --- a/src/Exceptions/TokenizerException.php +++ b/src/Exceptions/TokenizerException.php @@ -3,7 +3,8 @@ * An exception thrown by PHP_CodeSniffer when it encounters an unrecoverable tokenizer error. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Files/DummyFile.php b/src/Files/DummyFile.php index 450424ba17..a50db12227 100644 --- a/src/Files/DummyFile.php +++ b/src/Files/DummyFile.php @@ -8,7 +8,8 @@ * as the first line of the file contents. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Files/File.php b/src/Files/File.php index 9b21648560..a5ae3df5f8 100644 --- a/src/Files/File.php +++ b/src/Files/File.php @@ -3,7 +3,8 @@ * Represents a piece of content being checked during the run. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Files/FileList.php b/src/Files/FileList.php index 007b3f4ff7..34291bba42 100644 --- a/src/Files/FileList.php +++ b/src/Files/FileList.php @@ -5,7 +5,8 @@ * File objects are created as needed rather than all at once. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Files/LocalFile.php b/src/Files/LocalFile.php index 572f0be214..633a41a1d7 100644 --- a/src/Files/LocalFile.php +++ b/src/Files/LocalFile.php @@ -3,7 +3,8 @@ * A local file represents a chunk of text has a file system location. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Filters/ExactMatch.php b/src/Filters/ExactMatch.php index dc4d1b2abf..546913444d 100644 --- a/src/Filters/ExactMatch.php +++ b/src/Filters/ExactMatch.php @@ -5,7 +5,8 @@ * Supports both allowed files and disallowed files. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Filters/Filter.php b/src/Filters/Filter.php index 26871a447d..911a08a6a3 100644 --- a/src/Filters/Filter.php +++ b/src/Filters/Filter.php @@ -3,7 +3,8 @@ * A base filter class for filtering out files and folders during a run. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Filters/GitModified.php b/src/Filters/GitModified.php index c6673638e3..7b44968439 100644 --- a/src/Filters/GitModified.php +++ b/src/Filters/GitModified.php @@ -3,7 +3,8 @@ * A filter to only include files that have been modified or added in a Git repository. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Filters/GitStaged.php b/src/Filters/GitStaged.php index 9f4f69371f..0318b5e2e3 100644 --- a/src/Filters/GitStaged.php +++ b/src/Filters/GitStaged.php @@ -6,6 +6,7 @@ * * @author Juliette Reinders Folmer * @copyright 2018 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Fixer.php b/src/Fixer.php index ba3cb5c098..46b53857fe 100644 --- a/src/Fixer.php +++ b/src/Fixer.php @@ -6,7 +6,8 @@ * content. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Generators/Generator.php b/src/Generators/Generator.php index a7630a6c91..5be8116017 100644 --- a/src/Generators/Generator.php +++ b/src/Generators/Generator.php @@ -7,8 +7,8 @@ * * @author Greg Sherwood * @author Juliette Reinders Folmer - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) - * @copyright 2024 PHPCSStandards and contributors + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Generators/HTML.php b/src/Generators/HTML.php index 3394fbfbff..32cf41fcc9 100644 --- a/src/Generators/HTML.php +++ b/src/Generators/HTML.php @@ -8,8 +8,8 @@ * * @author Greg Sherwood * @author Juliette Reinders Folmer - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) - * @copyright 2024 PHPCSStandards and contributors + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Generators/Markdown.php b/src/Generators/Markdown.php index 5819336f89..a2941d2795 100644 --- a/src/Generators/Markdown.php +++ b/src/Generators/Markdown.php @@ -5,7 +5,7 @@ * @author Stefano Kowalke * @author Juliette Reinders Folmer * @copyright 2014 Arroba IT - * @copyright 2024 PHPCSStandards and contributors + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Generators/Text.php b/src/Generators/Text.php index 4d4866653e..a04be7ef11 100644 --- a/src/Generators/Text.php +++ b/src/Generators/Text.php @@ -6,8 +6,8 @@ * * @author Greg Sherwood * @author Juliette Reinders Folmer - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) - * @copyright 2024 PHPCSStandards and contributors + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Reporter.php b/src/Reporter.php index e2deb23054..f3001ace8d 100644 --- a/src/Reporter.php +++ b/src/Reporter.php @@ -3,7 +3,8 @@ * Manages reporting of errors and warnings. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Reports/Cbf.php b/src/Reports/Cbf.php index 9e9d49d515..1394210559 100644 --- a/src/Reports/Cbf.php +++ b/src/Reports/Cbf.php @@ -8,8 +8,8 @@ * * @author Greg Sherwood * @author Juliette Reinders Folmer - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) - * @copyright 2025 PHPCSStandards and contributors + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Reports/Checkstyle.php b/src/Reports/Checkstyle.php index a2012b3c53..15a1fc6ea1 100644 --- a/src/Reports/Checkstyle.php +++ b/src/Reports/Checkstyle.php @@ -3,7 +3,8 @@ * Checkstyle report for PHP_CodeSniffer. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Reports/Code.php b/src/Reports/Code.php index 58896e7ba3..1630832cd9 100644 --- a/src/Reports/Code.php +++ b/src/Reports/Code.php @@ -3,7 +3,8 @@ * Full report for PHP_CodeSniffer. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Reports/Csv.php b/src/Reports/Csv.php index 0a5ed1d1a9..174986f946 100644 --- a/src/Reports/Csv.php +++ b/src/Reports/Csv.php @@ -3,7 +3,8 @@ * CSV report for PHP_CodeSniffer. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Reports/Diff.php b/src/Reports/Diff.php index 51b5409de7..9e65a2eb8c 100644 --- a/src/Reports/Diff.php +++ b/src/Reports/Diff.php @@ -3,7 +3,8 @@ * Diff report for PHP_CodeSniffer. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Reports/Emacs.php b/src/Reports/Emacs.php index de75ee1602..1853e0dedf 100644 --- a/src/Reports/Emacs.php +++ b/src/Reports/Emacs.php @@ -3,7 +3,8 @@ * Emacs report for PHP_CodeSniffer. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Reports/Full.php b/src/Reports/Full.php index 177af4434c..c9545d6b06 100644 --- a/src/Reports/Full.php +++ b/src/Reports/Full.php @@ -3,7 +3,8 @@ * Full report for PHP_CodeSniffer. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Reports/Gitblame.php b/src/Reports/Gitblame.php index 40b79be91a..a2dfe48834 100644 --- a/src/Reports/Gitblame.php +++ b/src/Reports/Gitblame.php @@ -4,7 +4,8 @@ * * @author Ben Selby * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Reports/Hgblame.php b/src/Reports/Hgblame.php index 135caa1051..ea498324da 100644 --- a/src/Reports/Hgblame.php +++ b/src/Reports/Hgblame.php @@ -4,7 +4,8 @@ * * @author Ben Selby * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Reports/Info.php b/src/Reports/Info.php index 8cc359a02b..761f480128 100644 --- a/src/Reports/Info.php +++ b/src/Reports/Info.php @@ -3,7 +3,8 @@ * Info report for PHP_CodeSniffer. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Reports/Json.php b/src/Reports/Json.php index b697428aaa..c0947f23e0 100644 --- a/src/Reports/Json.php +++ b/src/Reports/Json.php @@ -4,7 +4,8 @@ * * @author Jeffrey Fisher * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Reports/Junit.php b/src/Reports/Junit.php index 6c0abc28b3..16900f4185 100644 --- a/src/Reports/Junit.php +++ b/src/Reports/Junit.php @@ -4,7 +4,8 @@ * * @author Oleg Lobach * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Reports/Notifysend.php b/src/Reports/Notifysend.php index b394027bc3..5c4a18acd8 100644 --- a/src/Reports/Notifysend.php +++ b/src/Reports/Notifysend.php @@ -10,7 +10,8 @@ * @author Christian Weiske * @author Greg Sherwood * @copyright 2012-2014 Christian Weiske - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Reports/Performance.php b/src/Reports/Performance.php index 6892cd2fa1..461b76ac12 100644 --- a/src/Reports/Performance.php +++ b/src/Reports/Performance.php @@ -3,7 +3,7 @@ * Performance report for PHP_CodeSniffer. * * @author Juliette Reinders Folmer - * @copyright 2023 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Reports/Report.php b/src/Reports/Report.php index 7eb85c8b1b..8ac1f465b0 100644 --- a/src/Reports/Report.php +++ b/src/Reports/Report.php @@ -3,7 +3,8 @@ * An interface that PHP_CodeSniffer reports must implement. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Reports/Source.php b/src/Reports/Source.php index 2145d625e2..206e2eb7cf 100644 --- a/src/Reports/Source.php +++ b/src/Reports/Source.php @@ -3,7 +3,8 @@ * Source report for PHP_CodeSniffer. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Reports/Summary.php b/src/Reports/Summary.php index 086cfdac49..3ed717fca3 100644 --- a/src/Reports/Summary.php +++ b/src/Reports/Summary.php @@ -3,7 +3,8 @@ * Summary report for PHP_CodeSniffer. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Reports/Svnblame.php b/src/Reports/Svnblame.php index 82db8dd8af..f8813a837c 100644 --- a/src/Reports/Svnblame.php +++ b/src/Reports/Svnblame.php @@ -3,7 +3,8 @@ * SVN blame report for PHP_CodeSniffer. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Reports/VersionControl.php b/src/Reports/VersionControl.php index 2391b6c144..08d49caa04 100644 --- a/src/Reports/VersionControl.php +++ b/src/Reports/VersionControl.php @@ -4,7 +4,8 @@ * * @author Ben Selby * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Reports/Xml.php b/src/Reports/Xml.php index 06e849c712..dfc7304806 100644 --- a/src/Reports/Xml.php +++ b/src/Reports/Xml.php @@ -3,7 +3,8 @@ * XML report for PHP_CodeSniffer. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Ruleset.php b/src/Ruleset.php index a1c9a94961..0fbc294adb 100644 --- a/src/Ruleset.php +++ b/src/Ruleset.php @@ -5,7 +5,8 @@ * A ruleset object directly maps to a ruleset XML file. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Runner.php b/src/Runner.php index 77c77dca6d..db0e26d91b 100644 --- a/src/Runner.php +++ b/src/Runner.php @@ -6,7 +6,8 @@ * call runPHPCS() or runPHPCBF(). * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Sniffs/AbstractArraySniff.php b/src/Sniffs/AbstractArraySniff.php index b466f1b55e..aa0c10189d 100644 --- a/src/Sniffs/AbstractArraySniff.php +++ b/src/Sniffs/AbstractArraySniff.php @@ -3,7 +3,8 @@ * Processes single and multi-line arrays. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Sniffs/AbstractPatternSniff.php b/src/Sniffs/AbstractPatternSniff.php index 8d730fe737..950305c168 100644 --- a/src/Sniffs/AbstractPatternSniff.php +++ b/src/Sniffs/AbstractPatternSniff.php @@ -3,7 +3,8 @@ * Processes pattern strings and checks that the code conforms to the pattern. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Sniffs/AbstractScopeSniff.php b/src/Sniffs/AbstractScopeSniff.php index 4083621495..81862e1caa 100644 --- a/src/Sniffs/AbstractScopeSniff.php +++ b/src/Sniffs/AbstractScopeSniff.php @@ -20,7 +20,8 @@ * * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Sniffs/AbstractVariableSniff.php b/src/Sniffs/AbstractVariableSniff.php index 794a93fce2..7caf46a2fc 100644 --- a/src/Sniffs/AbstractVariableSniff.php +++ b/src/Sniffs/AbstractVariableSniff.php @@ -9,7 +9,8 @@ * called. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Sniffs/DeprecatedSniff.php b/src/Sniffs/DeprecatedSniff.php index 4741395d3e..c30a7417b6 100644 --- a/src/Sniffs/DeprecatedSniff.php +++ b/src/Sniffs/DeprecatedSniff.php @@ -9,7 +9,7 @@ * as well, or extend an abstract sniff which does, to be recognized as a valid sniff. * * @author Juliette Reinders Folmer - * @copyright 2024 PHPCSStandards Contributors + * @copyright 2024 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Sniffs/Sniff.php b/src/Sniffs/Sniff.php index 2d369369ae..f50a2a1312 100644 --- a/src/Sniffs/Sniff.php +++ b/src/Sniffs/Sniff.php @@ -8,7 +8,8 @@ * PHP_CodeSniffer file in which the token was found. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Arrays/ArrayIndentSniff.php b/src/Standards/Generic/Sniffs/Arrays/ArrayIndentSniff.php index 5374ce48db..43a50cca58 100644 --- a/src/Standards/Generic/Sniffs/Arrays/ArrayIndentSniff.php +++ b/src/Standards/Generic/Sniffs/Arrays/ArrayIndentSniff.php @@ -3,7 +3,8 @@ * Ensures that array are indented one tab stop. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Arrays/DisallowLongArraySyntaxSniff.php b/src/Standards/Generic/Sniffs/Arrays/DisallowLongArraySyntaxSniff.php index 689dc5fccd..7c66e3fa8b 100644 --- a/src/Standards/Generic/Sniffs/Arrays/DisallowLongArraySyntaxSniff.php +++ b/src/Standards/Generic/Sniffs/Arrays/DisallowLongArraySyntaxSniff.php @@ -3,7 +3,8 @@ * Bans the use of the PHP long array syntax. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Arrays/DisallowShortArraySyntaxSniff.php b/src/Standards/Generic/Sniffs/Arrays/DisallowShortArraySyntaxSniff.php index 90afbe86f3..c978e5a651 100644 --- a/src/Standards/Generic/Sniffs/Arrays/DisallowShortArraySyntaxSniff.php +++ b/src/Standards/Generic/Sniffs/Arrays/DisallowShortArraySyntaxSniff.php @@ -3,7 +3,8 @@ * Bans the use of the PHP short array syntax. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Classes/DuplicateClassNameSniff.php b/src/Standards/Generic/Sniffs/Classes/DuplicateClassNameSniff.php index 684a9ffaeb..9a00edd4c8 100644 --- a/src/Standards/Generic/Sniffs/Classes/DuplicateClassNameSniff.php +++ b/src/Standards/Generic/Sniffs/Classes/DuplicateClassNameSniff.php @@ -3,7 +3,8 @@ * Reports errors if the same class or interface name is used in multiple files. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Classes/OpeningBraceSameLineSniff.php b/src/Standards/Generic/Sniffs/Classes/OpeningBraceSameLineSniff.php index 66966074ec..5c5b146c91 100644 --- a/src/Standards/Generic/Sniffs/Classes/OpeningBraceSameLineSniff.php +++ b/src/Standards/Generic/Sniffs/Classes/OpeningBraceSameLineSniff.php @@ -3,7 +3,8 @@ * Checks that the opening brace of a class/interface/trait is on the same line as the class declaration. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/CodeAnalysis/AssignmentInConditionSniff.php b/src/Standards/Generic/Sniffs/CodeAnalysis/AssignmentInConditionSniff.php index b59f45b8b4..4faa481315 100644 --- a/src/Standards/Generic/Sniffs/CodeAnalysis/AssignmentInConditionSniff.php +++ b/src/Standards/Generic/Sniffs/CodeAnalysis/AssignmentInConditionSniff.php @@ -8,6 +8,7 @@ * * @author Juliette Reinders Folmer * @copyright 2017 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/CodeAnalysis/EmptyPHPStatementSniff.php b/src/Standards/Generic/Sniffs/CodeAnalysis/EmptyPHPStatementSniff.php index ede6135c54..6cd5ff6abd 100644 --- a/src/Standards/Generic/Sniffs/CodeAnalysis/EmptyPHPStatementSniff.php +++ b/src/Standards/Generic/Sniffs/CodeAnalysis/EmptyPHPStatementSniff.php @@ -7,6 +7,7 @@ * * @author Juliette Reinders Folmer * @copyright 2017 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/CodeAnalysis/EmptyStatementSniff.php b/src/Standards/Generic/Sniffs/CodeAnalysis/EmptyStatementSniff.php index e4e7420929..ca99a9cbeb 100644 --- a/src/Standards/Generic/Sniffs/CodeAnalysis/EmptyStatementSniff.php +++ b/src/Standards/Generic/Sniffs/CodeAnalysis/EmptyStatementSniff.php @@ -18,6 +18,7 @@ * @author Manuel Pichler * @author Greg Sherwood * @copyright 2007-2014 Manuel Pichler. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/CodeAnalysis/ForLoopShouldBeWhileLoopSniff.php b/src/Standards/Generic/Sniffs/CodeAnalysis/ForLoopShouldBeWhileLoopSniff.php index c09d2aa7d6..350b2a0bf6 100644 --- a/src/Standards/Generic/Sniffs/CodeAnalysis/ForLoopShouldBeWhileLoopSniff.php +++ b/src/Standards/Generic/Sniffs/CodeAnalysis/ForLoopShouldBeWhileLoopSniff.php @@ -17,6 +17,7 @@ * * @author Manuel Pichler * @copyright 2007-2014 Manuel Pichler. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/CodeAnalysis/ForLoopWithTestFunctionCallSniff.php b/src/Standards/Generic/Sniffs/CodeAnalysis/ForLoopWithTestFunctionCallSniff.php index d6f7b5784c..403b66075a 100644 --- a/src/Standards/Generic/Sniffs/CodeAnalysis/ForLoopWithTestFunctionCallSniff.php +++ b/src/Standards/Generic/Sniffs/CodeAnalysis/ForLoopWithTestFunctionCallSniff.php @@ -21,6 +21,7 @@ * @author Greg Sherwood * @author Manuel Pichler * @copyright 2007-2014 Manuel Pichler. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/CodeAnalysis/JumbledIncrementerSniff.php b/src/Standards/Generic/Sniffs/CodeAnalysis/JumbledIncrementerSniff.php index 36e8af6c74..e507640141 100644 --- a/src/Standards/Generic/Sniffs/CodeAnalysis/JumbledIncrementerSniff.php +++ b/src/Standards/Generic/Sniffs/CodeAnalysis/JumbledIncrementerSniff.php @@ -24,6 +24,7 @@ * * @author Manuel Pichler * @copyright 2007-2014 Manuel Pichler. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/CodeAnalysis/RequireExplicitBooleanOperatorPrecedenceSniff.php b/src/Standards/Generic/Sniffs/CodeAnalysis/RequireExplicitBooleanOperatorPrecedenceSniff.php index 24d203bd94..4aa4ad0b0c 100644 --- a/src/Standards/Generic/Sniffs/CodeAnalysis/RequireExplicitBooleanOperatorPrecedenceSniff.php +++ b/src/Standards/Generic/Sniffs/CodeAnalysis/RequireExplicitBooleanOperatorPrecedenceSniff.php @@ -23,7 +23,7 @@ * * @author Tim Duesterhus * @copyright 2021-2023 WoltLab GmbH. - * @copyright 2024 PHPCSStandards and contributors + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/CodeAnalysis/UnconditionalIfStatementSniff.php b/src/Standards/Generic/Sniffs/CodeAnalysis/UnconditionalIfStatementSniff.php index 0f373e942d..bde75376a8 100644 --- a/src/Standards/Generic/Sniffs/CodeAnalysis/UnconditionalIfStatementSniff.php +++ b/src/Standards/Generic/Sniffs/CodeAnalysis/UnconditionalIfStatementSniff.php @@ -21,6 +21,7 @@ * * @author Manuel Pichler * @copyright 2007-2014 Manuel Pichler. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/CodeAnalysis/UnnecessaryFinalModifierSniff.php b/src/Standards/Generic/Sniffs/CodeAnalysis/UnnecessaryFinalModifierSniff.php index 97ebdab0c1..4e7bf2b680 100644 --- a/src/Standards/Generic/Sniffs/CodeAnalysis/UnnecessaryFinalModifierSniff.php +++ b/src/Standards/Generic/Sniffs/CodeAnalysis/UnnecessaryFinalModifierSniff.php @@ -17,6 +17,7 @@ * * @author Manuel Pichler * @copyright 2007-2014 Manuel Pichler. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/CodeAnalysis/UnusedFunctionParameterSniff.php b/src/Standards/Generic/Sniffs/CodeAnalysis/UnusedFunctionParameterSniff.php index 313d1166df..1cdc7da933 100644 --- a/src/Standards/Generic/Sniffs/CodeAnalysis/UnusedFunctionParameterSniff.php +++ b/src/Standards/Generic/Sniffs/CodeAnalysis/UnusedFunctionParameterSniff.php @@ -11,6 +11,7 @@ * @author Manuel Pichler * @author Greg Sherwood * @copyright 2007-2014 Manuel Pichler. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/CodeAnalysis/UselessOverridingMethodSniff.php b/src/Standards/Generic/Sniffs/CodeAnalysis/UselessOverridingMethodSniff.php index 487915c53f..6ea825f7a5 100644 --- a/src/Standards/Generic/Sniffs/CodeAnalysis/UselessOverridingMethodSniff.php +++ b/src/Standards/Generic/Sniffs/CodeAnalysis/UselessOverridingMethodSniff.php @@ -16,6 +16,7 @@ * * @author Manuel Pichler * @copyright 2007-2014 Manuel Pichler. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php b/src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php index 22b4b2c3ef..689f4d1ced 100644 --- a/src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php +++ b/src/Standards/Generic/Sniffs/Commenting/DocCommentSniff.php @@ -3,7 +3,8 @@ * Ensures doc blocks follow basic formatting. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Commenting/FixmeSniff.php b/src/Standards/Generic/Sniffs/Commenting/FixmeSniff.php index 0cf4c5c9be..064838aa35 100644 --- a/src/Standards/Generic/Sniffs/Commenting/FixmeSniff.php +++ b/src/Standards/Generic/Sniffs/Commenting/FixmeSniff.php @@ -4,7 +4,8 @@ * * @author Greg Sherwood * @author Sam Graham - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Commenting/TodoSniff.php b/src/Standards/Generic/Sniffs/Commenting/TodoSniff.php index 1dfee4f7e6..36b1567011 100644 --- a/src/Standards/Generic/Sniffs/Commenting/TodoSniff.php +++ b/src/Standards/Generic/Sniffs/Commenting/TodoSniff.php @@ -3,7 +3,8 @@ * Warns about TODO comments. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/ControlStructures/DisallowYodaConditionsSniff.php b/src/Standards/Generic/Sniffs/ControlStructures/DisallowYodaConditionsSniff.php index 32924d47cd..39404178fd 100644 --- a/src/Standards/Generic/Sniffs/ControlStructures/DisallowYodaConditionsSniff.php +++ b/src/Standards/Generic/Sniffs/ControlStructures/DisallowYodaConditionsSniff.php @@ -4,7 +4,8 @@ * * @author Mponos George * @author Mark Scherer - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/ControlStructures/InlineControlStructureSniff.php b/src/Standards/Generic/Sniffs/ControlStructures/InlineControlStructureSniff.php index c8e261d024..4d4b990def 100644 --- a/src/Standards/Generic/Sniffs/ControlStructures/InlineControlStructureSniff.php +++ b/src/Standards/Generic/Sniffs/ControlStructures/InlineControlStructureSniff.php @@ -3,7 +3,8 @@ * Verifies that inline control statements are not present. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Files/ByteOrderMarkSniff.php b/src/Standards/Generic/Sniffs/Files/ByteOrderMarkSniff.php index 00735b03cd..14151156b2 100644 --- a/src/Standards/Generic/Sniffs/Files/ByteOrderMarkSniff.php +++ b/src/Standards/Generic/Sniffs/Files/ByteOrderMarkSniff.php @@ -5,6 +5,7 @@ * @author Piotr Karas * @author Greg Sherwood * @copyright 2010-2014 mediaSELF Sp. z o.o. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Files/EndFileNewlineSniff.php b/src/Standards/Generic/Sniffs/Files/EndFileNewlineSniff.php index f53c4539c5..a4071f59fe 100644 --- a/src/Standards/Generic/Sniffs/Files/EndFileNewlineSniff.php +++ b/src/Standards/Generic/Sniffs/Files/EndFileNewlineSniff.php @@ -3,7 +3,8 @@ * Ensures the file ends with a newline character. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Files/EndFileNoNewlineSniff.php b/src/Standards/Generic/Sniffs/Files/EndFileNoNewlineSniff.php index 7b603c5e56..093d42b2f5 100644 --- a/src/Standards/Generic/Sniffs/Files/EndFileNoNewlineSniff.php +++ b/src/Standards/Generic/Sniffs/Files/EndFileNoNewlineSniff.php @@ -3,7 +3,8 @@ * Ensures the file does not end with a newline character. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Files/ExecutableFileSniff.php b/src/Standards/Generic/Sniffs/Files/ExecutableFileSniff.php index 860f7c320e..e3aa7e31b1 100644 --- a/src/Standards/Generic/Sniffs/Files/ExecutableFileSniff.php +++ b/src/Standards/Generic/Sniffs/Files/ExecutableFileSniff.php @@ -4,6 +4,7 @@ * * @author Matthew Peveler * @copyright 2019 Matthew Peveler + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Files/InlineHTMLSniff.php b/src/Standards/Generic/Sniffs/Files/InlineHTMLSniff.php index 903bd89990..fa702c62c8 100644 --- a/src/Standards/Generic/Sniffs/Files/InlineHTMLSniff.php +++ b/src/Standards/Generic/Sniffs/Files/InlineHTMLSniff.php @@ -3,7 +3,8 @@ * Ensures the whole file is PHP only, with no whitespace or inline HTML. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Files/LineEndingsSniff.php b/src/Standards/Generic/Sniffs/Files/LineEndingsSniff.php index c2bf3edb02..3ae56024f7 100644 --- a/src/Standards/Generic/Sniffs/Files/LineEndingsSniff.php +++ b/src/Standards/Generic/Sniffs/Files/LineEndingsSniff.php @@ -3,7 +3,8 @@ * Checks that end of line characters are correct. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Files/LineLengthSniff.php b/src/Standards/Generic/Sniffs/Files/LineLengthSniff.php index 243f3dc556..ba05bb08e4 100644 --- a/src/Standards/Generic/Sniffs/Files/LineLengthSniff.php +++ b/src/Standards/Generic/Sniffs/Files/LineLengthSniff.php @@ -7,7 +7,8 @@ * figures can be changed in a ruleset.xml file. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Files/LowercasedFilenameSniff.php b/src/Standards/Generic/Sniffs/Files/LowercasedFilenameSniff.php index db07289aa9..248a0e6adb 100644 --- a/src/Standards/Generic/Sniffs/Files/LowercasedFilenameSniff.php +++ b/src/Standards/Generic/Sniffs/Files/LowercasedFilenameSniff.php @@ -4,6 +4,7 @@ * * @author Andy Grunwald * @copyright 2010-2014 Andy Grunwald + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Files/OneClassPerFileSniff.php b/src/Standards/Generic/Sniffs/Files/OneClassPerFileSniff.php index a225e8e214..8b182f44fc 100644 --- a/src/Standards/Generic/Sniffs/Files/OneClassPerFileSniff.php +++ b/src/Standards/Generic/Sniffs/Files/OneClassPerFileSniff.php @@ -4,6 +4,7 @@ * * @author Andy Grunwald * @copyright 2010-2014 Andy Grunwald + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Files/OneInterfacePerFileSniff.php b/src/Standards/Generic/Sniffs/Files/OneInterfacePerFileSniff.php index cc47f62b65..3c8c3ddbce 100644 --- a/src/Standards/Generic/Sniffs/Files/OneInterfacePerFileSniff.php +++ b/src/Standards/Generic/Sniffs/Files/OneInterfacePerFileSniff.php @@ -4,6 +4,7 @@ * * @author Andy Grunwald * @copyright 2010-2014 Andy Grunwald + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Files/OneObjectStructurePerFileSniff.php b/src/Standards/Generic/Sniffs/Files/OneObjectStructurePerFileSniff.php index f1acd892d4..a195a6ee7b 100644 --- a/src/Standards/Generic/Sniffs/Files/OneObjectStructurePerFileSniff.php +++ b/src/Standards/Generic/Sniffs/Files/OneObjectStructurePerFileSniff.php @@ -3,7 +3,8 @@ * Checks that only one object structure is declared per file. * * @author Mponos George - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Files/OneTraitPerFileSniff.php b/src/Standards/Generic/Sniffs/Files/OneTraitPerFileSniff.php index 253dc919ba..8b3d384b62 100644 --- a/src/Standards/Generic/Sniffs/Files/OneTraitPerFileSniff.php +++ b/src/Standards/Generic/Sniffs/Files/OneTraitPerFileSniff.php @@ -4,6 +4,7 @@ * * @author Alexander Obuhovich * @copyright 2010-2014 Alexander Obuhovich + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Formatting/DisallowMultipleStatementsSniff.php b/src/Standards/Generic/Sniffs/Formatting/DisallowMultipleStatementsSniff.php index b5a91ea8bf..a12391d1b6 100644 --- a/src/Standards/Generic/Sniffs/Formatting/DisallowMultipleStatementsSniff.php +++ b/src/Standards/Generic/Sniffs/Formatting/DisallowMultipleStatementsSniff.php @@ -3,7 +3,8 @@ * Ensures each statement is on a line by itself. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Formatting/MultipleStatementAlignmentSniff.php b/src/Standards/Generic/Sniffs/Formatting/MultipleStatementAlignmentSniff.php index 758bca2b6e..0f1aceaaa6 100644 --- a/src/Standards/Generic/Sniffs/Formatting/MultipleStatementAlignmentSniff.php +++ b/src/Standards/Generic/Sniffs/Formatting/MultipleStatementAlignmentSniff.php @@ -6,7 +6,8 @@ * each assignment are aligned. It will display a warning to advise that the signs should be aligned. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php b/src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php index 1a0ceb767c..88584c5cde 100644 --- a/src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php +++ b/src/Standards/Generic/Sniffs/Formatting/SpaceAfterCastSniff.php @@ -3,7 +3,8 @@ * Ensures there is a single space after cast tokens. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Formatting/SpaceAfterNotSniff.php b/src/Standards/Generic/Sniffs/Formatting/SpaceAfterNotSniff.php index c1e34f4690..975ecc1947 100644 --- a/src/Standards/Generic/Sniffs/Formatting/SpaceAfterNotSniff.php +++ b/src/Standards/Generic/Sniffs/Formatting/SpaceAfterNotSniff.php @@ -3,7 +3,8 @@ * Ensures there is a single space after a NOT operator. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Formatting/SpaceBeforeCastSniff.php b/src/Standards/Generic/Sniffs/Formatting/SpaceBeforeCastSniff.php index f6fb1df775..a018081d3f 100644 --- a/src/Standards/Generic/Sniffs/Formatting/SpaceBeforeCastSniff.php +++ b/src/Standards/Generic/Sniffs/Formatting/SpaceBeforeCastSniff.php @@ -3,7 +3,8 @@ * Ensures there is a single space before cast tokens. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Functions/FunctionCallArgumentSpacingSniff.php b/src/Standards/Generic/Sniffs/Functions/FunctionCallArgumentSpacingSniff.php index 6a070fc4b9..0eacf70d9b 100644 --- a/src/Standards/Generic/Sniffs/Functions/FunctionCallArgumentSpacingSniff.php +++ b/src/Standards/Generic/Sniffs/Functions/FunctionCallArgumentSpacingSniff.php @@ -3,7 +3,8 @@ * Checks that calls to methods and functions are spaced correctly. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceBsdAllmanSniff.php b/src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceBsdAllmanSniff.php index 6bb99a9428..8fd63af040 100644 --- a/src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceBsdAllmanSniff.php +++ b/src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceBsdAllmanSniff.php @@ -3,7 +3,8 @@ * Checks that the opening brace of a function is on the line after the function declaration. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceKernighanRitchieSniff.php b/src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceKernighanRitchieSniff.php index 5f91d0ccd1..72ee171e0e 100644 --- a/src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceKernighanRitchieSniff.php +++ b/src/Standards/Generic/Sniffs/Functions/OpeningFunctionBraceKernighanRitchieSniff.php @@ -3,7 +3,8 @@ * Checks that the opening brace of a function is on the same line as the function declaration. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Metrics/CyclomaticComplexitySniff.php b/src/Standards/Generic/Sniffs/Metrics/CyclomaticComplexitySniff.php index adc3b9c149..4175442c21 100644 --- a/src/Standards/Generic/Sniffs/Metrics/CyclomaticComplexitySniff.php +++ b/src/Standards/Generic/Sniffs/Metrics/CyclomaticComplexitySniff.php @@ -9,6 +9,7 @@ * @author Johann-Peter Hartmann * @author Greg Sherwood * @copyright 2007-2014 Mayflower GmbH + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Metrics/NestingLevelSniff.php b/src/Standards/Generic/Sniffs/Metrics/NestingLevelSniff.php index 2631d25ac7..54e8effe10 100644 --- a/src/Standards/Generic/Sniffs/Metrics/NestingLevelSniff.php +++ b/src/Standards/Generic/Sniffs/Metrics/NestingLevelSniff.php @@ -5,6 +5,7 @@ * @author Johann-Peter Hartmann * @author Greg Sherwood * @copyright 2007-2014 Mayflower GmbH + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/NamingConventions/CamelCapsFunctionNameSniff.php b/src/Standards/Generic/Sniffs/NamingConventions/CamelCapsFunctionNameSniff.php index be28f9c7fb..7a87dfd8a5 100644 --- a/src/Standards/Generic/Sniffs/NamingConventions/CamelCapsFunctionNameSniff.php +++ b/src/Standards/Generic/Sniffs/NamingConventions/CamelCapsFunctionNameSniff.php @@ -3,7 +3,8 @@ * Ensures method and functions are named correctly. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/NamingConventions/ConstructorNameSniff.php b/src/Standards/Generic/Sniffs/NamingConventions/ConstructorNameSniff.php index 2876bc3a77..0fb5bece98 100644 --- a/src/Standards/Generic/Sniffs/NamingConventions/ConstructorNameSniff.php +++ b/src/Standards/Generic/Sniffs/NamingConventions/ConstructorNameSniff.php @@ -7,7 +7,8 @@ * * @author Greg Sherwood * @author Leif Wickland - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/NamingConventions/UpperCaseConstantNameSniff.php b/src/Standards/Generic/Sniffs/NamingConventions/UpperCaseConstantNameSniff.php index 5fed9f3c90..5202dbfbf1 100644 --- a/src/Standards/Generic/Sniffs/NamingConventions/UpperCaseConstantNameSniff.php +++ b/src/Standards/Generic/Sniffs/NamingConventions/UpperCaseConstantNameSniff.php @@ -3,7 +3,8 @@ * Ensures that constant names are all uppercase. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/PHP/BacktickOperatorSniff.php b/src/Standards/Generic/Sniffs/PHP/BacktickOperatorSniff.php index cfb4e1e9d9..2ef76feede 100644 --- a/src/Standards/Generic/Sniffs/PHP/BacktickOperatorSniff.php +++ b/src/Standards/Generic/Sniffs/PHP/BacktickOperatorSniff.php @@ -3,7 +3,8 @@ * Bans the use of the backtick execution operator. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/PHP/CharacterBeforePHPOpeningTagSniff.php b/src/Standards/Generic/Sniffs/PHP/CharacterBeforePHPOpeningTagSniff.php index f87f74aad2..5ce94521f8 100644 --- a/src/Standards/Generic/Sniffs/PHP/CharacterBeforePHPOpeningTagSniff.php +++ b/src/Standards/Generic/Sniffs/PHP/CharacterBeforePHPOpeningTagSniff.php @@ -4,6 +4,7 @@ * * @author Andy Grunwald * @copyright 2010-2014 Andy Grunwald + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/PHP/ClosingPHPTagSniff.php b/src/Standards/Generic/Sniffs/PHP/ClosingPHPTagSniff.php index b1f6aec4bd..ef5e3dc1b0 100644 --- a/src/Standards/Generic/Sniffs/PHP/ClosingPHPTagSniff.php +++ b/src/Standards/Generic/Sniffs/PHP/ClosingPHPTagSniff.php @@ -4,6 +4,7 @@ * * @author Stefano Kowalke * @copyright 2010-2014 Stefano Kowalke + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/PHP/DeprecatedFunctionsSniff.php b/src/Standards/Generic/Sniffs/PHP/DeprecatedFunctionsSniff.php index 60a1201184..fba57a9126 100644 --- a/src/Standards/Generic/Sniffs/PHP/DeprecatedFunctionsSniff.php +++ b/src/Standards/Generic/Sniffs/PHP/DeprecatedFunctionsSniff.php @@ -4,7 +4,8 @@ * * @author Sebastian Bergmann * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/PHP/DisallowAlternativePHPTagsSniff.php b/src/Standards/Generic/Sniffs/PHP/DisallowAlternativePHPTagsSniff.php index 6b2c667c0f..ef789bf7a6 100644 --- a/src/Standards/Generic/Sniffs/PHP/DisallowAlternativePHPTagsSniff.php +++ b/src/Standards/Generic/Sniffs/PHP/DisallowAlternativePHPTagsSniff.php @@ -5,7 +5,8 @@ * If alternative PHP open tags are found, this sniff can fix both the open and close tags. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/PHP/DisallowRequestSuperglobalSniff.php b/src/Standards/Generic/Sniffs/PHP/DisallowRequestSuperglobalSniff.php index 983475d546..970b1127ac 100644 --- a/src/Standards/Generic/Sniffs/PHP/DisallowRequestSuperglobalSniff.php +++ b/src/Standards/Generic/Sniffs/PHP/DisallowRequestSuperglobalSniff.php @@ -3,7 +3,8 @@ * Ensures the $_REQUEST superglobal is not used * * @author Jeantwan Teuma - * @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/PHP/DisallowShortOpenTagSniff.php b/src/Standards/Generic/Sniffs/PHP/DisallowShortOpenTagSniff.php index 342607f0ad..5fd31ef0e0 100644 --- a/src/Standards/Generic/Sniffs/PHP/DisallowShortOpenTagSniff.php +++ b/src/Standards/Generic/Sniffs/PHP/DisallowShortOpenTagSniff.php @@ -3,7 +3,8 @@ * Makes sure that shorthand PHP open tags are not used. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/PHP/DiscourageGotoSniff.php b/src/Standards/Generic/Sniffs/PHP/DiscourageGotoSniff.php index b04c76aa09..f624ee0e79 100644 --- a/src/Standards/Generic/Sniffs/PHP/DiscourageGotoSniff.php +++ b/src/Standards/Generic/Sniffs/PHP/DiscourageGotoSniff.php @@ -3,7 +3,8 @@ * Discourage the use of the PHP `goto` language construct. * * @author Greg Sherwood - * @copyright 2006-2017 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/PHP/ForbiddenFunctionsSniff.php b/src/Standards/Generic/Sniffs/PHP/ForbiddenFunctionsSniff.php index f5d4d51911..ab5502a537 100644 --- a/src/Standards/Generic/Sniffs/PHP/ForbiddenFunctionsSniff.php +++ b/src/Standards/Generic/Sniffs/PHP/ForbiddenFunctionsSniff.php @@ -6,7 +6,8 @@ * with older versions. Can be used to forbid the use of any function. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/PHP/LowerCaseConstantSniff.php b/src/Standards/Generic/Sniffs/PHP/LowerCaseConstantSniff.php index c4ee239416..39ff1e5645 100644 --- a/src/Standards/Generic/Sniffs/PHP/LowerCaseConstantSniff.php +++ b/src/Standards/Generic/Sniffs/PHP/LowerCaseConstantSniff.php @@ -3,7 +3,8 @@ * Checks that all uses of true, false and null are lowercase. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/PHP/LowerCaseKeywordSniff.php b/src/Standards/Generic/Sniffs/PHP/LowerCaseKeywordSniff.php index 867896f8da..bb6f84b6ca 100644 --- a/src/Standards/Generic/Sniffs/PHP/LowerCaseKeywordSniff.php +++ b/src/Standards/Generic/Sniffs/PHP/LowerCaseKeywordSniff.php @@ -3,7 +3,8 @@ * Checks that all PHP keywords are lowercase. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/PHP/LowerCaseTypeSniff.php b/src/Standards/Generic/Sniffs/PHP/LowerCaseTypeSniff.php index b8c71112f5..56734d5dcd 100644 --- a/src/Standards/Generic/Sniffs/PHP/LowerCaseTypeSniff.php +++ b/src/Standards/Generic/Sniffs/PHP/LowerCaseTypeSniff.php @@ -3,7 +3,8 @@ * Checks that all PHP types are lowercase. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/PHP/NoSilencedErrorsSniff.php b/src/Standards/Generic/Sniffs/PHP/NoSilencedErrorsSniff.php index 61367ded6f..e24a94633b 100644 --- a/src/Standards/Generic/Sniffs/PHP/NoSilencedErrorsSniff.php +++ b/src/Standards/Generic/Sniffs/PHP/NoSilencedErrorsSniff.php @@ -10,7 +10,8 @@ * * * @author Andy Brockhurst - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/PHP/RequireStrictTypesSniff.php b/src/Standards/Generic/Sniffs/PHP/RequireStrictTypesSniff.php index aac9bad50a..85f2061b58 100644 --- a/src/Standards/Generic/Sniffs/PHP/RequireStrictTypesSniff.php +++ b/src/Standards/Generic/Sniffs/PHP/RequireStrictTypesSniff.php @@ -3,7 +3,8 @@ * Checks that the strict_types has been declared. * * @author Sertan Danis - * @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/PHP/SAPIUsageSniff.php b/src/Standards/Generic/Sniffs/PHP/SAPIUsageSniff.php index 3cfe471c30..dc6bc9ce4c 100644 --- a/src/Standards/Generic/Sniffs/PHP/SAPIUsageSniff.php +++ b/src/Standards/Generic/Sniffs/PHP/SAPIUsageSniff.php @@ -3,7 +3,8 @@ * Ensures the PHP_SAPI constant is used instead of php_sapi_name(). * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/PHP/SyntaxSniff.php b/src/Standards/Generic/Sniffs/PHP/SyntaxSniff.php index f72bb56fdc..bfe2d26fd7 100644 --- a/src/Standards/Generic/Sniffs/PHP/SyntaxSniff.php +++ b/src/Standards/Generic/Sniffs/PHP/SyntaxSniff.php @@ -4,7 +4,8 @@ * * @author Greg Sherwood * @author Blaine Schmeisser - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/PHP/UpperCaseConstantSniff.php b/src/Standards/Generic/Sniffs/PHP/UpperCaseConstantSniff.php index c81e592334..cb258b6b99 100644 --- a/src/Standards/Generic/Sniffs/PHP/UpperCaseConstantSniff.php +++ b/src/Standards/Generic/Sniffs/PHP/UpperCaseConstantSniff.php @@ -3,7 +3,8 @@ * Checks that all uses of TRUE, FALSE and NULL are uppercase. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/Strings/UnnecessaryStringConcatSniff.php b/src/Standards/Generic/Sniffs/Strings/UnnecessaryStringConcatSniff.php index f4a6221540..0ee4652b18 100644 --- a/src/Standards/Generic/Sniffs/Strings/UnnecessaryStringConcatSniff.php +++ b/src/Standards/Generic/Sniffs/Strings/UnnecessaryStringConcatSniff.php @@ -3,7 +3,8 @@ * Checks that two strings are not concatenated together; suggests using one string instead. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/VersionControl/GitMergeConflictSniff.php b/src/Standards/Generic/Sniffs/VersionControl/GitMergeConflictSniff.php index 72e648c09d..342eea8fa0 100644 --- a/src/Standards/Generic/Sniffs/VersionControl/GitMergeConflictSniff.php +++ b/src/Standards/Generic/Sniffs/VersionControl/GitMergeConflictSniff.php @@ -4,6 +4,7 @@ * * @author Juliette Reinders Folmer * @copyright 2017 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/VersionControl/SubversionPropertiesSniff.php b/src/Standards/Generic/Sniffs/VersionControl/SubversionPropertiesSniff.php index f0586e03d1..e35c9c9438 100644 --- a/src/Standards/Generic/Sniffs/VersionControl/SubversionPropertiesSniff.php +++ b/src/Standards/Generic/Sniffs/VersionControl/SubversionPropertiesSniff.php @@ -3,7 +3,8 @@ * Tests that the correct Subversion properties are set. * * @author Jack Bates - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/WhiteSpace/ArbitraryParenthesesSpacingSniff.php b/src/Standards/Generic/Sniffs/WhiteSpace/ArbitraryParenthesesSpacingSniff.php index 510316f04c..c1f2f91125 100644 --- a/src/Standards/Generic/Sniffs/WhiteSpace/ArbitraryParenthesesSpacingSniff.php +++ b/src/Standards/Generic/Sniffs/WhiteSpace/ArbitraryParenthesesSpacingSniff.php @@ -7,6 +7,7 @@ * * @author Juliette Reinders Folmer * @copyright 2017 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/WhiteSpace/DisallowSpaceIndentSniff.php b/src/Standards/Generic/Sniffs/WhiteSpace/DisallowSpaceIndentSniff.php index e8180151a9..7f0d4fd4c2 100644 --- a/src/Standards/Generic/Sniffs/WhiteSpace/DisallowSpaceIndentSniff.php +++ b/src/Standards/Generic/Sniffs/WhiteSpace/DisallowSpaceIndentSniff.php @@ -3,7 +3,8 @@ * Throws errors if spaces are used for indentation other than precision indentation. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/WhiteSpace/DisallowTabIndentSniff.php b/src/Standards/Generic/Sniffs/WhiteSpace/DisallowTabIndentSniff.php index 03d8a4d9a8..8846b98008 100644 --- a/src/Standards/Generic/Sniffs/WhiteSpace/DisallowTabIndentSniff.php +++ b/src/Standards/Generic/Sniffs/WhiteSpace/DisallowTabIndentSniff.php @@ -3,7 +3,8 @@ * Throws errors if tabs are used for indentation. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/WhiteSpace/GotoTargetSpacingSniff.php b/src/Standards/Generic/Sniffs/WhiteSpace/GotoTargetSpacingSniff.php index ad5bf3ba4e..48f72f74e9 100644 --- a/src/Standards/Generic/Sniffs/WhiteSpace/GotoTargetSpacingSniff.php +++ b/src/Standards/Generic/Sniffs/WhiteSpace/GotoTargetSpacingSniff.php @@ -2,7 +2,6 @@ /** * Ensures there is no space between the label for a goto target and the colon following it. * - * @author Juliette Reinders Folmer * @copyright 2025 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/WhiteSpace/IncrementDecrementSpacingSniff.php b/src/Standards/Generic/Sniffs/WhiteSpace/IncrementDecrementSpacingSniff.php index b8d4da8a13..1ab3926320 100644 --- a/src/Standards/Generic/Sniffs/WhiteSpace/IncrementDecrementSpacingSniff.php +++ b/src/Standards/Generic/Sniffs/WhiteSpace/IncrementDecrementSpacingSniff.php @@ -4,6 +4,7 @@ * * @author Juliette Reinders Folmer * @copyright 2018 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/WhiteSpace/LanguageConstructSpacingSniff.php b/src/Standards/Generic/Sniffs/WhiteSpace/LanguageConstructSpacingSniff.php index 2073745b72..42fd6573ab 100644 --- a/src/Standards/Generic/Sniffs/WhiteSpace/LanguageConstructSpacingSniff.php +++ b/src/Standards/Generic/Sniffs/WhiteSpace/LanguageConstructSpacingSniff.php @@ -3,7 +3,8 @@ * Ensures all language constructs contain a single space between themselves and their content. * * @author Greg Sherwood - * @copyright 2006-2017 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php b/src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php index 5ea437a3a4..d887a83d72 100644 --- a/src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php +++ b/src/Standards/Generic/Sniffs/WhiteSpace/ScopeIndentSniff.php @@ -3,7 +3,8 @@ * Checks that control structures are defined and indented correctly. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Sniffs/WhiteSpace/SpreadOperatorSpacingAfterSniff.php b/src/Standards/Generic/Sniffs/WhiteSpace/SpreadOperatorSpacingAfterSniff.php index 5f7a53202e..fbff680ceb 100644 --- a/src/Standards/Generic/Sniffs/WhiteSpace/SpreadOperatorSpacingAfterSniff.php +++ b/src/Standards/Generic/Sniffs/WhiteSpace/SpreadOperatorSpacingAfterSniff.php @@ -4,6 +4,7 @@ * * @author Juliette Reinders Folmer * @copyright 2019 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Arrays/ArrayIndentUnitTest.php b/src/Standards/Generic/Tests/Arrays/ArrayIndentUnitTest.php index 4ad5b24397..71875d8102 100644 --- a/src/Standards/Generic/Tests/Arrays/ArrayIndentUnitTest.php +++ b/src/Standards/Generic/Tests/Arrays/ArrayIndentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ArrayIndent sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Arrays/DisallowLongArraySyntaxUnitTest.php b/src/Standards/Generic/Tests/Arrays/DisallowLongArraySyntaxUnitTest.php index 7f95d317ff..e7337cfe46 100644 --- a/src/Standards/Generic/Tests/Arrays/DisallowLongArraySyntaxUnitTest.php +++ b/src/Standards/Generic/Tests/Arrays/DisallowLongArraySyntaxUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the DisallowLongArraySyntax sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Arrays/DisallowShortArraySyntaxUnitTest.php b/src/Standards/Generic/Tests/Arrays/DisallowShortArraySyntaxUnitTest.php index daede81c46..bcd4379d4b 100644 --- a/src/Standards/Generic/Tests/Arrays/DisallowShortArraySyntaxUnitTest.php +++ b/src/Standards/Generic/Tests/Arrays/DisallowShortArraySyntaxUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the DisallowShortArraySyntax sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Classes/DuplicateClassNameUnitTest.php b/src/Standards/Generic/Tests/Classes/DuplicateClassNameUnitTest.php index 62975c43fc..4e3e4e0324 100644 --- a/src/Standards/Generic/Tests/Classes/DuplicateClassNameUnitTest.php +++ b/src/Standards/Generic/Tests/Classes/DuplicateClassNameUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the DuplicateClassName sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Classes/OpeningBraceSameLineUnitTest.php b/src/Standards/Generic/Tests/Classes/OpeningBraceSameLineUnitTest.php index 1669cb868e..27a1358204 100644 --- a/src/Standards/Generic/Tests/Classes/OpeningBraceSameLineUnitTest.php +++ b/src/Standards/Generic/Tests/Classes/OpeningBraceSameLineUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the OpeningBraceSameLine sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/CodeAnalysis/AssignmentInConditionUnitTest.php b/src/Standards/Generic/Tests/CodeAnalysis/AssignmentInConditionUnitTest.php index efeee030d3..1000f06999 100644 --- a/src/Standards/Generic/Tests/CodeAnalysis/AssignmentInConditionUnitTest.php +++ b/src/Standards/Generic/Tests/CodeAnalysis/AssignmentInConditionUnitTest.php @@ -4,6 +4,7 @@ * * @author Juliette Reinders Folmer * @copyright 2017 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/CodeAnalysis/EmptyPHPStatementUnitTest.php b/src/Standards/Generic/Tests/CodeAnalysis/EmptyPHPStatementUnitTest.php index c560fedaef..8b6b7883dc 100644 --- a/src/Standards/Generic/Tests/CodeAnalysis/EmptyPHPStatementUnitTest.php +++ b/src/Standards/Generic/Tests/CodeAnalysis/EmptyPHPStatementUnitTest.php @@ -4,6 +4,7 @@ * * @author Juliette Reinders Folmer * @copyright 2017 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/CodeAnalysis/EmptyStatementUnitTest.php b/src/Standards/Generic/Tests/CodeAnalysis/EmptyStatementUnitTest.php index 865fbad7da..a1f09acbcf 100644 --- a/src/Standards/Generic/Tests/CodeAnalysis/EmptyStatementUnitTest.php +++ b/src/Standards/Generic/Tests/CodeAnalysis/EmptyStatementUnitTest.php @@ -4,6 +4,7 @@ * * @author Manuel Pichler * @copyright 2007-2014 Manuel Pichler. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/CodeAnalysis/ForLoopShouldBeWhileLoopUnitTest.php b/src/Standards/Generic/Tests/CodeAnalysis/ForLoopShouldBeWhileLoopUnitTest.php index f58d7dc0e6..cf4291b03b 100644 --- a/src/Standards/Generic/Tests/CodeAnalysis/ForLoopShouldBeWhileLoopUnitTest.php +++ b/src/Standards/Generic/Tests/CodeAnalysis/ForLoopShouldBeWhileLoopUnitTest.php @@ -4,6 +4,7 @@ * * @author Manuel Pichler * @copyright 2007-2014 Manuel Pichler. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/CodeAnalysis/ForLoopWithTestFunctionCallUnitTest.php b/src/Standards/Generic/Tests/CodeAnalysis/ForLoopWithTestFunctionCallUnitTest.php index d06a53176e..da0f7fa91e 100644 --- a/src/Standards/Generic/Tests/CodeAnalysis/ForLoopWithTestFunctionCallUnitTest.php +++ b/src/Standards/Generic/Tests/CodeAnalysis/ForLoopWithTestFunctionCallUnitTest.php @@ -4,6 +4,7 @@ * * @author Manuel Pichler * @copyright 2007-2014 Manuel Pichler. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/CodeAnalysis/JumbledIncrementerUnitTest.php b/src/Standards/Generic/Tests/CodeAnalysis/JumbledIncrementerUnitTest.php index e0dbdc2086..8ef1dbf589 100644 --- a/src/Standards/Generic/Tests/CodeAnalysis/JumbledIncrementerUnitTest.php +++ b/src/Standards/Generic/Tests/CodeAnalysis/JumbledIncrementerUnitTest.php @@ -4,6 +4,7 @@ * * @author Manuel Pichler * @copyright 2007-2014 Manuel Pichler. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/CodeAnalysis/RequireExplicitBooleanOperatorPrecedenceUnitTest.php b/src/Standards/Generic/Tests/CodeAnalysis/RequireExplicitBooleanOperatorPrecedenceUnitTest.php index 46957296b7..3613bae9f6 100644 --- a/src/Standards/Generic/Tests/CodeAnalysis/RequireExplicitBooleanOperatorPrecedenceUnitTest.php +++ b/src/Standards/Generic/Tests/CodeAnalysis/RequireExplicitBooleanOperatorPrecedenceUnitTest.php @@ -4,7 +4,7 @@ * * @author Tim Duesterhus * @copyright 2021-2023 WoltLab GmbH. - * @copyright 2024 PHPCSStandards and contributors + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/CodeAnalysis/UnconditionalIfStatementUnitTest.php b/src/Standards/Generic/Tests/CodeAnalysis/UnconditionalIfStatementUnitTest.php index 92c9ea31b3..37e0f146f7 100644 --- a/src/Standards/Generic/Tests/CodeAnalysis/UnconditionalIfStatementUnitTest.php +++ b/src/Standards/Generic/Tests/CodeAnalysis/UnconditionalIfStatementUnitTest.php @@ -4,6 +4,7 @@ * * @author Manuel Pichler * @copyright 2007-2014 Manuel Pichler. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/CodeAnalysis/UnnecessaryFinalModifierUnitTest.php b/src/Standards/Generic/Tests/CodeAnalysis/UnnecessaryFinalModifierUnitTest.php index 2a586aae53..eda3c50c45 100644 --- a/src/Standards/Generic/Tests/CodeAnalysis/UnnecessaryFinalModifierUnitTest.php +++ b/src/Standards/Generic/Tests/CodeAnalysis/UnnecessaryFinalModifierUnitTest.php @@ -4,6 +4,7 @@ * * @author Manuel Pichler * @copyright 2007-2014 Manuel Pichler. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/CodeAnalysis/UnusedFunctionParameterUnitTest.php b/src/Standards/Generic/Tests/CodeAnalysis/UnusedFunctionParameterUnitTest.php index e5212a21bb..07be2f7292 100644 --- a/src/Standards/Generic/Tests/CodeAnalysis/UnusedFunctionParameterUnitTest.php +++ b/src/Standards/Generic/Tests/CodeAnalysis/UnusedFunctionParameterUnitTest.php @@ -4,6 +4,7 @@ * * @author Manuel Pichler * @copyright 2007-2014 Manuel Pichler. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/CodeAnalysis/UselessOverridingMethodUnitTest.php b/src/Standards/Generic/Tests/CodeAnalysis/UselessOverridingMethodUnitTest.php index 908995a1b6..94d54a4ccc 100644 --- a/src/Standards/Generic/Tests/CodeAnalysis/UselessOverridingMethodUnitTest.php +++ b/src/Standards/Generic/Tests/CodeAnalysis/UselessOverridingMethodUnitTest.php @@ -4,6 +4,7 @@ * * @author Manuel Pichler * @copyright 2007-2014 Manuel Pichler. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Commenting/DocCommentUnitTest.php b/src/Standards/Generic/Tests/Commenting/DocCommentUnitTest.php index b988f9eb49..937a5a49c1 100644 --- a/src/Standards/Generic/Tests/Commenting/DocCommentUnitTest.php +++ b/src/Standards/Generic/Tests/Commenting/DocCommentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the DocCommentSniff sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Commenting/FixmeUnitTest.php b/src/Standards/Generic/Tests/Commenting/FixmeUnitTest.php index 33b4bb992e..f631c966be 100644 --- a/src/Standards/Generic/Tests/Commenting/FixmeUnitTest.php +++ b/src/Standards/Generic/Tests/Commenting/FixmeUnitTest.php @@ -4,7 +4,8 @@ * * @author Greg Sherwood * @author Sam Graham - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Commenting/TodoUnitTest.php b/src/Standards/Generic/Tests/Commenting/TodoUnitTest.php index e80ce6cdb5..b96dea3b9c 100644 --- a/src/Standards/Generic/Tests/Commenting/TodoUnitTest.php +++ b/src/Standards/Generic/Tests/Commenting/TodoUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the Todo sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/ControlStructures/DisallowYodaConditionsUnitTest.php b/src/Standards/Generic/Tests/ControlStructures/DisallowYodaConditionsUnitTest.php index f29165b584..88a2e64a34 100644 --- a/src/Standards/Generic/Tests/ControlStructures/DisallowYodaConditionsUnitTest.php +++ b/src/Standards/Generic/Tests/ControlStructures/DisallowYodaConditionsUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the DisallowYodaConditions sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/ControlStructures/InlineControlStructureUnitTest.php b/src/Standards/Generic/Tests/ControlStructures/InlineControlStructureUnitTest.php index cad6395b0d..714fb923eb 100644 --- a/src/Standards/Generic/Tests/ControlStructures/InlineControlStructureUnitTest.php +++ b/src/Standards/Generic/Tests/ControlStructures/InlineControlStructureUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the InlineControlStructure sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Files/ByteOrderMarkUnitTest.php b/src/Standards/Generic/Tests/Files/ByteOrderMarkUnitTest.php index d1d8231292..510161ec4a 100644 --- a/src/Standards/Generic/Tests/Files/ByteOrderMarkUnitTest.php +++ b/src/Standards/Generic/Tests/Files/ByteOrderMarkUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ByteOrderMark sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.php b/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.php index 27d0c227eb..2fab2c0dee 100644 --- a/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.php +++ b/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the EndFileNewline sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.php b/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.php index 2574b7dc69..9d496eb441 100644 --- a/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.php +++ b/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the EndFileNoNewline sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Files/ExecutableFileUnitTest.php b/src/Standards/Generic/Tests/Files/ExecutableFileUnitTest.php index 238014793b..3505471f60 100644 --- a/src/Standards/Generic/Tests/Files/ExecutableFileUnitTest.php +++ b/src/Standards/Generic/Tests/Files/ExecutableFileUnitTest.php @@ -4,6 +4,7 @@ * * @author Matthew Peveler * @copyright 2019 Matthew Peveler + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Files/InlineHTMLUnitTest.php b/src/Standards/Generic/Tests/Files/InlineHTMLUnitTest.php index 80f8bbb2d4..f1f7c8f6a8 100644 --- a/src/Standards/Generic/Tests/Files/InlineHTMLUnitTest.php +++ b/src/Standards/Generic/Tests/Files/InlineHTMLUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the InlineHTML sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Files/LineEndingsUnitTest.php b/src/Standards/Generic/Tests/Files/LineEndingsUnitTest.php index 25af5a6989..e70c1520e9 100644 --- a/src/Standards/Generic/Tests/Files/LineEndingsUnitTest.php +++ b/src/Standards/Generic/Tests/Files/LineEndingsUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the LineEndings sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Files/LineLengthUnitTest.php b/src/Standards/Generic/Tests/Files/LineLengthUnitTest.php index ebe1fa6d9e..c52defea74 100644 --- a/src/Standards/Generic/Tests/Files/LineLengthUnitTest.php +++ b/src/Standards/Generic/Tests/Files/LineLengthUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the LineLength sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Files/LowercasedFilenameUnitTest.php b/src/Standards/Generic/Tests/Files/LowercasedFilenameUnitTest.php index 64bd754d9d..7d34b358ec 100644 --- a/src/Standards/Generic/Tests/Files/LowercasedFilenameUnitTest.php +++ b/src/Standards/Generic/Tests/Files/LowercasedFilenameUnitTest.php @@ -4,6 +4,7 @@ * * @author Andy Grunwald * @copyright 2010-2014 Andy Grunwald + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Files/OneClassPerFileUnitTest.php b/src/Standards/Generic/Tests/Files/OneClassPerFileUnitTest.php index a1c5535ca7..ce2601d211 100644 --- a/src/Standards/Generic/Tests/Files/OneClassPerFileUnitTest.php +++ b/src/Standards/Generic/Tests/Files/OneClassPerFileUnitTest.php @@ -4,6 +4,7 @@ * * @author Andy Grunwald * @copyright 2010-2014 Andy Grunwald + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Files/OneInterfacePerFileUnitTest.php b/src/Standards/Generic/Tests/Files/OneInterfacePerFileUnitTest.php index 126dd532cc..d984821179 100644 --- a/src/Standards/Generic/Tests/Files/OneInterfacePerFileUnitTest.php +++ b/src/Standards/Generic/Tests/Files/OneInterfacePerFileUnitTest.php @@ -4,6 +4,7 @@ * * @author Andy Grunwald * @copyright 2010-2014 Andy Grunwald + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Files/OneObjectStructurePerFileUnitTest.php b/src/Standards/Generic/Tests/Files/OneObjectStructurePerFileUnitTest.php index b45063f447..11f0fb2095 100644 --- a/src/Standards/Generic/Tests/Files/OneObjectStructurePerFileUnitTest.php +++ b/src/Standards/Generic/Tests/Files/OneObjectStructurePerFileUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the OneObjectStructurePerFile sniff. * * @author Mponos George - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Files/OneTraitPerFileUnitTest.php b/src/Standards/Generic/Tests/Files/OneTraitPerFileUnitTest.php index b85edee488..d7f549a427 100644 --- a/src/Standards/Generic/Tests/Files/OneTraitPerFileUnitTest.php +++ b/src/Standards/Generic/Tests/Files/OneTraitPerFileUnitTest.php @@ -4,6 +4,7 @@ * * @author Alexander Obuhovich * @copyright 2010-2014 Alexander Obuhovich + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Formatting/DisallowMultipleStatementsUnitTest.php b/src/Standards/Generic/Tests/Formatting/DisallowMultipleStatementsUnitTest.php index 03fec8dac7..9a0f2acca9 100644 --- a/src/Standards/Generic/Tests/Formatting/DisallowMultipleStatementsUnitTest.php +++ b/src/Standards/Generic/Tests/Formatting/DisallowMultipleStatementsUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the DisallowMultipleStatements sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Formatting/MultipleStatementAlignmentUnitTest.php b/src/Standards/Generic/Tests/Formatting/MultipleStatementAlignmentUnitTest.php index f935ecee1d..5fd1edad5a 100644 --- a/src/Standards/Generic/Tests/Formatting/MultipleStatementAlignmentUnitTest.php +++ b/src/Standards/Generic/Tests/Formatting/MultipleStatementAlignmentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the MultipleStatementAlignment sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Formatting/SpaceAfterCastUnitTest.php b/src/Standards/Generic/Tests/Formatting/SpaceAfterCastUnitTest.php index ee883bc513..853826ca20 100644 --- a/src/Standards/Generic/Tests/Formatting/SpaceAfterCastUnitTest.php +++ b/src/Standards/Generic/Tests/Formatting/SpaceAfterCastUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the SpaceAfterCast sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Formatting/SpaceAfterNotUnitTest.php b/src/Standards/Generic/Tests/Formatting/SpaceAfterNotUnitTest.php index cb47dbad79..4cf016e5b3 100644 --- a/src/Standards/Generic/Tests/Formatting/SpaceAfterNotUnitTest.php +++ b/src/Standards/Generic/Tests/Formatting/SpaceAfterNotUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the SpaceAfterNot sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Formatting/SpaceBeforeCastUnitTest.php b/src/Standards/Generic/Tests/Formatting/SpaceBeforeCastUnitTest.php index bb1e603e98..dcf4e783f4 100644 --- a/src/Standards/Generic/Tests/Formatting/SpaceBeforeCastUnitTest.php +++ b/src/Standards/Generic/Tests/Formatting/SpaceBeforeCastUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the SpaceBeforeCast sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Functions/FunctionCallArgumentSpacingUnitTest.php b/src/Standards/Generic/Tests/Functions/FunctionCallArgumentSpacingUnitTest.php index 57daabd0f4..70872521a1 100644 --- a/src/Standards/Generic/Tests/Functions/FunctionCallArgumentSpacingUnitTest.php +++ b/src/Standards/Generic/Tests/Functions/FunctionCallArgumentSpacingUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the FunctionCallArgumentSpacing sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Functions/OpeningFunctionBraceBsdAllmanUnitTest.php b/src/Standards/Generic/Tests/Functions/OpeningFunctionBraceBsdAllmanUnitTest.php index 1e2b5d83e9..ea15bf55d1 100644 --- a/src/Standards/Generic/Tests/Functions/OpeningFunctionBraceBsdAllmanUnitTest.php +++ b/src/Standards/Generic/Tests/Functions/OpeningFunctionBraceBsdAllmanUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the OpeningFunctionBraceBsdAllman sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Functions/OpeningFunctionBraceKernighanRitchieUnitTest.php b/src/Standards/Generic/Tests/Functions/OpeningFunctionBraceKernighanRitchieUnitTest.php index 103fc2a4a1..ea29d41801 100644 --- a/src/Standards/Generic/Tests/Functions/OpeningFunctionBraceKernighanRitchieUnitTest.php +++ b/src/Standards/Generic/Tests/Functions/OpeningFunctionBraceKernighanRitchieUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the OpeningFunctionBraceKernighanRitchie sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Metrics/CyclomaticComplexityUnitTest.php b/src/Standards/Generic/Tests/Metrics/CyclomaticComplexityUnitTest.php index 5470b93736..e75cc7fafc 100644 --- a/src/Standards/Generic/Tests/Metrics/CyclomaticComplexityUnitTest.php +++ b/src/Standards/Generic/Tests/Metrics/CyclomaticComplexityUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the CyclomaticComplexity sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Metrics/NestingLevelUnitTest.php b/src/Standards/Generic/Tests/Metrics/NestingLevelUnitTest.php index cf21811555..c7f674728c 100644 --- a/src/Standards/Generic/Tests/Metrics/NestingLevelUnitTest.php +++ b/src/Standards/Generic/Tests/Metrics/NestingLevelUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the NestingLevel sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/NamingConventions/CamelCapsFunctionNameUnitTest.php b/src/Standards/Generic/Tests/NamingConventions/CamelCapsFunctionNameUnitTest.php index 974d40ca2c..9f409ede61 100644 --- a/src/Standards/Generic/Tests/NamingConventions/CamelCapsFunctionNameUnitTest.php +++ b/src/Standards/Generic/Tests/NamingConventions/CamelCapsFunctionNameUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the CamelCapsFunctionName sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/NamingConventions/ConstructorNameUnitTest.php b/src/Standards/Generic/Tests/NamingConventions/ConstructorNameUnitTest.php index bcd3e8d018..756af536aa 100644 --- a/src/Standards/Generic/Tests/NamingConventions/ConstructorNameUnitTest.php +++ b/src/Standards/Generic/Tests/NamingConventions/ConstructorNameUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ConstructorName sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/NamingConventions/UpperCaseConstantNameUnitTest.php b/src/Standards/Generic/Tests/NamingConventions/UpperCaseConstantNameUnitTest.php index 95442d5768..0c663f51da 100644 --- a/src/Standards/Generic/Tests/NamingConventions/UpperCaseConstantNameUnitTest.php +++ b/src/Standards/Generic/Tests/NamingConventions/UpperCaseConstantNameUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ValidConstantName sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/PHP/BacktickOperatorUnitTest.php b/src/Standards/Generic/Tests/PHP/BacktickOperatorUnitTest.php index bf867f1065..8b1df0c19f 100644 --- a/src/Standards/Generic/Tests/PHP/BacktickOperatorUnitTest.php +++ b/src/Standards/Generic/Tests/PHP/BacktickOperatorUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the BacktickOperator sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/PHP/CharacterBeforePHPOpeningTagUnitTest.php b/src/Standards/Generic/Tests/PHP/CharacterBeforePHPOpeningTagUnitTest.php index 042354fda7..80e517f593 100644 --- a/src/Standards/Generic/Tests/PHP/CharacterBeforePHPOpeningTagUnitTest.php +++ b/src/Standards/Generic/Tests/PHP/CharacterBeforePHPOpeningTagUnitTest.php @@ -4,6 +4,7 @@ * * @author Andy Grunwald * @copyright 2010-2014 Andy Grunwald + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/PHP/ClosingPHPTagUnitTest.php b/src/Standards/Generic/Tests/PHP/ClosingPHPTagUnitTest.php index fba96c8cd3..576be3b177 100644 --- a/src/Standards/Generic/Tests/PHP/ClosingPHPTagUnitTest.php +++ b/src/Standards/Generic/Tests/PHP/ClosingPHPTagUnitTest.php @@ -4,6 +4,7 @@ * * @author Andy Grunwald * @copyright 2010-2014 Andy Grunwald + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/PHP/DeprecatedFunctionsUnitTest.php b/src/Standards/Generic/Tests/PHP/DeprecatedFunctionsUnitTest.php index ed82d0e8ef..21f01e2a53 100644 --- a/src/Standards/Generic/Tests/PHP/DeprecatedFunctionsUnitTest.php +++ b/src/Standards/Generic/Tests/PHP/DeprecatedFunctionsUnitTest.php @@ -4,6 +4,7 @@ * * @author Juliette Reinders Folmer * @copyright 2019 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/PHP/DisallowAlternativePHPTagsUnitTest.php b/src/Standards/Generic/Tests/PHP/DisallowAlternativePHPTagsUnitTest.php index 9a624adc02..e44826da83 100644 --- a/src/Standards/Generic/Tests/PHP/DisallowAlternativePHPTagsUnitTest.php +++ b/src/Standards/Generic/Tests/PHP/DisallowAlternativePHPTagsUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the DisallowAlternativePHPTags sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/PHP/DisallowRequestSuperglobalUnitTest.php b/src/Standards/Generic/Tests/PHP/DisallowRequestSuperglobalUnitTest.php index 4b71463a51..6580416807 100644 --- a/src/Standards/Generic/Tests/PHP/DisallowRequestSuperglobalUnitTest.php +++ b/src/Standards/Generic/Tests/PHP/DisallowRequestSuperglobalUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the DisallowRequestSuperglobal sniff. * * @author Jeantwan Teuma - * @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/PHP/DisallowShortOpenTagUnitTest.php b/src/Standards/Generic/Tests/PHP/DisallowShortOpenTagUnitTest.php index c989a82761..e023b98849 100644 --- a/src/Standards/Generic/Tests/PHP/DisallowShortOpenTagUnitTest.php +++ b/src/Standards/Generic/Tests/PHP/DisallowShortOpenTagUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the DisallowShortOpenTag sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/PHP/DiscourageGotoUnitTest.php b/src/Standards/Generic/Tests/PHP/DiscourageGotoUnitTest.php index 3b6c7c1ae8..ca0f31624f 100644 --- a/src/Standards/Generic/Tests/PHP/DiscourageGotoUnitTest.php +++ b/src/Standards/Generic/Tests/PHP/DiscourageGotoUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the DiscourageGoto sniff. * * @author Greg Sherwood - * @copyright 2006-2017 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/PHP/ForbiddenFunctionsUnitTest.php b/src/Standards/Generic/Tests/PHP/ForbiddenFunctionsUnitTest.php index 941e08abc1..6a4dcd53a6 100644 --- a/src/Standards/Generic/Tests/PHP/ForbiddenFunctionsUnitTest.php +++ b/src/Standards/Generic/Tests/PHP/ForbiddenFunctionsUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ForbiddenFunctions sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.php b/src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.php index ffc431019a..0f42cbecca 100644 --- a/src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.php +++ b/src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the LowerCaseConstant sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/PHP/LowerCaseKeywordUnitTest.php b/src/Standards/Generic/Tests/PHP/LowerCaseKeywordUnitTest.php index 525a6c7a29..9977512ac9 100644 --- a/src/Standards/Generic/Tests/PHP/LowerCaseKeywordUnitTest.php +++ b/src/Standards/Generic/Tests/PHP/LowerCaseKeywordUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the LowerCaseKeyword sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/PHP/LowerCaseTypeUnitTest.php b/src/Standards/Generic/Tests/PHP/LowerCaseTypeUnitTest.php index 0b9eb9ff64..9c7705945d 100644 --- a/src/Standards/Generic/Tests/PHP/LowerCaseTypeUnitTest.php +++ b/src/Standards/Generic/Tests/PHP/LowerCaseTypeUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the LowerCaseType sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/PHP/NoSilencedErrorsUnitTest.php b/src/Standards/Generic/Tests/PHP/NoSilencedErrorsUnitTest.php index 9373842cb2..4d2201116c 100644 --- a/src/Standards/Generic/Tests/PHP/NoSilencedErrorsUnitTest.php +++ b/src/Standards/Generic/Tests/PHP/NoSilencedErrorsUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the NoSilencedErrors sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/PHP/RequireStrictTypesUnitTest.php b/src/Standards/Generic/Tests/PHP/RequireStrictTypesUnitTest.php index f9cf5bb76e..d9518b814b 100644 --- a/src/Standards/Generic/Tests/PHP/RequireStrictTypesUnitTest.php +++ b/src/Standards/Generic/Tests/PHP/RequireStrictTypesUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the RequireStrictType sniff. * * @author Sertan Danis - * @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/PHP/SAPIUsageUnitTest.php b/src/Standards/Generic/Tests/PHP/SAPIUsageUnitTest.php index acae8b46e4..7ee0d59c42 100644 --- a/src/Standards/Generic/Tests/PHP/SAPIUsageUnitTest.php +++ b/src/Standards/Generic/Tests/PHP/SAPIUsageUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the SAPIUsage sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/PHP/SyntaxUnitTest.php b/src/Standards/Generic/Tests/PHP/SyntaxUnitTest.php index 50d1a179b0..5ca73b99d0 100644 --- a/src/Standards/Generic/Tests/PHP/SyntaxUnitTest.php +++ b/src/Standards/Generic/Tests/PHP/SyntaxUnitTest.php @@ -4,7 +4,8 @@ * * @author Greg Sherwood * @author Blaine Schmeisser - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/PHP/UpperCaseConstantUnitTest.php b/src/Standards/Generic/Tests/PHP/UpperCaseConstantUnitTest.php index 22e4145e3e..3b3683c9ac 100644 --- a/src/Standards/Generic/Tests/PHP/UpperCaseConstantUnitTest.php +++ b/src/Standards/Generic/Tests/PHP/UpperCaseConstantUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the UpperCaseConstant sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/Strings/UnnecessaryStringConcatUnitTest.php b/src/Standards/Generic/Tests/Strings/UnnecessaryStringConcatUnitTest.php index e935aa3a90..c2aab2f167 100644 --- a/src/Standards/Generic/Tests/Strings/UnnecessaryStringConcatUnitTest.php +++ b/src/Standards/Generic/Tests/Strings/UnnecessaryStringConcatUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the UnnecessaryStringConcat sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/VersionControl/GitMergeConflictUnitTest.php b/src/Standards/Generic/Tests/VersionControl/GitMergeConflictUnitTest.php index 2538e6fe84..53cd90541d 100644 --- a/src/Standards/Generic/Tests/VersionControl/GitMergeConflictUnitTest.php +++ b/src/Standards/Generic/Tests/VersionControl/GitMergeConflictUnitTest.php @@ -4,6 +4,7 @@ * * @author Juliette Reinders Folmer * @copyright 2017 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/VersionControl/SubversionPropertiesUnitTest.php b/src/Standards/Generic/Tests/VersionControl/SubversionPropertiesUnitTest.php index f8d85a54cc..3810065238 100644 --- a/src/Standards/Generic/Tests/VersionControl/SubversionPropertiesUnitTest.php +++ b/src/Standards/Generic/Tests/VersionControl/SubversionPropertiesUnitTest.php @@ -4,6 +4,7 @@ * * @author Juliette Reinders Folmer * @copyright 2019 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/WhiteSpace/ArbitraryParenthesesSpacingUnitTest.php b/src/Standards/Generic/Tests/WhiteSpace/ArbitraryParenthesesSpacingUnitTest.php index 1199f9264a..2e2522240a 100644 --- a/src/Standards/Generic/Tests/WhiteSpace/ArbitraryParenthesesSpacingUnitTest.php +++ b/src/Standards/Generic/Tests/WhiteSpace/ArbitraryParenthesesSpacingUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ArbitraryParenthesesSpacing sniff. * * @author Greg Sherwood - * @copyright 2006-2017 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/WhiteSpace/DisallowSpaceIndentUnitTest.php b/src/Standards/Generic/Tests/WhiteSpace/DisallowSpaceIndentUnitTest.php index 6310c7947b..42e40ef777 100644 --- a/src/Standards/Generic/Tests/WhiteSpace/DisallowSpaceIndentUnitTest.php +++ b/src/Standards/Generic/Tests/WhiteSpace/DisallowSpaceIndentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the DisallowSpaceIndent sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.php b/src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.php index 3f6620f29c..c8a3cc3417 100644 --- a/src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.php +++ b/src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the DisallowTabIndent sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/WhiteSpace/IncrementDecrementSpacingUnitTest.php b/src/Standards/Generic/Tests/WhiteSpace/IncrementDecrementSpacingUnitTest.php index ff83fccf44..ca10a9cf59 100644 --- a/src/Standards/Generic/Tests/WhiteSpace/IncrementDecrementSpacingUnitTest.php +++ b/src/Standards/Generic/Tests/WhiteSpace/IncrementDecrementSpacingUnitTest.php @@ -4,6 +4,7 @@ * * @author Juliette Reinders Folmer * @copyright 2018 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/WhiteSpace/LanguageConstructSpacingUnitTest.php b/src/Standards/Generic/Tests/WhiteSpace/LanguageConstructSpacingUnitTest.php index cf3123f2c2..b3d17a1ba6 100644 --- a/src/Standards/Generic/Tests/WhiteSpace/LanguageConstructSpacingUnitTest.php +++ b/src/Standards/Generic/Tests/WhiteSpace/LanguageConstructSpacingUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the LanguageConstructSpacing sniff. * * @author Greg Sherwood - * @copyright 2006-2017 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.php b/src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.php index dd1d10b3d5..4dd08cf7a5 100644 --- a/src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.php +++ b/src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ScopeIndent sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Generic/Tests/WhiteSpace/SpreadOperatorSpacingAfterUnitTest.php b/src/Standards/Generic/Tests/WhiteSpace/SpreadOperatorSpacingAfterUnitTest.php index 421f9dfa43..2ef23000ef 100644 --- a/src/Standards/Generic/Tests/WhiteSpace/SpreadOperatorSpacingAfterUnitTest.php +++ b/src/Standards/Generic/Tests/WhiteSpace/SpreadOperatorSpacingAfterUnitTest.php @@ -4,6 +4,7 @@ * * @author Juliette Reinders Folmer * @copyright 2019 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Sniffs/Classes/ClassDeclarationSniff.php b/src/Standards/PEAR/Sniffs/Classes/ClassDeclarationSniff.php index 9944f3d207..531aed8db0 100644 --- a/src/Standards/PEAR/Sniffs/Classes/ClassDeclarationSniff.php +++ b/src/Standards/PEAR/Sniffs/Classes/ClassDeclarationSniff.php @@ -3,7 +3,8 @@ * Checks the declaration of the class is correct. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Sniffs/Commenting/ClassCommentSniff.php b/src/Standards/PEAR/Sniffs/Commenting/ClassCommentSniff.php index bfae5cd641..b1e311ed8a 100644 --- a/src/Standards/PEAR/Sniffs/Commenting/ClassCommentSniff.php +++ b/src/Standards/PEAR/Sniffs/Commenting/ClassCommentSniff.php @@ -3,7 +3,8 @@ * Parses and verifies the doc comments for classes. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php b/src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php index 2093eefde0..c8570266a4 100644 --- a/src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php +++ b/src/Standards/PEAR/Sniffs/Commenting/FileCommentSniff.php @@ -3,7 +3,8 @@ * Parses and verifies the doc comments for files. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php b/src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php index c41a16cd15..9941e84129 100644 --- a/src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php +++ b/src/Standards/PEAR/Sniffs/Commenting/FunctionCommentSniff.php @@ -3,7 +3,8 @@ * Parses and verifies the doc comments for functions. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Sniffs/Commenting/InlineCommentSniff.php b/src/Standards/PEAR/Sniffs/Commenting/InlineCommentSniff.php index cf03e10816..398a9947ea 100644 --- a/src/Standards/PEAR/Sniffs/Commenting/InlineCommentSniff.php +++ b/src/Standards/PEAR/Sniffs/Commenting/InlineCommentSniff.php @@ -3,7 +3,8 @@ * Checks that no Perl-style comments are used. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Sniffs/ControlStructures/ControlSignatureSniff.php b/src/Standards/PEAR/Sniffs/ControlStructures/ControlSignatureSniff.php index a812d5d56e..26b15158f8 100644 --- a/src/Standards/PEAR/Sniffs/ControlStructures/ControlSignatureSniff.php +++ b/src/Standards/PEAR/Sniffs/ControlStructures/ControlSignatureSniff.php @@ -3,7 +3,8 @@ * Verifies that control statements conform to their coding standards. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Sniffs/ControlStructures/MultiLineConditionSniff.php b/src/Standards/PEAR/Sniffs/ControlStructures/MultiLineConditionSniff.php index 3d5182e8e1..2d32db6e12 100644 --- a/src/Standards/PEAR/Sniffs/ControlStructures/MultiLineConditionSniff.php +++ b/src/Standards/PEAR/Sniffs/ControlStructures/MultiLineConditionSniff.php @@ -3,7 +3,8 @@ * Ensure multi-line IF conditions are defined correctly. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Sniffs/Files/IncludingFileSniff.php b/src/Standards/PEAR/Sniffs/Files/IncludingFileSniff.php index 321ccbe569..9ef0176b6a 100644 --- a/src/Standards/PEAR/Sniffs/Files/IncludingFileSniff.php +++ b/src/Standards/PEAR/Sniffs/Files/IncludingFileSniff.php @@ -5,7 +5,8 @@ * Also checks that brackets do not surround the file being included. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Sniffs/Formatting/MultiLineAssignmentSniff.php b/src/Standards/PEAR/Sniffs/Formatting/MultiLineAssignmentSniff.php index 1c8b63b8cb..0b687ec1d5 100644 --- a/src/Standards/PEAR/Sniffs/Formatting/MultiLineAssignmentSniff.php +++ b/src/Standards/PEAR/Sniffs/Formatting/MultiLineAssignmentSniff.php @@ -3,7 +3,8 @@ * If an assignment goes over two lines, ensure the equal sign is indented. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php b/src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php index ff00070d02..782a733aa5 100644 --- a/src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php +++ b/src/Standards/PEAR/Sniffs/Functions/FunctionCallSignatureSniff.php @@ -3,7 +3,8 @@ * Ensures function calls are formatted correctly. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php b/src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php index 1888506756..3b86b52a30 100644 --- a/src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php +++ b/src/Standards/PEAR/Sniffs/Functions/FunctionDeclarationSniff.php @@ -3,7 +3,8 @@ * Ensure single and multi-line function declarations are defined correctly. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Sniffs/Functions/ValidDefaultValueSniff.php b/src/Standards/PEAR/Sniffs/Functions/ValidDefaultValueSniff.php index ec89ea6d91..be055e805a 100644 --- a/src/Standards/PEAR/Sniffs/Functions/ValidDefaultValueSniff.php +++ b/src/Standards/PEAR/Sniffs/Functions/ValidDefaultValueSniff.php @@ -3,7 +3,8 @@ * Ensures function params with default values are at the end of the declaration. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Sniffs/NamingConventions/ValidClassNameSniff.php b/src/Standards/PEAR/Sniffs/NamingConventions/ValidClassNameSniff.php index 75fb443bc6..07915844eb 100644 --- a/src/Standards/PEAR/Sniffs/NamingConventions/ValidClassNameSniff.php +++ b/src/Standards/PEAR/Sniffs/NamingConventions/ValidClassNameSniff.php @@ -3,7 +3,8 @@ * Ensures class and interface names start with a capital letter and use _ separators. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Sniffs/NamingConventions/ValidFunctionNameSniff.php b/src/Standards/PEAR/Sniffs/NamingConventions/ValidFunctionNameSniff.php index bfc04647ca..46445ed11a 100644 --- a/src/Standards/PEAR/Sniffs/NamingConventions/ValidFunctionNameSniff.php +++ b/src/Standards/PEAR/Sniffs/NamingConventions/ValidFunctionNameSniff.php @@ -3,7 +3,8 @@ * Ensures method and function names are correct. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Sniffs/NamingConventions/ValidVariableNameSniff.php b/src/Standards/PEAR/Sniffs/NamingConventions/ValidVariableNameSniff.php index 3568142853..2e53e74167 100644 --- a/src/Standards/PEAR/Sniffs/NamingConventions/ValidVariableNameSniff.php +++ b/src/Standards/PEAR/Sniffs/NamingConventions/ValidVariableNameSniff.php @@ -3,7 +3,8 @@ * Checks the naming of member variables. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Sniffs/WhiteSpace/ObjectOperatorIndentSniff.php b/src/Standards/PEAR/Sniffs/WhiteSpace/ObjectOperatorIndentSniff.php index 96175be739..ef298cdec6 100644 --- a/src/Standards/PEAR/Sniffs/WhiteSpace/ObjectOperatorIndentSniff.php +++ b/src/Standards/PEAR/Sniffs/WhiteSpace/ObjectOperatorIndentSniff.php @@ -3,7 +3,8 @@ * Checks that object operators are indented correctly. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php b/src/Standards/PEAR/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php index ec1f76fdf5..68aaedbf18 100644 --- a/src/Standards/PEAR/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php +++ b/src/Standards/PEAR/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php @@ -3,7 +3,8 @@ * Checks that the closing braces of scopes are aligned correctly. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Sniffs/WhiteSpace/ScopeIndentSniff.php b/src/Standards/PEAR/Sniffs/WhiteSpace/ScopeIndentSniff.php index 4a14bb7065..e0d5e54d5d 100644 --- a/src/Standards/PEAR/Sniffs/WhiteSpace/ScopeIndentSniff.php +++ b/src/Standards/PEAR/Sniffs/WhiteSpace/ScopeIndentSniff.php @@ -3,7 +3,8 @@ * Checks that control structures are structured and indented correctly. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Tests/Classes/ClassDeclarationUnitTest.php b/src/Standards/PEAR/Tests/Classes/ClassDeclarationUnitTest.php index e31e29a921..75fd4ad966 100644 --- a/src/Standards/PEAR/Tests/Classes/ClassDeclarationUnitTest.php +++ b/src/Standards/PEAR/Tests/Classes/ClassDeclarationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ClassDeclaration sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Tests/Commenting/ClassCommentUnitTest.php b/src/Standards/PEAR/Tests/Commenting/ClassCommentUnitTest.php index aab4e5db5f..72e6eb604f 100644 --- a/src/Standards/PEAR/Tests/Commenting/ClassCommentUnitTest.php +++ b/src/Standards/PEAR/Tests/Commenting/ClassCommentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ClassComment sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Tests/Commenting/FileCommentUnitTest.php b/src/Standards/PEAR/Tests/Commenting/FileCommentUnitTest.php index 0651f2bcfb..3a2cfdb800 100644 --- a/src/Standards/PEAR/Tests/Commenting/FileCommentUnitTest.php +++ b/src/Standards/PEAR/Tests/Commenting/FileCommentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the FileComment sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Tests/Commenting/FunctionCommentUnitTest.php b/src/Standards/PEAR/Tests/Commenting/FunctionCommentUnitTest.php index 6394bd2b91..e3f2936812 100644 --- a/src/Standards/PEAR/Tests/Commenting/FunctionCommentUnitTest.php +++ b/src/Standards/PEAR/Tests/Commenting/FunctionCommentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the FunctionComment sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Tests/Commenting/InlineCommentUnitTest.php b/src/Standards/PEAR/Tests/Commenting/InlineCommentUnitTest.php index c9bb396f01..da7370ef5d 100644 --- a/src/Standards/PEAR/Tests/Commenting/InlineCommentUnitTest.php +++ b/src/Standards/PEAR/Tests/Commenting/InlineCommentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the InlineComment sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Tests/ControlStructures/ControlSignatureUnitTest.php b/src/Standards/PEAR/Tests/ControlStructures/ControlSignatureUnitTest.php index 31e70abc33..fe398978b9 100644 --- a/src/Standards/PEAR/Tests/ControlStructures/ControlSignatureUnitTest.php +++ b/src/Standards/PEAR/Tests/ControlStructures/ControlSignatureUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ControlSignature sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Tests/ControlStructures/MultiLineConditionUnitTest.php b/src/Standards/PEAR/Tests/ControlStructures/MultiLineConditionUnitTest.php index cb4c14dcae..87733bd4c8 100644 --- a/src/Standards/PEAR/Tests/ControlStructures/MultiLineConditionUnitTest.php +++ b/src/Standards/PEAR/Tests/ControlStructures/MultiLineConditionUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the MultiLineCondition sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Tests/Files/IncludingFileUnitTest.php b/src/Standards/PEAR/Tests/Files/IncludingFileUnitTest.php index 8e07d1ed3c..b2bd7c30e2 100644 --- a/src/Standards/PEAR/Tests/Files/IncludingFileUnitTest.php +++ b/src/Standards/PEAR/Tests/Files/IncludingFileUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the IncludingFile sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Tests/Formatting/MultiLineAssignmentUnitTest.php b/src/Standards/PEAR/Tests/Formatting/MultiLineAssignmentUnitTest.php index 6a805adea2..25b738183a 100644 --- a/src/Standards/PEAR/Tests/Formatting/MultiLineAssignmentUnitTest.php +++ b/src/Standards/PEAR/Tests/Formatting/MultiLineAssignmentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the MultiLineAssignment sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Tests/Functions/FunctionCallSignatureUnitTest.php b/src/Standards/PEAR/Tests/Functions/FunctionCallSignatureUnitTest.php index 52b4da64d1..023add9b6e 100644 --- a/src/Standards/PEAR/Tests/Functions/FunctionCallSignatureUnitTest.php +++ b/src/Standards/PEAR/Tests/Functions/FunctionCallSignatureUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the FunctionCallSignature sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Tests/Functions/FunctionDeclarationUnitTest.php b/src/Standards/PEAR/Tests/Functions/FunctionDeclarationUnitTest.php index ff245f5f35..0e0a1ea4be 100644 --- a/src/Standards/PEAR/Tests/Functions/FunctionDeclarationUnitTest.php +++ b/src/Standards/PEAR/Tests/Functions/FunctionDeclarationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the FunctionDeclaration sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Tests/Functions/ValidDefaultValueUnitTest.php b/src/Standards/PEAR/Tests/Functions/ValidDefaultValueUnitTest.php index 3445ada802..2eb75ef9d3 100644 --- a/src/Standards/PEAR/Tests/Functions/ValidDefaultValueUnitTest.php +++ b/src/Standards/PEAR/Tests/Functions/ValidDefaultValueUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ValidDefaultValue sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Tests/NamingConventions/ValidClassNameUnitTest.php b/src/Standards/PEAR/Tests/NamingConventions/ValidClassNameUnitTest.php index 4fd5c743c8..7db7ac3f06 100644 --- a/src/Standards/PEAR/Tests/NamingConventions/ValidClassNameUnitTest.php +++ b/src/Standards/PEAR/Tests/NamingConventions/ValidClassNameUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ValidClassName sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Tests/NamingConventions/ValidFunctionNameUnitTest.php b/src/Standards/PEAR/Tests/NamingConventions/ValidFunctionNameUnitTest.php index fe9d37d821..4d9239d07c 100644 --- a/src/Standards/PEAR/Tests/NamingConventions/ValidFunctionNameUnitTest.php +++ b/src/Standards/PEAR/Tests/NamingConventions/ValidFunctionNameUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ValidFunctionName sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Tests/NamingConventions/ValidVariableNameUnitTest.php b/src/Standards/PEAR/Tests/NamingConventions/ValidVariableNameUnitTest.php index bf84412f54..e68843b583 100644 --- a/src/Standards/PEAR/Tests/NamingConventions/ValidVariableNameUnitTest.php +++ b/src/Standards/PEAR/Tests/NamingConventions/ValidVariableNameUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ValidVariableName sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Tests/WhiteSpace/ObjectOperatorIndentUnitTest.php b/src/Standards/PEAR/Tests/WhiteSpace/ObjectOperatorIndentUnitTest.php index 68ac78613f..ed5b7e9418 100644 --- a/src/Standards/PEAR/Tests/WhiteSpace/ObjectOperatorIndentUnitTest.php +++ b/src/Standards/PEAR/Tests/WhiteSpace/ObjectOperatorIndentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ObjectOperatorIndent sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Tests/WhiteSpace/ScopeClosingBraceUnitTest.php b/src/Standards/PEAR/Tests/WhiteSpace/ScopeClosingBraceUnitTest.php index d05282f621..9bdc721419 100644 --- a/src/Standards/PEAR/Tests/WhiteSpace/ScopeClosingBraceUnitTest.php +++ b/src/Standards/PEAR/Tests/WhiteSpace/ScopeClosingBraceUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ScopeClosingBrace sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PEAR/Tests/WhiteSpace/ScopeIndentUnitTest.php b/src/Standards/PEAR/Tests/WhiteSpace/ScopeIndentUnitTest.php index 51c8a20014..5d23eecc4c 100644 --- a/src/Standards/PEAR/Tests/WhiteSpace/ScopeIndentUnitTest.php +++ b/src/Standards/PEAR/Tests/WhiteSpace/ScopeIndentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ScopeIndent sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR1/Sniffs/Classes/ClassDeclarationSniff.php b/src/Standards/PSR1/Sniffs/Classes/ClassDeclarationSniff.php index 8174a500e0..53c09ec934 100644 --- a/src/Standards/PSR1/Sniffs/Classes/ClassDeclarationSniff.php +++ b/src/Standards/PSR1/Sniffs/Classes/ClassDeclarationSniff.php @@ -3,7 +3,8 @@ * Checks the declaration of the class is correct. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR1/Sniffs/Files/SideEffectsSniff.php b/src/Standards/PSR1/Sniffs/Files/SideEffectsSniff.php index 156739c4f7..d67d9fe0eb 100644 --- a/src/Standards/PSR1/Sniffs/Files/SideEffectsSniff.php +++ b/src/Standards/PSR1/Sniffs/Files/SideEffectsSniff.php @@ -3,7 +3,8 @@ * Ensures a file declares new symbols and causes no other side effects, or executes logic with side effects, but not both. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR1/Sniffs/Methods/CamelCapsMethodNameSniff.php b/src/Standards/PSR1/Sniffs/Methods/CamelCapsMethodNameSniff.php index 46d57f21e8..9eb8bc689a 100644 --- a/src/Standards/PSR1/Sniffs/Methods/CamelCapsMethodNameSniff.php +++ b/src/Standards/PSR1/Sniffs/Methods/CamelCapsMethodNameSniff.php @@ -3,7 +3,8 @@ * Ensures method names are defined using camel case. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR1/Tests/Classes/ClassDeclarationUnitTest.php b/src/Standards/PSR1/Tests/Classes/ClassDeclarationUnitTest.php index f620fc752e..a428eccf01 100644 --- a/src/Standards/PSR1/Tests/Classes/ClassDeclarationUnitTest.php +++ b/src/Standards/PSR1/Tests/Classes/ClassDeclarationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ClassDeclaration sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR1/Tests/Files/SideEffectsUnitTest.php b/src/Standards/PSR1/Tests/Files/SideEffectsUnitTest.php index 7c1b51d2d3..66653fb403 100644 --- a/src/Standards/PSR1/Tests/Files/SideEffectsUnitTest.php +++ b/src/Standards/PSR1/Tests/Files/SideEffectsUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the SideEffects sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR1/Tests/Methods/CamelCapsMethodNameUnitTest.php b/src/Standards/PSR1/Tests/Methods/CamelCapsMethodNameUnitTest.php index ac7d903f9a..4c547e1b41 100644 --- a/src/Standards/PSR1/Tests/Methods/CamelCapsMethodNameUnitTest.php +++ b/src/Standards/PSR1/Tests/Methods/CamelCapsMethodNameUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the CamelCapsMethodName sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php b/src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php index e212129c6d..5850b4fe86 100644 --- a/src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php +++ b/src/Standards/PSR12/Sniffs/Classes/AnonClassDeclarationSniff.php @@ -3,7 +3,8 @@ * Checks that the declaration of an anon class is correct. * * @author Greg Sherwood - * @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Sniffs/Classes/ClassInstantiationSniff.php b/src/Standards/PSR12/Sniffs/Classes/ClassInstantiationSniff.php index e492d76176..cf0adcd9b7 100644 --- a/src/Standards/PSR12/Sniffs/Classes/ClassInstantiationSniff.php +++ b/src/Standards/PSR12/Sniffs/Classes/ClassInstantiationSniff.php @@ -3,7 +3,8 @@ * Verifies that classes are instantiated with parentheses. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Sniffs/Classes/ClosingBraceSniff.php b/src/Standards/PSR12/Sniffs/Classes/ClosingBraceSniff.php index 39c76bc627..f3ede1bdba 100644 --- a/src/Standards/PSR12/Sniffs/Classes/ClosingBraceSniff.php +++ b/src/Standards/PSR12/Sniffs/Classes/ClosingBraceSniff.php @@ -3,7 +3,8 @@ * Verifies that closing braces are the last content on a line. * * @author Greg Sherwood - * @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Sniffs/Classes/OpeningBraceSpaceSniff.php b/src/Standards/PSR12/Sniffs/Classes/OpeningBraceSpaceSniff.php index 0a4232629d..d09f201d0c 100644 --- a/src/Standards/PSR12/Sniffs/Classes/OpeningBraceSpaceSniff.php +++ b/src/Standards/PSR12/Sniffs/Classes/OpeningBraceSpaceSniff.php @@ -3,7 +3,8 @@ * Verifies that opening braces are not followed by blank lines. * * @author Greg Sherwood - * @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Sniffs/ControlStructures/BooleanOperatorPlacementSniff.php b/src/Standards/PSR12/Sniffs/ControlStructures/BooleanOperatorPlacementSniff.php index f8e3bf2f11..667738cea6 100644 --- a/src/Standards/PSR12/Sniffs/ControlStructures/BooleanOperatorPlacementSniff.php +++ b/src/Standards/PSR12/Sniffs/ControlStructures/BooleanOperatorPlacementSniff.php @@ -3,7 +3,8 @@ * Checks that control structures have boolean operators in the correct place. * * @author Greg Sherwood - * @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Sniffs/ControlStructures/ControlStructureSpacingSniff.php b/src/Standards/PSR12/Sniffs/ControlStructures/ControlStructureSpacingSniff.php index 2d540bc378..e198ac1061 100644 --- a/src/Standards/PSR12/Sniffs/ControlStructures/ControlStructureSpacingSniff.php +++ b/src/Standards/PSR12/Sniffs/ControlStructures/ControlStructureSpacingSniff.php @@ -3,7 +3,8 @@ * Checks that control structures have the correct spacing. * * @author Greg Sherwood - * @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Sniffs/Files/DeclareStatementSniff.php b/src/Standards/PSR12/Sniffs/Files/DeclareStatementSniff.php index b4dbce36f6..aedfb7dd25 100644 --- a/src/Standards/PSR12/Sniffs/Files/DeclareStatementSniff.php +++ b/src/Standards/PSR12/Sniffs/Files/DeclareStatementSniff.php @@ -3,7 +3,8 @@ * Checks the format of the declare statements. * * @author Sertan Danis - * @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Sniffs/Files/FileHeaderSniff.php b/src/Standards/PSR12/Sniffs/Files/FileHeaderSniff.php index ae37fa02af..3e2f3ece5b 100644 --- a/src/Standards/PSR12/Sniffs/Files/FileHeaderSniff.php +++ b/src/Standards/PSR12/Sniffs/Files/FileHeaderSniff.php @@ -3,7 +3,8 @@ * Checks the format of the file header. * * @author Greg Sherwood - * @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Sniffs/Files/ImportStatementSniff.php b/src/Standards/PSR12/Sniffs/Files/ImportStatementSniff.php index f64026d555..1759d92742 100644 --- a/src/Standards/PSR12/Sniffs/Files/ImportStatementSniff.php +++ b/src/Standards/PSR12/Sniffs/Files/ImportStatementSniff.php @@ -3,7 +3,8 @@ * Verifies that import statements are defined correctly. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Sniffs/Files/OpenTagSniff.php b/src/Standards/PSR12/Sniffs/Files/OpenTagSniff.php index 53eb9fd0ae..b72164a033 100644 --- a/src/Standards/PSR12/Sniffs/Files/OpenTagSniff.php +++ b/src/Standards/PSR12/Sniffs/Files/OpenTagSniff.php @@ -3,7 +3,8 @@ * Checks that the open tag is defined correctly. * * @author Greg Sherwood - * @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Sniffs/Functions/NullableTypeDeclarationSniff.php b/src/Standards/PSR12/Sniffs/Functions/NullableTypeDeclarationSniff.php index cd77e22eef..e5abd7fc0c 100644 --- a/src/Standards/PSR12/Sniffs/Functions/NullableTypeDeclarationSniff.php +++ b/src/Standards/PSR12/Sniffs/Functions/NullableTypeDeclarationSniff.php @@ -3,7 +3,8 @@ * Verifies that nullable typehints are lacking superfluous whitespace, e.g. ?int * * @author Greg Sherwood - * @copyright 2006-2018 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Sniffs/Functions/ReturnTypeDeclarationSniff.php b/src/Standards/PSR12/Sniffs/Functions/ReturnTypeDeclarationSniff.php index 898fc5db76..b0c610edb7 100644 --- a/src/Standards/PSR12/Sniffs/Functions/ReturnTypeDeclarationSniff.php +++ b/src/Standards/PSR12/Sniffs/Functions/ReturnTypeDeclarationSniff.php @@ -3,7 +3,8 @@ * Ensure return types are defined correctly for functions and closures. * * @author Greg Sherwood - * @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Sniffs/Keywords/ShortFormTypeKeywordsSniff.php b/src/Standards/PSR12/Sniffs/Keywords/ShortFormTypeKeywordsSniff.php index 600bbb0ec0..5bc582df21 100644 --- a/src/Standards/PSR12/Sniffs/Keywords/ShortFormTypeKeywordsSniff.php +++ b/src/Standards/PSR12/Sniffs/Keywords/ShortFormTypeKeywordsSniff.php @@ -3,7 +3,8 @@ * Verifies that the short form of type keywords is used (e.g., int, bool). * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Sniffs/Namespaces/CompoundNamespaceDepthSniff.php b/src/Standards/PSR12/Sniffs/Namespaces/CompoundNamespaceDepthSniff.php index 2263ac801b..46ec847467 100644 --- a/src/Standards/PSR12/Sniffs/Namespaces/CompoundNamespaceDepthSniff.php +++ b/src/Standards/PSR12/Sniffs/Namespaces/CompoundNamespaceDepthSniff.php @@ -3,7 +3,8 @@ * Verifies that compound namespaces are not defined too deep. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Sniffs/Operators/OperatorSpacingSniff.php b/src/Standards/PSR12/Sniffs/Operators/OperatorSpacingSniff.php index 093edc426f..824169438a 100644 --- a/src/Standards/PSR12/Sniffs/Operators/OperatorSpacingSniff.php +++ b/src/Standards/PSR12/Sniffs/Operators/OperatorSpacingSniff.php @@ -3,7 +3,8 @@ * Verifies that operators have valid spacing surrounding them. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Sniffs/Properties/ConstantVisibilitySniff.php b/src/Standards/PSR12/Sniffs/Properties/ConstantVisibilitySniff.php index 50de951ddc..c4a5871384 100644 --- a/src/Standards/PSR12/Sniffs/Properties/ConstantVisibilitySniff.php +++ b/src/Standards/PSR12/Sniffs/Properties/ConstantVisibilitySniff.php @@ -3,7 +3,8 @@ * Verifies that all class constants have their visibility set. * * @author Greg Sherwood - * @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php b/src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php index afe060d347..f1fa4a39fe 100644 --- a/src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php +++ b/src/Standards/PSR12/Sniffs/Traits/UseDeclarationSniff.php @@ -3,7 +3,8 @@ * Verifies that trait import statements are defined correctly. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Tests/Classes/AnonClassDeclarationUnitTest.php b/src/Standards/PSR12/Tests/Classes/AnonClassDeclarationUnitTest.php index 601e46fcb7..71fc4203d1 100644 --- a/src/Standards/PSR12/Tests/Classes/AnonClassDeclarationUnitTest.php +++ b/src/Standards/PSR12/Tests/Classes/AnonClassDeclarationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the AnonClassDeclaration sniff. * * @author Greg Sherwood - * @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Tests/Classes/ClassInstantiationUnitTest.php b/src/Standards/PSR12/Tests/Classes/ClassInstantiationUnitTest.php index c81a1cc910..fe8fb5fa60 100644 --- a/src/Standards/PSR12/Tests/Classes/ClassInstantiationUnitTest.php +++ b/src/Standards/PSR12/Tests/Classes/ClassInstantiationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ClassInstantiation sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Tests/Classes/ClosingBraceUnitTest.php b/src/Standards/PSR12/Tests/Classes/ClosingBraceUnitTest.php index 1baf00f31d..ee6da76729 100644 --- a/src/Standards/PSR12/Tests/Classes/ClosingBraceUnitTest.php +++ b/src/Standards/PSR12/Tests/Classes/ClosingBraceUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ClosingBrace sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Tests/Classes/OpeningBraceSpaceUnitTest.php b/src/Standards/PSR12/Tests/Classes/OpeningBraceSpaceUnitTest.php index 37f2516c2c..888f527246 100644 --- a/src/Standards/PSR12/Tests/Classes/OpeningBraceSpaceUnitTest.php +++ b/src/Standards/PSR12/Tests/Classes/OpeningBraceSpaceUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the OpeningBraceSpace sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Tests/ControlStructures/BooleanOperatorPlacementUnitTest.php b/src/Standards/PSR12/Tests/ControlStructures/BooleanOperatorPlacementUnitTest.php index 35551e37c8..185a2c483f 100644 --- a/src/Standards/PSR12/Tests/ControlStructures/BooleanOperatorPlacementUnitTest.php +++ b/src/Standards/PSR12/Tests/ControlStructures/BooleanOperatorPlacementUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the BooleanOperatorPlacement sniff. * * @author Greg Sherwood - * @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Tests/ControlStructures/ControlStructureSpacingUnitTest.php b/src/Standards/PSR12/Tests/ControlStructures/ControlStructureSpacingUnitTest.php index 9d7994fd34..dd89b7f5b8 100644 --- a/src/Standards/PSR12/Tests/ControlStructures/ControlStructureSpacingUnitTest.php +++ b/src/Standards/PSR12/Tests/ControlStructures/ControlStructureSpacingUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ControlStructureSpacing sniff. * * @author Greg Sherwood - * @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Tests/Files/DeclareStatementUnitTest.php b/src/Standards/PSR12/Tests/Files/DeclareStatementUnitTest.php index 2c12048c75..8d7cc8ae5f 100644 --- a/src/Standards/PSR12/Tests/Files/DeclareStatementUnitTest.php +++ b/src/Standards/PSR12/Tests/Files/DeclareStatementUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the DeclareStatement sniff. * * @author Sertan Danis - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.php b/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.php index 869cf9163e..d05e07c0c8 100644 --- a/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.php +++ b/src/Standards/PSR12/Tests/Files/FileHeaderUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the FileHeader sniff. * * @author Greg Sherwood - * @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Tests/Files/ImportStatementUnitTest.php b/src/Standards/PSR12/Tests/Files/ImportStatementUnitTest.php index 6d7878a1b4..e8cd371cf0 100644 --- a/src/Standards/PSR12/Tests/Files/ImportStatementUnitTest.php +++ b/src/Standards/PSR12/Tests/Files/ImportStatementUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ImportStatement sniff. * * @author Greg Sherwood - * @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Tests/Files/OpenTagUnitTest.php b/src/Standards/PSR12/Tests/Files/OpenTagUnitTest.php index 7b44d8f46c..3ce5412754 100644 --- a/src/Standards/PSR12/Tests/Files/OpenTagUnitTest.php +++ b/src/Standards/PSR12/Tests/Files/OpenTagUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the OpenTag sniff. * * @author Greg Sherwood - * @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Tests/Functions/NullableTypeDeclarationUnitTest.php b/src/Standards/PSR12/Tests/Functions/NullableTypeDeclarationUnitTest.php index c8bfc0675a..d0d4b95e8a 100644 --- a/src/Standards/PSR12/Tests/Functions/NullableTypeDeclarationUnitTest.php +++ b/src/Standards/PSR12/Tests/Functions/NullableTypeDeclarationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the NullableWhitespace sniff. * * @author Greg Sherwood - * @copyright 2006-2018 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Tests/Functions/ReturnTypeDeclarationUnitTest.php b/src/Standards/PSR12/Tests/Functions/ReturnTypeDeclarationUnitTest.php index 21a1843ba1..48f56cf990 100644 --- a/src/Standards/PSR12/Tests/Functions/ReturnTypeDeclarationUnitTest.php +++ b/src/Standards/PSR12/Tests/Functions/ReturnTypeDeclarationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ReturnTypeDeclaration sniff. * * @author Greg Sherwood - * @copyright 2006-2018 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Tests/Keywords/ShortFormTypeKeywordsUnitTest.php b/src/Standards/PSR12/Tests/Keywords/ShortFormTypeKeywordsUnitTest.php index bef60ba15d..535c648626 100644 --- a/src/Standards/PSR12/Tests/Keywords/ShortFormTypeKeywordsUnitTest.php +++ b/src/Standards/PSR12/Tests/Keywords/ShortFormTypeKeywordsUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ShortFormTypeKeywords sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Tests/Namespaces/CompoundNamespaceDepthUnitTest.php b/src/Standards/PSR12/Tests/Namespaces/CompoundNamespaceDepthUnitTest.php index c035459c90..795dcb6950 100644 --- a/src/Standards/PSR12/Tests/Namespaces/CompoundNamespaceDepthUnitTest.php +++ b/src/Standards/PSR12/Tests/Namespaces/CompoundNamespaceDepthUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the CompoundNamespaceDepth sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Tests/Operators/OperatorSpacingUnitTest.php b/src/Standards/PSR12/Tests/Operators/OperatorSpacingUnitTest.php index 551d3c5a86..f0643ddcbd 100644 --- a/src/Standards/PSR12/Tests/Operators/OperatorSpacingUnitTest.php +++ b/src/Standards/PSR12/Tests/Operators/OperatorSpacingUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the OperatorSpacing sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Tests/Properties/ConstantVisibilityUnitTest.php b/src/Standards/PSR12/Tests/Properties/ConstantVisibilityUnitTest.php index 71141f0346..afaaf94d2e 100644 --- a/src/Standards/PSR12/Tests/Properties/ConstantVisibilityUnitTest.php +++ b/src/Standards/PSR12/Tests/Properties/ConstantVisibilityUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ConstantVisibility sniff. * * @author Greg Sherwood - * @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR12/Tests/Traits/UseDeclarationUnitTest.php b/src/Standards/PSR12/Tests/Traits/UseDeclarationUnitTest.php index f2f1d5ec18..d1ff3d4ff0 100644 --- a/src/Standards/PSR12/Tests/Traits/UseDeclarationUnitTest.php +++ b/src/Standards/PSR12/Tests/Traits/UseDeclarationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the UseDeclaration sniff. * * @author Greg Sherwood - * @copyright 2006-2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php b/src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php index 4f5f7801b3..101f9a1b2a 100644 --- a/src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php +++ b/src/Standards/PSR2/Sniffs/Classes/ClassDeclarationSniff.php @@ -3,7 +3,8 @@ * Checks the declaration of the class and its inheritance is correct. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR2/Sniffs/Classes/PropertyDeclarationSniff.php b/src/Standards/PSR2/Sniffs/Classes/PropertyDeclarationSniff.php index 26df586341..f311f88f4e 100644 --- a/src/Standards/PSR2/Sniffs/Classes/PropertyDeclarationSniff.php +++ b/src/Standards/PSR2/Sniffs/Classes/PropertyDeclarationSniff.php @@ -3,7 +3,8 @@ * Verifies that properties are declared correctly. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR2/Sniffs/ControlStructures/ControlStructureSpacingSniff.php b/src/Standards/PSR2/Sniffs/ControlStructures/ControlStructureSpacingSniff.php index d999b44cf5..cf21b418b4 100644 --- a/src/Standards/PSR2/Sniffs/ControlStructures/ControlStructureSpacingSniff.php +++ b/src/Standards/PSR2/Sniffs/ControlStructures/ControlStructureSpacingSniff.php @@ -3,7 +3,8 @@ * Checks that control structures have the correct spacing around brackets. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR2/Sniffs/ControlStructures/ElseIfDeclarationSniff.php b/src/Standards/PSR2/Sniffs/ControlStructures/ElseIfDeclarationSniff.php index 5ba70cd375..a3bde7e65e 100644 --- a/src/Standards/PSR2/Sniffs/ControlStructures/ElseIfDeclarationSniff.php +++ b/src/Standards/PSR2/Sniffs/ControlStructures/ElseIfDeclarationSniff.php @@ -3,7 +3,8 @@ * Verifies that there are no else if statements (elseif should be used instead). * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR2/Sniffs/ControlStructures/SwitchDeclarationSniff.php b/src/Standards/PSR2/Sniffs/ControlStructures/SwitchDeclarationSniff.php index 640a53822d..66bdb2f31f 100644 --- a/src/Standards/PSR2/Sniffs/ControlStructures/SwitchDeclarationSniff.php +++ b/src/Standards/PSR2/Sniffs/ControlStructures/SwitchDeclarationSniff.php @@ -3,7 +3,8 @@ * Ensures all switch statements are defined correctly. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR2/Sniffs/Files/ClosingTagSniff.php b/src/Standards/PSR2/Sniffs/Files/ClosingTagSniff.php index a53569b046..1edfebaf4e 100644 --- a/src/Standards/PSR2/Sniffs/Files/ClosingTagSniff.php +++ b/src/Standards/PSR2/Sniffs/Files/ClosingTagSniff.php @@ -3,7 +3,8 @@ * Checks that the file does not end with a closing tag. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR2/Sniffs/Files/EndFileNewlineSniff.php b/src/Standards/PSR2/Sniffs/Files/EndFileNewlineSniff.php index 45b8c0a6e9..fa27613cab 100644 --- a/src/Standards/PSR2/Sniffs/Files/EndFileNewlineSniff.php +++ b/src/Standards/PSR2/Sniffs/Files/EndFileNewlineSniff.php @@ -3,7 +3,8 @@ * Ensures the file ends with a newline character. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR2/Sniffs/Methods/FunctionCallSignatureSniff.php b/src/Standards/PSR2/Sniffs/Methods/FunctionCallSignatureSniff.php index 6ead0c615c..53c47dca3e 100644 --- a/src/Standards/PSR2/Sniffs/Methods/FunctionCallSignatureSniff.php +++ b/src/Standards/PSR2/Sniffs/Methods/FunctionCallSignatureSniff.php @@ -3,7 +3,8 @@ * Checks that the function call format is correct. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR2/Sniffs/Methods/FunctionClosingBraceSniff.php b/src/Standards/PSR2/Sniffs/Methods/FunctionClosingBraceSniff.php index b1d416fe3e..a070e3c763 100644 --- a/src/Standards/PSR2/Sniffs/Methods/FunctionClosingBraceSniff.php +++ b/src/Standards/PSR2/Sniffs/Methods/FunctionClosingBraceSniff.php @@ -3,7 +3,8 @@ * Checks that the closing brace of a function goes directly after the body. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR2/Sniffs/Methods/MethodDeclarationSniff.php b/src/Standards/PSR2/Sniffs/Methods/MethodDeclarationSniff.php index 2485a981fe..9426899974 100644 --- a/src/Standards/PSR2/Sniffs/Methods/MethodDeclarationSniff.php +++ b/src/Standards/PSR2/Sniffs/Methods/MethodDeclarationSniff.php @@ -3,7 +3,8 @@ * Checks that the method declaration is correct. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR2/Sniffs/Namespaces/NamespaceDeclarationSniff.php b/src/Standards/PSR2/Sniffs/Namespaces/NamespaceDeclarationSniff.php index d1ee29d5bc..3e25f87517 100644 --- a/src/Standards/PSR2/Sniffs/Namespaces/NamespaceDeclarationSniff.php +++ b/src/Standards/PSR2/Sniffs/Namespaces/NamespaceDeclarationSniff.php @@ -3,7 +3,8 @@ * Ensures namespaces are declared correctly. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR2/Sniffs/Namespaces/UseDeclarationSniff.php b/src/Standards/PSR2/Sniffs/Namespaces/UseDeclarationSniff.php index fa37ee4cfd..d397798cc4 100644 --- a/src/Standards/PSR2/Sniffs/Namespaces/UseDeclarationSniff.php +++ b/src/Standards/PSR2/Sniffs/Namespaces/UseDeclarationSniff.php @@ -3,7 +3,8 @@ * Ensures USE blocks are declared correctly. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR2/Tests/Classes/ClassDeclarationUnitTest.php b/src/Standards/PSR2/Tests/Classes/ClassDeclarationUnitTest.php index c096901799..9770527198 100644 --- a/src/Standards/PSR2/Tests/Classes/ClassDeclarationUnitTest.php +++ b/src/Standards/PSR2/Tests/Classes/ClassDeclarationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ClassDeclaration sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR2/Tests/Classes/PropertyDeclarationUnitTest.php b/src/Standards/PSR2/Tests/Classes/PropertyDeclarationUnitTest.php index 88cc653ce8..544b1f0176 100644 --- a/src/Standards/PSR2/Tests/Classes/PropertyDeclarationUnitTest.php +++ b/src/Standards/PSR2/Tests/Classes/PropertyDeclarationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the PropertyDeclaration sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR2/Tests/ControlStructures/ControlStructureSpacingUnitTest.php b/src/Standards/PSR2/Tests/ControlStructures/ControlStructureSpacingUnitTest.php index 8bd446b48c..d20443a11d 100644 --- a/src/Standards/PSR2/Tests/ControlStructures/ControlStructureSpacingUnitTest.php +++ b/src/Standards/PSR2/Tests/ControlStructures/ControlStructureSpacingUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the FunctionSpacing sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR2/Tests/ControlStructures/ElseIfDeclarationUnitTest.php b/src/Standards/PSR2/Tests/ControlStructures/ElseIfDeclarationUnitTest.php index 12c4b59524..dff88c256a 100644 --- a/src/Standards/PSR2/Tests/ControlStructures/ElseIfDeclarationUnitTest.php +++ b/src/Standards/PSR2/Tests/ControlStructures/ElseIfDeclarationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ElseIfDeclaration sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR2/Tests/ControlStructures/SwitchDeclarationUnitTest.php b/src/Standards/PSR2/Tests/ControlStructures/SwitchDeclarationUnitTest.php index 107e36ad43..a0b125e47b 100644 --- a/src/Standards/PSR2/Tests/ControlStructures/SwitchDeclarationUnitTest.php +++ b/src/Standards/PSR2/Tests/ControlStructures/SwitchDeclarationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the SwitchDeclaration sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR2/Tests/Files/ClosingTagUnitTest.php b/src/Standards/PSR2/Tests/Files/ClosingTagUnitTest.php index 538dd61eb5..f2f5dc3afa 100644 --- a/src/Standards/PSR2/Tests/Files/ClosingTagUnitTest.php +++ b/src/Standards/PSR2/Tests/Files/ClosingTagUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ClosingTag sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.php b/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.php index 599ac16318..0a37aa4ee3 100644 --- a/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.php +++ b/src/Standards/PSR2/Tests/Files/EndFileNewlineUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the EndFileNewline sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR2/Tests/Methods/FunctionCallSignatureUnitTest.php b/src/Standards/PSR2/Tests/Methods/FunctionCallSignatureUnitTest.php index 3ff213e9e1..053794bd5e 100644 --- a/src/Standards/PSR2/Tests/Methods/FunctionCallSignatureUnitTest.php +++ b/src/Standards/PSR2/Tests/Methods/FunctionCallSignatureUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the FunctionCallSignature sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR2/Tests/Methods/FunctionClosingBraceUnitTest.php b/src/Standards/PSR2/Tests/Methods/FunctionClosingBraceUnitTest.php index 8748bab6bf..5c35c01058 100644 --- a/src/Standards/PSR2/Tests/Methods/FunctionClosingBraceUnitTest.php +++ b/src/Standards/PSR2/Tests/Methods/FunctionClosingBraceUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the FunctionClosingBrace sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR2/Tests/Methods/MethodDeclarationUnitTest.php b/src/Standards/PSR2/Tests/Methods/MethodDeclarationUnitTest.php index d3e4935c08..97e0f432de 100644 --- a/src/Standards/PSR2/Tests/Methods/MethodDeclarationUnitTest.php +++ b/src/Standards/PSR2/Tests/Methods/MethodDeclarationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the MethodDeclaration sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR2/Tests/Namespaces/NamespaceDeclarationUnitTest.php b/src/Standards/PSR2/Tests/Namespaces/NamespaceDeclarationUnitTest.php index 90680fb91c..3a05aebc99 100644 --- a/src/Standards/PSR2/Tests/Namespaces/NamespaceDeclarationUnitTest.php +++ b/src/Standards/PSR2/Tests/Namespaces/NamespaceDeclarationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the NamespaceDeclaration sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.php b/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.php index 43dcb46ee3..3209d9d410 100644 --- a/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.php +++ b/src/Standards/PSR2/Tests/Namespaces/UseDeclarationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the UseDeclaration sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Arrays/ArrayBracketSpacingSniff.php b/src/Standards/Squiz/Sniffs/Arrays/ArrayBracketSpacingSniff.php index b6811e6458..29425314d6 100644 --- a/src/Standards/Squiz/Sniffs/Arrays/ArrayBracketSpacingSniff.php +++ b/src/Standards/Squiz/Sniffs/Arrays/ArrayBracketSpacingSniff.php @@ -3,7 +3,8 @@ * Ensure that there are no spaces around square brackets. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php b/src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php index 7a52964eeb..58cfaf75dd 100644 --- a/src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php +++ b/src/Standards/Squiz/Sniffs/Arrays/ArrayDeclarationSniff.php @@ -3,7 +3,8 @@ * Ensures that arrays conform to the array coding standard. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Classes/ClassDeclarationSniff.php b/src/Standards/Squiz/Sniffs/Classes/ClassDeclarationSniff.php index 0b1c084773..353ad9bc37 100644 --- a/src/Standards/Squiz/Sniffs/Classes/ClassDeclarationSniff.php +++ b/src/Standards/Squiz/Sniffs/Classes/ClassDeclarationSniff.php @@ -3,7 +3,8 @@ * Checks the declaration of the class and its inheritance is correct. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Classes/ClassFileNameSniff.php b/src/Standards/Squiz/Sniffs/Classes/ClassFileNameSniff.php index 8752c188c7..76aba8d299 100644 --- a/src/Standards/Squiz/Sniffs/Classes/ClassFileNameSniff.php +++ b/src/Standards/Squiz/Sniffs/Classes/ClassFileNameSniff.php @@ -3,7 +3,8 @@ * Tests that the file name and the name of the class contained within the file match. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Classes/LowercaseClassKeywordsSniff.php b/src/Standards/Squiz/Sniffs/Classes/LowercaseClassKeywordsSniff.php index 7552043307..9edd17c9ce 100644 --- a/src/Standards/Squiz/Sniffs/Classes/LowercaseClassKeywordsSniff.php +++ b/src/Standards/Squiz/Sniffs/Classes/LowercaseClassKeywordsSniff.php @@ -3,7 +3,8 @@ * Ensures all class keywords are lowercase. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Classes/SelfMemberReferenceSniff.php b/src/Standards/Squiz/Sniffs/Classes/SelfMemberReferenceSniff.php index e7b19f3c83..7c18a8befa 100644 --- a/src/Standards/Squiz/Sniffs/Classes/SelfMemberReferenceSniff.php +++ b/src/Standards/Squiz/Sniffs/Classes/SelfMemberReferenceSniff.php @@ -8,7 +8,8 @@ * - self:: is used instead of self :: * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Classes/ValidClassNameSniff.php b/src/Standards/Squiz/Sniffs/Classes/ValidClassNameSniff.php index 27dfbec2d3..497a4cc648 100644 --- a/src/Standards/Squiz/Sniffs/Classes/ValidClassNameSniff.php +++ b/src/Standards/Squiz/Sniffs/Classes/ValidClassNameSniff.php @@ -3,7 +3,8 @@ * Ensures classes are in camel caps, and the first letter is capitalised. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php b/src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php index ca9d472bef..c249e6d535 100644 --- a/src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php +++ b/src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php @@ -3,7 +3,8 @@ * Verifies that block comments are used appropriately. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Commenting/ClassCommentSniff.php b/src/Standards/Squiz/Sniffs/Commenting/ClassCommentSniff.php index 6470983d77..095df8661c 100644 --- a/src/Standards/Squiz/Sniffs/Commenting/ClassCommentSniff.php +++ b/src/Standards/Squiz/Sniffs/Commenting/ClassCommentSniff.php @@ -11,7 +11,8 @@ * * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Commenting/ClosingDeclarationCommentSniff.php b/src/Standards/Squiz/Sniffs/Commenting/ClosingDeclarationCommentSniff.php index 6c7a73e965..ef0a8697b5 100644 --- a/src/Standards/Squiz/Sniffs/Commenting/ClosingDeclarationCommentSniff.php +++ b/src/Standards/Squiz/Sniffs/Commenting/ClosingDeclarationCommentSniff.php @@ -3,7 +3,8 @@ * Checks the //end ... comments on classes, enums, functions, interfaces and traits. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Commenting/DocCommentAlignmentSniff.php b/src/Standards/Squiz/Sniffs/Commenting/DocCommentAlignmentSniff.php index 475a0b68fa..fb34364d8a 100644 --- a/src/Standards/Squiz/Sniffs/Commenting/DocCommentAlignmentSniff.php +++ b/src/Standards/Squiz/Sniffs/Commenting/DocCommentAlignmentSniff.php @@ -3,7 +3,8 @@ * Tests that the stars in a doc comment align correctly. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Commenting/EmptyCatchCommentSniff.php b/src/Standards/Squiz/Sniffs/Commenting/EmptyCatchCommentSniff.php index b34bb31838..938d9cb0e2 100644 --- a/src/Standards/Squiz/Sniffs/Commenting/EmptyCatchCommentSniff.php +++ b/src/Standards/Squiz/Sniffs/Commenting/EmptyCatchCommentSniff.php @@ -3,7 +3,8 @@ * Checks for empty catch clause without a comment. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Commenting/FileCommentSniff.php b/src/Standards/Squiz/Sniffs/Commenting/FileCommentSniff.php index 6e9e3e7374..ec3e7e2a6e 100644 --- a/src/Standards/Squiz/Sniffs/Commenting/FileCommentSniff.php +++ b/src/Standards/Squiz/Sniffs/Commenting/FileCommentSniff.php @@ -3,7 +3,8 @@ * Parses and verifies the file doc comment. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php b/src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php index 6f9e4f8b3a..78a715061f 100644 --- a/src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php +++ b/src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php @@ -3,7 +3,8 @@ * Parses and verifies the doc comments for functions. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Commenting/FunctionCommentThrowTagSniff.php b/src/Standards/Squiz/Sniffs/Commenting/FunctionCommentThrowTagSniff.php index a9210139db..ebb470500b 100644 --- a/src/Standards/Squiz/Sniffs/Commenting/FunctionCommentThrowTagSniff.php +++ b/src/Standards/Squiz/Sniffs/Commenting/FunctionCommentThrowTagSniff.php @@ -3,7 +3,8 @@ * Verifies that a @throws tag exists for each exception type a function throws. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Commenting/InlineCommentSniff.php b/src/Standards/Squiz/Sniffs/Commenting/InlineCommentSniff.php index 6c43b3c38f..d32c422ad1 100644 --- a/src/Standards/Squiz/Sniffs/Commenting/InlineCommentSniff.php +++ b/src/Standards/Squiz/Sniffs/Commenting/InlineCommentSniff.php @@ -3,7 +3,8 @@ * Checks that there is adequate spacing between comments. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Commenting/LongConditionClosingCommentSniff.php b/src/Standards/Squiz/Sniffs/Commenting/LongConditionClosingCommentSniff.php index 87da0643b9..8ebea12264 100644 --- a/src/Standards/Squiz/Sniffs/Commenting/LongConditionClosingCommentSniff.php +++ b/src/Standards/Squiz/Sniffs/Commenting/LongConditionClosingCommentSniff.php @@ -3,7 +3,8 @@ * Ensures long conditions have a comment at the end. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Commenting/PostStatementCommentSniff.php b/src/Standards/Squiz/Sniffs/Commenting/PostStatementCommentSniff.php index fdd3b8b1d2..45e597fe5c 100644 --- a/src/Standards/Squiz/Sniffs/Commenting/PostStatementCommentSniff.php +++ b/src/Standards/Squiz/Sniffs/Commenting/PostStatementCommentSniff.php @@ -3,7 +3,8 @@ * Checks to ensure that there are no comments after statements. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Commenting/VariableCommentSniff.php b/src/Standards/Squiz/Sniffs/Commenting/VariableCommentSniff.php index c2247da57c..eb9dba5022 100644 --- a/src/Standards/Squiz/Sniffs/Commenting/VariableCommentSniff.php +++ b/src/Standards/Squiz/Sniffs/Commenting/VariableCommentSniff.php @@ -3,7 +3,8 @@ * Parses and verifies the variable doc comment. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/ControlStructures/ControlSignatureSniff.php b/src/Standards/Squiz/Sniffs/ControlStructures/ControlSignatureSniff.php index fd0b6ffa62..739c20999b 100644 --- a/src/Standards/Squiz/Sniffs/ControlStructures/ControlSignatureSniff.php +++ b/src/Standards/Squiz/Sniffs/ControlStructures/ControlSignatureSniff.php @@ -3,7 +3,8 @@ * Verifies that control statements conform to their coding standards. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/ControlStructures/ElseIfDeclarationSniff.php b/src/Standards/Squiz/Sniffs/ControlStructures/ElseIfDeclarationSniff.php index 63f9addb3e..a21b51b878 100644 --- a/src/Standards/Squiz/Sniffs/ControlStructures/ElseIfDeclarationSniff.php +++ b/src/Standards/Squiz/Sniffs/ControlStructures/ElseIfDeclarationSniff.php @@ -3,7 +3,8 @@ * Ensures the use of else if over elseif. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php b/src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php index 52bae75b42..a877b69c8c 100644 --- a/src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php +++ b/src/Standards/Squiz/Sniffs/ControlStructures/ForEachLoopDeclarationSniff.php @@ -3,7 +3,8 @@ * Verifies that there is a space between each condition of foreach loops. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/ControlStructures/ForLoopDeclarationSniff.php b/src/Standards/Squiz/Sniffs/ControlStructures/ForLoopDeclarationSniff.php index 8092104921..f68a02bab5 100644 --- a/src/Standards/Squiz/Sniffs/ControlStructures/ForLoopDeclarationSniff.php +++ b/src/Standards/Squiz/Sniffs/ControlStructures/ForLoopDeclarationSniff.php @@ -3,7 +3,8 @@ * Verifies that there is a space between each condition of for loops. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/ControlStructures/InlineIfDeclarationSniff.php b/src/Standards/Squiz/Sniffs/ControlStructures/InlineIfDeclarationSniff.php index acf48ce16f..9118bf5754 100644 --- a/src/Standards/Squiz/Sniffs/ControlStructures/InlineIfDeclarationSniff.php +++ b/src/Standards/Squiz/Sniffs/ControlStructures/InlineIfDeclarationSniff.php @@ -3,7 +3,8 @@ * Tests the spacing of shorthand IF statements. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/ControlStructures/LowercaseDeclarationSniff.php b/src/Standards/Squiz/Sniffs/ControlStructures/LowercaseDeclarationSniff.php index f711cc846e..0cd19e02c2 100644 --- a/src/Standards/Squiz/Sniffs/ControlStructures/LowercaseDeclarationSniff.php +++ b/src/Standards/Squiz/Sniffs/ControlStructures/LowercaseDeclarationSniff.php @@ -3,7 +3,8 @@ * Ensures all control structure keywords are lowercase. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/ControlStructures/SwitchDeclarationSniff.php b/src/Standards/Squiz/Sniffs/ControlStructures/SwitchDeclarationSniff.php index 5586d6fa0e..4a87417797 100644 --- a/src/Standards/Squiz/Sniffs/ControlStructures/SwitchDeclarationSniff.php +++ b/src/Standards/Squiz/Sniffs/ControlStructures/SwitchDeclarationSniff.php @@ -3,7 +3,8 @@ * Enforces switch statement formatting. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Files/FileExtensionSniff.php b/src/Standards/Squiz/Sniffs/Files/FileExtensionSniff.php index 1ad38b4646..be1bb222de 100644 --- a/src/Standards/Squiz/Sniffs/Files/FileExtensionSniff.php +++ b/src/Standards/Squiz/Sniffs/Files/FileExtensionSniff.php @@ -3,7 +3,8 @@ * Tests that classes and interfaces are not declared in .php files. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Formatting/OperatorBracketSniff.php b/src/Standards/Squiz/Sniffs/Formatting/OperatorBracketSniff.php index 0eee561694..5555967322 100644 --- a/src/Standards/Squiz/Sniffs/Formatting/OperatorBracketSniff.php +++ b/src/Standards/Squiz/Sniffs/Formatting/OperatorBracketSniff.php @@ -3,7 +3,8 @@ * Tests that all arithmetic operations are bracketed. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php b/src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php index f21e2c9f0d..6143b0972f 100644 --- a/src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php +++ b/src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationArgumentSpacingSniff.php @@ -3,7 +3,8 @@ * Checks that arguments in function declarations are spaced correctly. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationSniff.php b/src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationSniff.php index 88395c3b43..a069d3b4cb 100644 --- a/src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationSniff.php +++ b/src/Standards/Squiz/Sniffs/Functions/FunctionDeclarationSniff.php @@ -3,7 +3,8 @@ * Checks the function declaration is correct. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Functions/FunctionDuplicateArgumentSniff.php b/src/Standards/Squiz/Sniffs/Functions/FunctionDuplicateArgumentSniff.php index 135a31311a..faaa4bdbe5 100644 --- a/src/Standards/Squiz/Sniffs/Functions/FunctionDuplicateArgumentSniff.php +++ b/src/Standards/Squiz/Sniffs/Functions/FunctionDuplicateArgumentSniff.php @@ -3,7 +3,8 @@ * Checks that duplicate arguments are not used in function declarations. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Functions/GlobalFunctionSniff.php b/src/Standards/Squiz/Sniffs/Functions/GlobalFunctionSniff.php index 9ab1b20395..cc863cf823 100644 --- a/src/Standards/Squiz/Sniffs/Functions/GlobalFunctionSniff.php +++ b/src/Standards/Squiz/Sniffs/Functions/GlobalFunctionSniff.php @@ -3,7 +3,8 @@ * Tests for functions outside of classes. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Functions/LowercaseFunctionKeywordsSniff.php b/src/Standards/Squiz/Sniffs/Functions/LowercaseFunctionKeywordsSniff.php index b2b1f3cd28..075d1167b0 100644 --- a/src/Standards/Squiz/Sniffs/Functions/LowercaseFunctionKeywordsSniff.php +++ b/src/Standards/Squiz/Sniffs/Functions/LowercaseFunctionKeywordsSniff.php @@ -3,7 +3,8 @@ * Ensures all function keywords are lowercase. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Functions/MultiLineFunctionDeclarationSniff.php b/src/Standards/Squiz/Sniffs/Functions/MultiLineFunctionDeclarationSniff.php index 158191a968..54af72ec8e 100644 --- a/src/Standards/Squiz/Sniffs/Functions/MultiLineFunctionDeclarationSniff.php +++ b/src/Standards/Squiz/Sniffs/Functions/MultiLineFunctionDeclarationSniff.php @@ -3,7 +3,8 @@ * Ensure single and multi-line function declarations are defined correctly. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/NamingConventions/ValidFunctionNameSniff.php b/src/Standards/Squiz/Sniffs/NamingConventions/ValidFunctionNameSniff.php index c44ef11e6d..d4b7a1c976 100644 --- a/src/Standards/Squiz/Sniffs/NamingConventions/ValidFunctionNameSniff.php +++ b/src/Standards/Squiz/Sniffs/NamingConventions/ValidFunctionNameSniff.php @@ -3,7 +3,8 @@ * Ensures method names are correct. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/NamingConventions/ValidVariableNameSniff.php b/src/Standards/Squiz/Sniffs/NamingConventions/ValidVariableNameSniff.php index 5cfb1f6b85..d2e65dde8c 100644 --- a/src/Standards/Squiz/Sniffs/NamingConventions/ValidVariableNameSniff.php +++ b/src/Standards/Squiz/Sniffs/NamingConventions/ValidVariableNameSniff.php @@ -3,7 +3,8 @@ * Checks the naming of variables and member variables. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Objects/ObjectInstantiationSniff.php b/src/Standards/Squiz/Sniffs/Objects/ObjectInstantiationSniff.php index 5b0ad762b1..78385e90d6 100644 --- a/src/Standards/Squiz/Sniffs/Objects/ObjectInstantiationSniff.php +++ b/src/Standards/Squiz/Sniffs/Objects/ObjectInstantiationSniff.php @@ -3,7 +3,8 @@ * Ensures objects are assigned to a variable when instantiated. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Operators/ComparisonOperatorUsageSniff.php b/src/Standards/Squiz/Sniffs/Operators/ComparisonOperatorUsageSniff.php index e380e0aa79..6e201fbc39 100644 --- a/src/Standards/Squiz/Sniffs/Operators/ComparisonOperatorUsageSniff.php +++ b/src/Standards/Squiz/Sniffs/Operators/ComparisonOperatorUsageSniff.php @@ -3,7 +3,8 @@ * A Sniff to enforce the use of IDENTICAL type operators rather than EQUAL operators. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Operators/IncrementDecrementUsageSniff.php b/src/Standards/Squiz/Sniffs/Operators/IncrementDecrementUsageSniff.php index c9bf6eb1d0..7db45d7c3b 100644 --- a/src/Standards/Squiz/Sniffs/Operators/IncrementDecrementUsageSniff.php +++ b/src/Standards/Squiz/Sniffs/Operators/IncrementDecrementUsageSniff.php @@ -3,7 +3,8 @@ * Ensures that the ++ operators are used when possible. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Operators/ValidLogicalOperatorsSniff.php b/src/Standards/Squiz/Sniffs/Operators/ValidLogicalOperatorsSniff.php index b9c94799dc..529c65b63a 100644 --- a/src/Standards/Squiz/Sniffs/Operators/ValidLogicalOperatorsSniff.php +++ b/src/Standards/Squiz/Sniffs/Operators/ValidLogicalOperatorsSniff.php @@ -3,7 +3,8 @@ * Ensures logical operators 'and' and 'or' are not used. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/PHP/CommentedOutCodeSniff.php b/src/Standards/Squiz/Sniffs/PHP/CommentedOutCodeSniff.php index e8c55e817b..78cd16dc06 100644 --- a/src/Standards/Squiz/Sniffs/PHP/CommentedOutCodeSniff.php +++ b/src/Standards/Squiz/Sniffs/PHP/CommentedOutCodeSniff.php @@ -3,7 +3,8 @@ * Warn about commented out code. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/PHP/DisallowBooleanStatementSniff.php b/src/Standards/Squiz/Sniffs/PHP/DisallowBooleanStatementSniff.php index 27d39185ac..1efd3f03c1 100644 --- a/src/Standards/Squiz/Sniffs/PHP/DisallowBooleanStatementSniff.php +++ b/src/Standards/Squiz/Sniffs/PHP/DisallowBooleanStatementSniff.php @@ -3,7 +3,8 @@ * Ensures that boolean operators are only used inside control structure conditions. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/PHP/DisallowComparisonAssignmentSniff.php b/src/Standards/Squiz/Sniffs/PHP/DisallowComparisonAssignmentSniff.php index 0197c7720e..4ff51c5088 100644 --- a/src/Standards/Squiz/Sniffs/PHP/DisallowComparisonAssignmentSniff.php +++ b/src/Standards/Squiz/Sniffs/PHP/DisallowComparisonAssignmentSniff.php @@ -3,7 +3,8 @@ * Ensures that the value of a comparison is not assigned to a variable. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/PHP/DisallowInlineIfSniff.php b/src/Standards/Squiz/Sniffs/PHP/DisallowInlineIfSniff.php index 7d483a2737..fed14fea20 100644 --- a/src/Standards/Squiz/Sniffs/PHP/DisallowInlineIfSniff.php +++ b/src/Standards/Squiz/Sniffs/PHP/DisallowInlineIfSniff.php @@ -3,7 +3,8 @@ * Stops inline IF statements from being used. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/PHP/DisallowMultipleAssignmentsSniff.php b/src/Standards/Squiz/Sniffs/PHP/DisallowMultipleAssignmentsSniff.php index 6c2a3cd87f..b29beda505 100644 --- a/src/Standards/Squiz/Sniffs/PHP/DisallowMultipleAssignmentsSniff.php +++ b/src/Standards/Squiz/Sniffs/PHP/DisallowMultipleAssignmentsSniff.php @@ -3,7 +3,8 @@ * Ensures there is only one assignment on a line, and that it is the first thing on the line. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/PHP/DisallowSizeFunctionsInLoopsSniff.php b/src/Standards/Squiz/Sniffs/PHP/DisallowSizeFunctionsInLoopsSniff.php index 08b16a32f8..cef0fc9058 100644 --- a/src/Standards/Squiz/Sniffs/PHP/DisallowSizeFunctionsInLoopsSniff.php +++ b/src/Standards/Squiz/Sniffs/PHP/DisallowSizeFunctionsInLoopsSniff.php @@ -3,7 +3,8 @@ * Bans the use of size-based functions in loop conditions. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/PHP/DiscouragedFunctionsSniff.php b/src/Standards/Squiz/Sniffs/PHP/DiscouragedFunctionsSniff.php index 089470fd5b..6baff10656 100644 --- a/src/Standards/Squiz/Sniffs/PHP/DiscouragedFunctionsSniff.php +++ b/src/Standards/Squiz/Sniffs/PHP/DiscouragedFunctionsSniff.php @@ -3,7 +3,8 @@ * Discourages the use of debug functions. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php b/src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php index 76dbcc1aa1..babbde4df0 100644 --- a/src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php +++ b/src/Standards/Squiz/Sniffs/PHP/EmbeddedPhpSniff.php @@ -3,7 +3,8 @@ * Checks the indentation of embedded PHP code segments. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/PHP/EvalSniff.php b/src/Standards/Squiz/Sniffs/PHP/EvalSniff.php index 2b4eb84e9e..79dceb52b9 100644 --- a/src/Standards/Squiz/Sniffs/PHP/EvalSniff.php +++ b/src/Standards/Squiz/Sniffs/PHP/EvalSniff.php @@ -3,7 +3,8 @@ * The use of eval() is discouraged. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/PHP/GlobalKeywordSniff.php b/src/Standards/Squiz/Sniffs/PHP/GlobalKeywordSniff.php index f92160839a..0c50a2eadb 100644 --- a/src/Standards/Squiz/Sniffs/PHP/GlobalKeywordSniff.php +++ b/src/Standards/Squiz/Sniffs/PHP/GlobalKeywordSniff.php @@ -3,7 +3,8 @@ * Stops the usage of the "global" keyword. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/PHP/HeredocSniff.php b/src/Standards/Squiz/Sniffs/PHP/HeredocSniff.php index d82e6c2bab..95d32c5735 100644 --- a/src/Standards/Squiz/Sniffs/PHP/HeredocSniff.php +++ b/src/Standards/Squiz/Sniffs/PHP/HeredocSniff.php @@ -3,7 +3,8 @@ * Bans the use of heredocs and nowdocs. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/PHP/InnerFunctionsSniff.php b/src/Standards/Squiz/Sniffs/PHP/InnerFunctionsSniff.php index b34d046c51..fd2ffdc334 100644 --- a/src/Standards/Squiz/Sniffs/PHP/InnerFunctionsSniff.php +++ b/src/Standards/Squiz/Sniffs/PHP/InnerFunctionsSniff.php @@ -3,7 +3,8 @@ * Ensures that functions within functions are never used. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/PHP/LowercasePHPFunctionsSniff.php b/src/Standards/Squiz/Sniffs/PHP/LowercasePHPFunctionsSniff.php index c928100166..937df3beb7 100644 --- a/src/Standards/Squiz/Sniffs/PHP/LowercasePHPFunctionsSniff.php +++ b/src/Standards/Squiz/Sniffs/PHP/LowercasePHPFunctionsSniff.php @@ -3,7 +3,8 @@ * Ensures all calls to inbuilt PHP functions are lowercase. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/PHP/NonExecutableCodeSniff.php b/src/Standards/Squiz/Sniffs/PHP/NonExecutableCodeSniff.php index 5697b9bab2..cc9bf36010 100644 --- a/src/Standards/Squiz/Sniffs/PHP/NonExecutableCodeSniff.php +++ b/src/Standards/Squiz/Sniffs/PHP/NonExecutableCodeSniff.php @@ -3,7 +3,8 @@ * Warns about code that can never been executed. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Scope/MemberVarScopeSniff.php b/src/Standards/Squiz/Sniffs/Scope/MemberVarScopeSniff.php index bd822bb525..9fcc7692db 100644 --- a/src/Standards/Squiz/Sniffs/Scope/MemberVarScopeSniff.php +++ b/src/Standards/Squiz/Sniffs/Scope/MemberVarScopeSniff.php @@ -3,7 +3,8 @@ * Verifies that class members have scope modifiers. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Scope/MethodScopeSniff.php b/src/Standards/Squiz/Sniffs/Scope/MethodScopeSniff.php index 898a7a4439..aa03bfc294 100644 --- a/src/Standards/Squiz/Sniffs/Scope/MethodScopeSniff.php +++ b/src/Standards/Squiz/Sniffs/Scope/MethodScopeSniff.php @@ -3,7 +3,8 @@ * Verifies that class methods have scope modifiers. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Scope/StaticThisUsageSniff.php b/src/Standards/Squiz/Sniffs/Scope/StaticThisUsageSniff.php index a7ce4f7cfc..4d8e82b383 100644 --- a/src/Standards/Squiz/Sniffs/Scope/StaticThisUsageSniff.php +++ b/src/Standards/Squiz/Sniffs/Scope/StaticThisUsageSniff.php @@ -3,7 +3,8 @@ * Checks for usage of $this in static methods, which will cause runtime errors. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Strings/ConcatenationSpacingSniff.php b/src/Standards/Squiz/Sniffs/Strings/ConcatenationSpacingSniff.php index bfe83970bf..054a0c46ca 100644 --- a/src/Standards/Squiz/Sniffs/Strings/ConcatenationSpacingSniff.php +++ b/src/Standards/Squiz/Sniffs/Strings/ConcatenationSpacingSniff.php @@ -3,7 +3,8 @@ * Makes sure there are no spaces around the concatenation operator. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Strings/DoubleQuoteUsageSniff.php b/src/Standards/Squiz/Sniffs/Strings/DoubleQuoteUsageSniff.php index 9cb61d3236..9cdb910cba 100644 --- a/src/Standards/Squiz/Sniffs/Strings/DoubleQuoteUsageSniff.php +++ b/src/Standards/Squiz/Sniffs/Strings/DoubleQuoteUsageSniff.php @@ -3,7 +3,8 @@ * Makes sure that any use of double quotes strings are warranted. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/Strings/EchoedStringsSniff.php b/src/Standards/Squiz/Sniffs/Strings/EchoedStringsSniff.php index 4e7e5c5f2a..ec9a360e01 100644 --- a/src/Standards/Squiz/Sniffs/Strings/EchoedStringsSniff.php +++ b/src/Standards/Squiz/Sniffs/Strings/EchoedStringsSniff.php @@ -3,7 +3,8 @@ * Makes sure that any strings that are "echoed" are not enclosed in brackets. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/WhiteSpace/CastSpacingSniff.php b/src/Standards/Squiz/Sniffs/WhiteSpace/CastSpacingSniff.php index d35830b428..c64169c1a8 100644 --- a/src/Standards/Squiz/Sniffs/WhiteSpace/CastSpacingSniff.php +++ b/src/Standards/Squiz/Sniffs/WhiteSpace/CastSpacingSniff.php @@ -3,7 +3,8 @@ * Ensure cast statements don't contain whitespace. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php b/src/Standards/Squiz/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php index 43bf2dcf97..9eba04f2a2 100644 --- a/src/Standards/Squiz/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php +++ b/src/Standards/Squiz/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php @@ -3,7 +3,8 @@ * Checks that control structures have the correct spacing around brackets. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/WhiteSpace/FunctionClosingBraceSpaceSniff.php b/src/Standards/Squiz/Sniffs/WhiteSpace/FunctionClosingBraceSpaceSniff.php index d60c82535c..cf2c129dab 100644 --- a/src/Standards/Squiz/Sniffs/WhiteSpace/FunctionClosingBraceSpaceSniff.php +++ b/src/Standards/Squiz/Sniffs/WhiteSpace/FunctionClosingBraceSpaceSniff.php @@ -3,7 +3,8 @@ * Checks that there is one empty line before the closing brace of a function. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/WhiteSpace/FunctionOpeningBraceSpaceSniff.php b/src/Standards/Squiz/Sniffs/WhiteSpace/FunctionOpeningBraceSpaceSniff.php index 35f20fd313..b9250ecc2c 100644 --- a/src/Standards/Squiz/Sniffs/WhiteSpace/FunctionOpeningBraceSpaceSniff.php +++ b/src/Standards/Squiz/Sniffs/WhiteSpace/FunctionOpeningBraceSpaceSniff.php @@ -3,7 +3,8 @@ * Checks that there is no empty line after the opening brace of a function. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/WhiteSpace/FunctionSpacingSniff.php b/src/Standards/Squiz/Sniffs/WhiteSpace/FunctionSpacingSniff.php index 29935b7ea1..0af4244643 100644 --- a/src/Standards/Squiz/Sniffs/WhiteSpace/FunctionSpacingSniff.php +++ b/src/Standards/Squiz/Sniffs/WhiteSpace/FunctionSpacingSniff.php @@ -3,7 +3,8 @@ * Checks the separation between functions and methods. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/WhiteSpace/LogicalOperatorSpacingSniff.php b/src/Standards/Squiz/Sniffs/WhiteSpace/LogicalOperatorSpacingSniff.php index 4a664617ef..3f69fd66fd 100644 --- a/src/Standards/Squiz/Sniffs/WhiteSpace/LogicalOperatorSpacingSniff.php +++ b/src/Standards/Squiz/Sniffs/WhiteSpace/LogicalOperatorSpacingSniff.php @@ -3,7 +3,8 @@ * Verifies that operators have valid spacing surrounding them. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/WhiteSpace/MemberVarSpacingSniff.php b/src/Standards/Squiz/Sniffs/WhiteSpace/MemberVarSpacingSniff.php index 9468414f8a..b5b4e15516 100644 --- a/src/Standards/Squiz/Sniffs/WhiteSpace/MemberVarSpacingSniff.php +++ b/src/Standards/Squiz/Sniffs/WhiteSpace/MemberVarSpacingSniff.php @@ -3,7 +3,8 @@ * Verifies that class members are spaced correctly. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/WhiteSpace/ObjectOperatorSpacingSniff.php b/src/Standards/Squiz/Sniffs/WhiteSpace/ObjectOperatorSpacingSniff.php index bff262d838..a2755dca30 100644 --- a/src/Standards/Squiz/Sniffs/WhiteSpace/ObjectOperatorSpacingSniff.php +++ b/src/Standards/Squiz/Sniffs/WhiteSpace/ObjectOperatorSpacingSniff.php @@ -3,7 +3,8 @@ * Ensure there is no whitespace before/after an object operator. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php b/src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php index 6a9cc1002b..9592c5d6d0 100644 --- a/src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php +++ b/src/Standards/Squiz/Sniffs/WhiteSpace/OperatorSpacingSniff.php @@ -3,7 +3,8 @@ * Verifies that operators have valid spacing surrounding them. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php b/src/Standards/Squiz/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php index cc622de8e7..131603ea29 100644 --- a/src/Standards/Squiz/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php +++ b/src/Standards/Squiz/Sniffs/WhiteSpace/ScopeClosingBraceSniff.php @@ -3,7 +3,8 @@ * Checks that the closing braces of scopes are aligned correctly. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/WhiteSpace/ScopeKeywordSpacingSniff.php b/src/Standards/Squiz/Sniffs/WhiteSpace/ScopeKeywordSpacingSniff.php index 484de5c3d9..66dce547d6 100644 --- a/src/Standards/Squiz/Sniffs/WhiteSpace/ScopeKeywordSpacingSniff.php +++ b/src/Standards/Squiz/Sniffs/WhiteSpace/ScopeKeywordSpacingSniff.php @@ -3,7 +3,8 @@ * Ensure there is a single space after scope keywords. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/WhiteSpace/SemicolonSpacingSniff.php b/src/Standards/Squiz/Sniffs/WhiteSpace/SemicolonSpacingSniff.php index 1a779ed5fe..bd2ecc1978 100644 --- a/src/Standards/Squiz/Sniffs/WhiteSpace/SemicolonSpacingSniff.php +++ b/src/Standards/Squiz/Sniffs/WhiteSpace/SemicolonSpacingSniff.php @@ -3,7 +3,8 @@ * Ensure there is no whitespace before a semicolon. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Sniffs/WhiteSpace/SuperfluousWhitespaceSniff.php b/src/Standards/Squiz/Sniffs/WhiteSpace/SuperfluousWhitespaceSniff.php index 353a5099fc..a517348d0d 100644 --- a/src/Standards/Squiz/Sniffs/WhiteSpace/SuperfluousWhitespaceSniff.php +++ b/src/Standards/Squiz/Sniffs/WhiteSpace/SuperfluousWhitespaceSniff.php @@ -7,7 +7,8 @@ * are two empty lines in functions. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Arrays/ArrayBracketSpacingUnitTest.php b/src/Standards/Squiz/Tests/Arrays/ArrayBracketSpacingUnitTest.php index d3496b2093..63d9b07e73 100644 --- a/src/Standards/Squiz/Tests/Arrays/ArrayBracketSpacingUnitTest.php +++ b/src/Standards/Squiz/Tests/Arrays/ArrayBracketSpacingUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ArrayBracketSpacing sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Arrays/ArrayDeclarationUnitTest.php b/src/Standards/Squiz/Tests/Arrays/ArrayDeclarationUnitTest.php index f6ecc430cf..8901b7471a 100644 --- a/src/Standards/Squiz/Tests/Arrays/ArrayDeclarationUnitTest.php +++ b/src/Standards/Squiz/Tests/Arrays/ArrayDeclarationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ArrayDeclaration sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Classes/ClassDeclarationUnitTest.php b/src/Standards/Squiz/Tests/Classes/ClassDeclarationUnitTest.php index 1b485816b6..91b085e1b3 100644 --- a/src/Standards/Squiz/Tests/Classes/ClassDeclarationUnitTest.php +++ b/src/Standards/Squiz/Tests/Classes/ClassDeclarationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ClassDeclaration sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Classes/ClassFileNameUnitTest.php b/src/Standards/Squiz/Tests/Classes/ClassFileNameUnitTest.php index a8a85ec3fb..50355b708f 100644 --- a/src/Standards/Squiz/Tests/Classes/ClassFileNameUnitTest.php +++ b/src/Standards/Squiz/Tests/Classes/ClassFileNameUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ClassFileName sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Classes/LowercaseClassKeywordsUnitTest.php b/src/Standards/Squiz/Tests/Classes/LowercaseClassKeywordsUnitTest.php index e08351705f..6b20ddc618 100644 --- a/src/Standards/Squiz/Tests/Classes/LowercaseClassKeywordsUnitTest.php +++ b/src/Standards/Squiz/Tests/Classes/LowercaseClassKeywordsUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the LowercaseClassKeywords sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Classes/SelfMemberReferenceUnitTest.php b/src/Standards/Squiz/Tests/Classes/SelfMemberReferenceUnitTest.php index 2c4ec6d65f..1d338fa8a6 100644 --- a/src/Standards/Squiz/Tests/Classes/SelfMemberReferenceUnitTest.php +++ b/src/Standards/Squiz/Tests/Classes/SelfMemberReferenceUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the SelfMemberReference sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Classes/ValidClassNameUnitTest.php b/src/Standards/Squiz/Tests/Classes/ValidClassNameUnitTest.php index 42eb0d7e24..2ce97b2a17 100644 --- a/src/Standards/Squiz/Tests/Classes/ValidClassNameUnitTest.php +++ b/src/Standards/Squiz/Tests/Classes/ValidClassNameUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ValidClassName sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Commenting/BlockCommentUnitTest.php b/src/Standards/Squiz/Tests/Commenting/BlockCommentUnitTest.php index fe5e1cfcd7..0083ab0d52 100644 --- a/src/Standards/Squiz/Tests/Commenting/BlockCommentUnitTest.php +++ b/src/Standards/Squiz/Tests/Commenting/BlockCommentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the BlockComment sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Commenting/ClassCommentUnitTest.php b/src/Standards/Squiz/Tests/Commenting/ClassCommentUnitTest.php index e055a84946..981b0b4646 100644 --- a/src/Standards/Squiz/Tests/Commenting/ClassCommentUnitTest.php +++ b/src/Standards/Squiz/Tests/Commenting/ClassCommentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ClassComment sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Commenting/ClosingDeclarationCommentUnitTest.php b/src/Standards/Squiz/Tests/Commenting/ClosingDeclarationCommentUnitTest.php index 84037e84ae..d90c1f0357 100644 --- a/src/Standards/Squiz/Tests/Commenting/ClosingDeclarationCommentUnitTest.php +++ b/src/Standards/Squiz/Tests/Commenting/ClosingDeclarationCommentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ClosingDeclarationComment sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Commenting/DocCommentAlignmentUnitTest.php b/src/Standards/Squiz/Tests/Commenting/DocCommentAlignmentUnitTest.php index cd175bd5d6..f835c59faf 100644 --- a/src/Standards/Squiz/Tests/Commenting/DocCommentAlignmentUnitTest.php +++ b/src/Standards/Squiz/Tests/Commenting/DocCommentAlignmentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the DocCommentAlignment sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Commenting/EmptyCatchCommentUnitTest.php b/src/Standards/Squiz/Tests/Commenting/EmptyCatchCommentUnitTest.php index 6d58a784de..bd2fc91f8c 100644 --- a/src/Standards/Squiz/Tests/Commenting/EmptyCatchCommentUnitTest.php +++ b/src/Standards/Squiz/Tests/Commenting/EmptyCatchCommentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the EmptyCatchComment sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.php b/src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.php index 67a96f8041..aa9bdd470b 100644 --- a/src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.php +++ b/src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the FileComment sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Commenting/FunctionCommentThrowTagUnitTest.php b/src/Standards/Squiz/Tests/Commenting/FunctionCommentThrowTagUnitTest.php index aba65a0968..68c6a5f29d 100644 --- a/src/Standards/Squiz/Tests/Commenting/FunctionCommentThrowTagUnitTest.php +++ b/src/Standards/Squiz/Tests/Commenting/FunctionCommentThrowTagUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the FunctionCommentThrowTag sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Commenting/FunctionCommentUnitTest.php b/src/Standards/Squiz/Tests/Commenting/FunctionCommentUnitTest.php index be3e69d96a..a6c0875511 100644 --- a/src/Standards/Squiz/Tests/Commenting/FunctionCommentUnitTest.php +++ b/src/Standards/Squiz/Tests/Commenting/FunctionCommentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the FunctionComment sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Commenting/InlineCommentUnitTest.php b/src/Standards/Squiz/Tests/Commenting/InlineCommentUnitTest.php index 1b8eae605f..2e63d301db 100644 --- a/src/Standards/Squiz/Tests/Commenting/InlineCommentUnitTest.php +++ b/src/Standards/Squiz/Tests/Commenting/InlineCommentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the InlineComment sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Commenting/LongConditionClosingCommentUnitTest.php b/src/Standards/Squiz/Tests/Commenting/LongConditionClosingCommentUnitTest.php index 2c67691176..3f2f1188e1 100644 --- a/src/Standards/Squiz/Tests/Commenting/LongConditionClosingCommentUnitTest.php +++ b/src/Standards/Squiz/Tests/Commenting/LongConditionClosingCommentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the LongConditionClosingComment sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Commenting/PostStatementCommentUnitTest.php b/src/Standards/Squiz/Tests/Commenting/PostStatementCommentUnitTest.php index 2f3e00c96c..dd6cafd08f 100644 --- a/src/Standards/Squiz/Tests/Commenting/PostStatementCommentUnitTest.php +++ b/src/Standards/Squiz/Tests/Commenting/PostStatementCommentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the PostStatementComment sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Commenting/VariableCommentUnitTest.php b/src/Standards/Squiz/Tests/Commenting/VariableCommentUnitTest.php index 52a802534e..9846f0cff8 100644 --- a/src/Standards/Squiz/Tests/Commenting/VariableCommentUnitTest.php +++ b/src/Standards/Squiz/Tests/Commenting/VariableCommentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the VariableComment sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/ControlStructures/ControlSignatureUnitTest.php b/src/Standards/Squiz/Tests/ControlStructures/ControlSignatureUnitTest.php index 1fdf68abb1..1dde4652da 100644 --- a/src/Standards/Squiz/Tests/ControlStructures/ControlSignatureUnitTest.php +++ b/src/Standards/Squiz/Tests/ControlStructures/ControlSignatureUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ControlSignature sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/ControlStructures/ElseIfDeclarationUnitTest.php b/src/Standards/Squiz/Tests/ControlStructures/ElseIfDeclarationUnitTest.php index 5f30f0eb6f..767266719c 100644 --- a/src/Standards/Squiz/Tests/ControlStructures/ElseIfDeclarationUnitTest.php +++ b/src/Standards/Squiz/Tests/ControlStructures/ElseIfDeclarationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ElseIfDeclaration sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/ControlStructures/ForEachLoopDeclarationUnitTest.php b/src/Standards/Squiz/Tests/ControlStructures/ForEachLoopDeclarationUnitTest.php index 05746baeb9..053cfebbcc 100644 --- a/src/Standards/Squiz/Tests/ControlStructures/ForEachLoopDeclarationUnitTest.php +++ b/src/Standards/Squiz/Tests/ControlStructures/ForEachLoopDeclarationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ForEachLoopDeclaration sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/ControlStructures/ForLoopDeclarationUnitTest.php b/src/Standards/Squiz/Tests/ControlStructures/ForLoopDeclarationUnitTest.php index 8ace08237d..7baf88bfb3 100644 --- a/src/Standards/Squiz/Tests/ControlStructures/ForLoopDeclarationUnitTest.php +++ b/src/Standards/Squiz/Tests/ControlStructures/ForLoopDeclarationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ForLoopDeclaration sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/ControlStructures/InlineIfDeclarationUnitTest.php b/src/Standards/Squiz/Tests/ControlStructures/InlineIfDeclarationUnitTest.php index 12f18b242b..22a6b62c95 100644 --- a/src/Standards/Squiz/Tests/ControlStructures/InlineIfDeclarationUnitTest.php +++ b/src/Standards/Squiz/Tests/ControlStructures/InlineIfDeclarationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the InlineIfDeclaration sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/ControlStructures/LowercaseDeclarationUnitTest.php b/src/Standards/Squiz/Tests/ControlStructures/LowercaseDeclarationUnitTest.php index 780655cd4a..b61628b654 100644 --- a/src/Standards/Squiz/Tests/ControlStructures/LowercaseDeclarationUnitTest.php +++ b/src/Standards/Squiz/Tests/ControlStructures/LowercaseDeclarationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the LowercaseDeclaration sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/ControlStructures/SwitchDeclarationUnitTest.php b/src/Standards/Squiz/Tests/ControlStructures/SwitchDeclarationUnitTest.php index 7183eeae95..a228ea0946 100644 --- a/src/Standards/Squiz/Tests/ControlStructures/SwitchDeclarationUnitTest.php +++ b/src/Standards/Squiz/Tests/ControlStructures/SwitchDeclarationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the SwitchDeclaration sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Files/FileExtensionUnitTest.php b/src/Standards/Squiz/Tests/Files/FileExtensionUnitTest.php index 3f575ab05a..d7b657e523 100644 --- a/src/Standards/Squiz/Tests/Files/FileExtensionUnitTest.php +++ b/src/Standards/Squiz/Tests/Files/FileExtensionUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the FileExtension sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Formatting/OperatorBracketUnitTest.php b/src/Standards/Squiz/Tests/Formatting/OperatorBracketUnitTest.php index 00256da7d0..0d5e5bb72f 100644 --- a/src/Standards/Squiz/Tests/Formatting/OperatorBracketUnitTest.php +++ b/src/Standards/Squiz/Tests/Formatting/OperatorBracketUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the OperatorBracket sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.php b/src/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.php index cac46a3493..e4a3e6551c 100644 --- a/src/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.php +++ b/src/Standards/Squiz/Tests/Functions/FunctionDeclarationArgumentSpacingUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the FunctionDeclarationArgumentSpacing sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Functions/FunctionDeclarationUnitTest.php b/src/Standards/Squiz/Tests/Functions/FunctionDeclarationUnitTest.php index c0a52898a3..b334f005bc 100644 --- a/src/Standards/Squiz/Tests/Functions/FunctionDeclarationUnitTest.php +++ b/src/Standards/Squiz/Tests/Functions/FunctionDeclarationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the FunctionDeclaration sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Functions/FunctionDuplicateArgumentUnitTest.php b/src/Standards/Squiz/Tests/Functions/FunctionDuplicateArgumentUnitTest.php index fc0c4b29ff..da82ed020b 100644 --- a/src/Standards/Squiz/Tests/Functions/FunctionDuplicateArgumentUnitTest.php +++ b/src/Standards/Squiz/Tests/Functions/FunctionDuplicateArgumentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the FunctionDuplicateArgument sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Functions/GlobalFunctionUnitTest.php b/src/Standards/Squiz/Tests/Functions/GlobalFunctionUnitTest.php index f7dd152a63..ad06bb5a4c 100644 --- a/src/Standards/Squiz/Tests/Functions/GlobalFunctionUnitTest.php +++ b/src/Standards/Squiz/Tests/Functions/GlobalFunctionUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the GlobalFunction sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Functions/LowercaseFunctionKeywordsUnitTest.php b/src/Standards/Squiz/Tests/Functions/LowercaseFunctionKeywordsUnitTest.php index 755b2e8494..4424dd7f63 100644 --- a/src/Standards/Squiz/Tests/Functions/LowercaseFunctionKeywordsUnitTest.php +++ b/src/Standards/Squiz/Tests/Functions/LowercaseFunctionKeywordsUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the LowercaseFunctionKeywords sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Functions/MultiLineFunctionDeclarationUnitTest.php b/src/Standards/Squiz/Tests/Functions/MultiLineFunctionDeclarationUnitTest.php index f3c780fbfb..b9165531c5 100644 --- a/src/Standards/Squiz/Tests/Functions/MultiLineFunctionDeclarationUnitTest.php +++ b/src/Standards/Squiz/Tests/Functions/MultiLineFunctionDeclarationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the MultiLineFunctionDeclaration sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/NamingConventions/ValidFunctionNameUnitTest.php b/src/Standards/Squiz/Tests/NamingConventions/ValidFunctionNameUnitTest.php index ceb8ca56d8..e036c2afbb 100644 --- a/src/Standards/Squiz/Tests/NamingConventions/ValidFunctionNameUnitTest.php +++ b/src/Standards/Squiz/Tests/NamingConventions/ValidFunctionNameUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ValidFunctionName sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/NamingConventions/ValidVariableNameUnitTest.php b/src/Standards/Squiz/Tests/NamingConventions/ValidVariableNameUnitTest.php index 32e522a226..5357b443e0 100644 --- a/src/Standards/Squiz/Tests/NamingConventions/ValidVariableNameUnitTest.php +++ b/src/Standards/Squiz/Tests/NamingConventions/ValidVariableNameUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ValidVariableName sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Objects/ObjectInstantiationUnitTest.php b/src/Standards/Squiz/Tests/Objects/ObjectInstantiationUnitTest.php index 0e0978ab40..e7eb2ebe60 100644 --- a/src/Standards/Squiz/Tests/Objects/ObjectInstantiationUnitTest.php +++ b/src/Standards/Squiz/Tests/Objects/ObjectInstantiationUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ObjectInstantiation sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Operators/ComparisonOperatorUsageUnitTest.php b/src/Standards/Squiz/Tests/Operators/ComparisonOperatorUsageUnitTest.php index c59286d410..d855678758 100644 --- a/src/Standards/Squiz/Tests/Operators/ComparisonOperatorUsageUnitTest.php +++ b/src/Standards/Squiz/Tests/Operators/ComparisonOperatorUsageUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ComparisonOperatorUsage sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Operators/IncrementDecrementUsageUnitTest.php b/src/Standards/Squiz/Tests/Operators/IncrementDecrementUsageUnitTest.php index d7ced2f7b6..a2075cb09a 100644 --- a/src/Standards/Squiz/Tests/Operators/IncrementDecrementUsageUnitTest.php +++ b/src/Standards/Squiz/Tests/Operators/IncrementDecrementUsageUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the IncrementDecrementUsage sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Operators/ValidLogicalOperatorsUnitTest.php b/src/Standards/Squiz/Tests/Operators/ValidLogicalOperatorsUnitTest.php index e4d99f20ac..f1813fb143 100644 --- a/src/Standards/Squiz/Tests/Operators/ValidLogicalOperatorsUnitTest.php +++ b/src/Standards/Squiz/Tests/Operators/ValidLogicalOperatorsUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ValidLogicalOperators sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/PHP/CommentedOutCodeUnitTest.php b/src/Standards/Squiz/Tests/PHP/CommentedOutCodeUnitTest.php index c4b21e9eae..6459e10083 100644 --- a/src/Standards/Squiz/Tests/PHP/CommentedOutCodeUnitTest.php +++ b/src/Standards/Squiz/Tests/PHP/CommentedOutCodeUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the CommentedOutCode sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/PHP/DisallowBooleanStatementUnitTest.php b/src/Standards/Squiz/Tests/PHP/DisallowBooleanStatementUnitTest.php index 22c0164151..b5437036d3 100644 --- a/src/Standards/Squiz/Tests/PHP/DisallowBooleanStatementUnitTest.php +++ b/src/Standards/Squiz/Tests/PHP/DisallowBooleanStatementUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the DisallowBooleanStatement sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/PHP/DisallowComparisonAssignmentUnitTest.php b/src/Standards/Squiz/Tests/PHP/DisallowComparisonAssignmentUnitTest.php index 356819488d..c517c4400f 100644 --- a/src/Standards/Squiz/Tests/PHP/DisallowComparisonAssignmentUnitTest.php +++ b/src/Standards/Squiz/Tests/PHP/DisallowComparisonAssignmentUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the DisallowComparisonAssignment sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/PHP/DisallowInlineIfUnitTest.php b/src/Standards/Squiz/Tests/PHP/DisallowInlineIfUnitTest.php index 3717f7363a..9235b8f776 100644 --- a/src/Standards/Squiz/Tests/PHP/DisallowInlineIfUnitTest.php +++ b/src/Standards/Squiz/Tests/PHP/DisallowInlineIfUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the DisallowObEndFlush sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/PHP/DisallowMultipleAssignmentsUnitTest.php b/src/Standards/Squiz/Tests/PHP/DisallowMultipleAssignmentsUnitTest.php index 450598fb62..2c04ba15b9 100644 --- a/src/Standards/Squiz/Tests/PHP/DisallowMultipleAssignmentsUnitTest.php +++ b/src/Standards/Squiz/Tests/PHP/DisallowMultipleAssignmentsUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the DisallowMultipleAssignments sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/PHP/DisallowSizeFunctionsInLoopsUnitTest.php b/src/Standards/Squiz/Tests/PHP/DisallowSizeFunctionsInLoopsUnitTest.php index 9b56250e3a..ebed4d916b 100644 --- a/src/Standards/Squiz/Tests/PHP/DisallowSizeFunctionsInLoopsUnitTest.php +++ b/src/Standards/Squiz/Tests/PHP/DisallowSizeFunctionsInLoopsUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the DisallowSizeFunctionsInLoops sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/PHP/DiscouragedFunctionsUnitTest.php b/src/Standards/Squiz/Tests/PHP/DiscouragedFunctionsUnitTest.php index 0dae706a64..017a5735ff 100644 --- a/src/Standards/Squiz/Tests/PHP/DiscouragedFunctionsUnitTest.php +++ b/src/Standards/Squiz/Tests/PHP/DiscouragedFunctionsUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the DiscouragedFunctions sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.php b/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.php index 6e21d9eaef..613324f92a 100644 --- a/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.php +++ b/src/Standards/Squiz/Tests/PHP/EmbeddedPhpUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the EmbeddedPhp sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/PHP/EvalUnitTest.php b/src/Standards/Squiz/Tests/PHP/EvalUnitTest.php index ef14ca095f..32bf624980 100644 --- a/src/Standards/Squiz/Tests/PHP/EvalUnitTest.php +++ b/src/Standards/Squiz/Tests/PHP/EvalUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the Eval sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/PHP/GlobalKeywordUnitTest.php b/src/Standards/Squiz/Tests/PHP/GlobalKeywordUnitTest.php index 2fd8300341..feb3078068 100644 --- a/src/Standards/Squiz/Tests/PHP/GlobalKeywordUnitTest.php +++ b/src/Standards/Squiz/Tests/PHP/GlobalKeywordUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the GlobalKeyword sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/PHP/HeredocUnitTest.php b/src/Standards/Squiz/Tests/PHP/HeredocUnitTest.php index ad18c1d953..80db1eb00c 100644 --- a/src/Standards/Squiz/Tests/PHP/HeredocUnitTest.php +++ b/src/Standards/Squiz/Tests/PHP/HeredocUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the Heredoc sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/PHP/InnerFunctionsUnitTest.php b/src/Standards/Squiz/Tests/PHP/InnerFunctionsUnitTest.php index d48a074bbb..0e9ce71e59 100644 --- a/src/Standards/Squiz/Tests/PHP/InnerFunctionsUnitTest.php +++ b/src/Standards/Squiz/Tests/PHP/InnerFunctionsUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the InnerFunctions sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/PHP/LowercasePHPFunctionsUnitTest.php b/src/Standards/Squiz/Tests/PHP/LowercasePHPFunctionsUnitTest.php index 27bcabc44d..c5d9af3dd8 100644 --- a/src/Standards/Squiz/Tests/PHP/LowercasePHPFunctionsUnitTest.php +++ b/src/Standards/Squiz/Tests/PHP/LowercasePHPFunctionsUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the LowercasePHPFunctions sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/PHP/NonExecutableCodeUnitTest.php b/src/Standards/Squiz/Tests/PHP/NonExecutableCodeUnitTest.php index 1aff165b6d..146a317ac6 100644 --- a/src/Standards/Squiz/Tests/PHP/NonExecutableCodeUnitTest.php +++ b/src/Standards/Squiz/Tests/PHP/NonExecutableCodeUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the NonExecutableCode sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Scope/MemberVarScopeUnitTest.php b/src/Standards/Squiz/Tests/Scope/MemberVarScopeUnitTest.php index 2dee807fd9..7ec9205e19 100644 --- a/src/Standards/Squiz/Tests/Scope/MemberVarScopeUnitTest.php +++ b/src/Standards/Squiz/Tests/Scope/MemberVarScopeUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the MemberVarScope sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Scope/MethodScopeUnitTest.php b/src/Standards/Squiz/Tests/Scope/MethodScopeUnitTest.php index 89b518f3fc..b9bdb5328e 100644 --- a/src/Standards/Squiz/Tests/Scope/MethodScopeUnitTest.php +++ b/src/Standards/Squiz/Tests/Scope/MethodScopeUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the MethodScope sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Scope/StaticThisUsageUnitTest.php b/src/Standards/Squiz/Tests/Scope/StaticThisUsageUnitTest.php index 58bed09baa..afa1f3debc 100644 --- a/src/Standards/Squiz/Tests/Scope/StaticThisUsageUnitTest.php +++ b/src/Standards/Squiz/Tests/Scope/StaticThisUsageUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the StaticThisUsage sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Strings/ConcatenationSpacingUnitTest.php b/src/Standards/Squiz/Tests/Strings/ConcatenationSpacingUnitTest.php index 3f87d71ea0..11e2da71ea 100644 --- a/src/Standards/Squiz/Tests/Strings/ConcatenationSpacingUnitTest.php +++ b/src/Standards/Squiz/Tests/Strings/ConcatenationSpacingUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ConcatenationSpacing sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Strings/DoubleQuoteUsageUnitTest.php b/src/Standards/Squiz/Tests/Strings/DoubleQuoteUsageUnitTest.php index 14c98c28f5..11b78cd300 100644 --- a/src/Standards/Squiz/Tests/Strings/DoubleQuoteUsageUnitTest.php +++ b/src/Standards/Squiz/Tests/Strings/DoubleQuoteUsageUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the DoubleQuoteUsage sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/Strings/EchoedStringsUnitTest.php b/src/Standards/Squiz/Tests/Strings/EchoedStringsUnitTest.php index 310e9d0582..44fa699df3 100644 --- a/src/Standards/Squiz/Tests/Strings/EchoedStringsUnitTest.php +++ b/src/Standards/Squiz/Tests/Strings/EchoedStringsUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the EchoedStrings sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/WhiteSpace/CastSpacingUnitTest.php b/src/Standards/Squiz/Tests/WhiteSpace/CastSpacingUnitTest.php index 3c33748ac0..cd47380946 100644 --- a/src/Standards/Squiz/Tests/WhiteSpace/CastSpacingUnitTest.php +++ b/src/Standards/Squiz/Tests/WhiteSpace/CastSpacingUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the CastSpacing sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/WhiteSpace/ControlStructureSpacingUnitTest.php b/src/Standards/Squiz/Tests/WhiteSpace/ControlStructureSpacingUnitTest.php index 64c58215d9..94834796df 100644 --- a/src/Standards/Squiz/Tests/WhiteSpace/ControlStructureSpacingUnitTest.php +++ b/src/Standards/Squiz/Tests/WhiteSpace/ControlStructureSpacingUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ControlStructureSpacing sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/WhiteSpace/FunctionClosingBraceSpaceUnitTest.php b/src/Standards/Squiz/Tests/WhiteSpace/FunctionClosingBraceSpaceUnitTest.php index 7dbee0d5a6..aa298bd983 100644 --- a/src/Standards/Squiz/Tests/WhiteSpace/FunctionClosingBraceSpaceUnitTest.php +++ b/src/Standards/Squiz/Tests/WhiteSpace/FunctionClosingBraceSpaceUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the FunctionClosingBraceSpace sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/WhiteSpace/FunctionOpeningBraceSpaceUnitTest.php b/src/Standards/Squiz/Tests/WhiteSpace/FunctionOpeningBraceSpaceUnitTest.php index 5d97bf3517..d45092d9b9 100644 --- a/src/Standards/Squiz/Tests/WhiteSpace/FunctionOpeningBraceSpaceUnitTest.php +++ b/src/Standards/Squiz/Tests/WhiteSpace/FunctionOpeningBraceSpaceUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the FunctionOpeningBraceSpace sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/WhiteSpace/FunctionSpacingUnitTest.php b/src/Standards/Squiz/Tests/WhiteSpace/FunctionSpacingUnitTest.php index 90eda97d10..44ef6da510 100644 --- a/src/Standards/Squiz/Tests/WhiteSpace/FunctionSpacingUnitTest.php +++ b/src/Standards/Squiz/Tests/WhiteSpace/FunctionSpacingUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the FunctionSpacing sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/WhiteSpace/LogicalOperatorSpacingUnitTest.php b/src/Standards/Squiz/Tests/WhiteSpace/LogicalOperatorSpacingUnitTest.php index fcc9fce0ce..abea612bae 100644 --- a/src/Standards/Squiz/Tests/WhiteSpace/LogicalOperatorSpacingUnitTest.php +++ b/src/Standards/Squiz/Tests/WhiteSpace/LogicalOperatorSpacingUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the LogicalOperatorSpacing sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/WhiteSpace/MemberVarSpacingUnitTest.php b/src/Standards/Squiz/Tests/WhiteSpace/MemberVarSpacingUnitTest.php index 271748a44a..2ba383db69 100644 --- a/src/Standards/Squiz/Tests/WhiteSpace/MemberVarSpacingUnitTest.php +++ b/src/Standards/Squiz/Tests/WhiteSpace/MemberVarSpacingUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the MemberVarSpacing sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/WhiteSpace/ObjectOperatorSpacingUnitTest.php b/src/Standards/Squiz/Tests/WhiteSpace/ObjectOperatorSpacingUnitTest.php index b6e7326449..534010e927 100644 --- a/src/Standards/Squiz/Tests/WhiteSpace/ObjectOperatorSpacingUnitTest.php +++ b/src/Standards/Squiz/Tests/WhiteSpace/ObjectOperatorSpacingUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ObjectOperatorSpacing sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/WhiteSpace/OperatorSpacingUnitTest.php b/src/Standards/Squiz/Tests/WhiteSpace/OperatorSpacingUnitTest.php index a422a444d6..61330b82d8 100644 --- a/src/Standards/Squiz/Tests/WhiteSpace/OperatorSpacingUnitTest.php +++ b/src/Standards/Squiz/Tests/WhiteSpace/OperatorSpacingUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the OperatorSpacing sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/WhiteSpace/ScopeClosingBraceUnitTest.php b/src/Standards/Squiz/Tests/WhiteSpace/ScopeClosingBraceUnitTest.php index 5839065a3b..d04d578c84 100644 --- a/src/Standards/Squiz/Tests/WhiteSpace/ScopeClosingBraceUnitTest.php +++ b/src/Standards/Squiz/Tests/WhiteSpace/ScopeClosingBraceUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ScopeClosingBrace sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/WhiteSpace/ScopeKeywordSpacingUnitTest.php b/src/Standards/Squiz/Tests/WhiteSpace/ScopeKeywordSpacingUnitTest.php index 27ee41b14b..0c3e1e5965 100644 --- a/src/Standards/Squiz/Tests/WhiteSpace/ScopeKeywordSpacingUnitTest.php +++ b/src/Standards/Squiz/Tests/WhiteSpace/ScopeKeywordSpacingUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ScopeKeywordSpacing sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/WhiteSpace/SemicolonSpacingUnitTest.php b/src/Standards/Squiz/Tests/WhiteSpace/SemicolonSpacingUnitTest.php index 48a3d4fb6a..e22bfd187b 100644 --- a/src/Standards/Squiz/Tests/WhiteSpace/SemicolonSpacingUnitTest.php +++ b/src/Standards/Squiz/Tests/WhiteSpace/SemicolonSpacingUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the SemicolonSpacing sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.php b/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.php index 8d26ec78a6..371c84ecce 100644 --- a/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.php +++ b/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the SuperfluousWhitespace sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Zend/Sniffs/Files/ClosingTagSniff.php b/src/Standards/Zend/Sniffs/Files/ClosingTagSniff.php index d758711f33..046b309373 100644 --- a/src/Standards/Zend/Sniffs/Files/ClosingTagSniff.php +++ b/src/Standards/Zend/Sniffs/Files/ClosingTagSniff.php @@ -3,7 +3,8 @@ * Checks that the file does not end with a closing tag. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php b/src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php index a09de8a2bd..939b7aa4b4 100644 --- a/src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php +++ b/src/Standards/Zend/Sniffs/NamingConventions/ValidVariableNameSniff.php @@ -3,7 +3,8 @@ * Checks the naming of variables and member variables. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Zend/Tests/Files/ClosingTagUnitTest.php b/src/Standards/Zend/Tests/Files/ClosingTagUnitTest.php index 2a82b994ea..f8e05af4b4 100644 --- a/src/Standards/Zend/Tests/Files/ClosingTagUnitTest.php +++ b/src/Standards/Zend/Tests/Files/ClosingTagUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ClosingTag sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Standards/Zend/Tests/NamingConventions/ValidVariableNameUnitTest.php b/src/Standards/Zend/Tests/NamingConventions/ValidVariableNameUnitTest.php index bbde81c0a7..1f9f16ff04 100644 --- a/src/Standards/Zend/Tests/NamingConventions/ValidVariableNameUnitTest.php +++ b/src/Standards/Zend/Tests/NamingConventions/ValidVariableNameUnitTest.php @@ -3,7 +3,8 @@ * Unit test class for the ValidVariableName sniff. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Tokenizers/Comment.php b/src/Tokenizers/Comment.php index ecf217b9f4..efbeca3455 100644 --- a/src/Tokenizers/Comment.php +++ b/src/Tokenizers/Comment.php @@ -3,7 +3,8 @@ * Tokenizes doc block comments. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Tokenizers/PHP.php b/src/Tokenizers/PHP.php index da0e0d721a..c7bde038f4 100644 --- a/src/Tokenizers/PHP.php +++ b/src/Tokenizers/PHP.php @@ -3,7 +3,8 @@ * Tokenizes PHP code. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Tokenizers/Tokenizer.php b/src/Tokenizers/Tokenizer.php index f0a125ef68..07a1f5065f 100644 --- a/src/Tokenizers/Tokenizer.php +++ b/src/Tokenizers/Tokenizer.php @@ -3,7 +3,8 @@ * The base tokenizer class. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Util/Cache.php b/src/Util/Cache.php index e7537fe700..bd0a7427dd 100644 --- a/src/Util/Cache.php +++ b/src/Util/Cache.php @@ -3,7 +3,8 @@ * Function for caching between runs. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Util/Common.php b/src/Util/Common.php index 5e5f9d4913..06c9785d42 100644 --- a/src/Util/Common.php +++ b/src/Util/Common.php @@ -3,7 +3,8 @@ * Basic util functions. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Util/Help.php b/src/Util/Help.php index 4dc2ecf0f4..c9faf71d76 100644 --- a/src/Util/Help.php +++ b/src/Util/Help.php @@ -10,7 +10,7 @@ * @internal * * @author Juliette Reinders Folmer - * @copyright 2024 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Util/Standards.php b/src/Util/Standards.php index acf3211e02..69ab68d00e 100644 --- a/src/Util/Standards.php +++ b/src/Util/Standards.php @@ -3,7 +3,8 @@ * Functions for helping process standards. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Util/Timing.php b/src/Util/Timing.php index a7ac2070dc..3f213fc6c2 100644 --- a/src/Util/Timing.php +++ b/src/Util/Timing.php @@ -11,8 +11,8 @@ * * @author Greg Sherwood * @author Juliette Reinders Folmer - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) - * @copyright 2025 PHPCSStandards and contributors + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/src/Util/Tokens.php b/src/Util/Tokens.php index 289781d94d..8b20521c4f 100644 --- a/src/Util/Tokens.php +++ b/src/Util/Tokens.php @@ -3,7 +3,8 @@ * Stores weightings and groupings of tokens. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/ConfigDouble.php b/tests/ConfigDouble.php index 68d8a70154..07fe26551d 100644 --- a/tests/ConfigDouble.php +++ b/tests/ConfigDouble.php @@ -11,7 +11,7 @@ * with the exception of select tests for the Config class itself. * * @author Juliette Reinders Folmer - * @copyright 2024 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/AbstractMethodTestCase.php b/tests/Core/AbstractMethodTestCase.php index 0fd30306fe..60525229e2 100644 --- a/tests/Core/AbstractMethodTestCase.php +++ b/tests/Core/AbstractMethodTestCase.php @@ -4,6 +4,7 @@ * * @author Juliette Reinders Folmer * @copyright 2018-2019 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Autoloader/DetermineLoadedClassTest.php b/tests/Core/Autoloader/DetermineLoadedClassTest.php index 964ed57050..74e9278607 100644 --- a/tests/Core/Autoloader/DetermineLoadedClassTest.php +++ b/tests/Core/Autoloader/DetermineLoadedClassTest.php @@ -3,7 +3,8 @@ * Tests for the \PHP_CodeSniffer\Autoload::determineLoadedClass method. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Config/IniSetTest.php b/tests/Core/Config/IniSetTest.php index a384df533c..a0008d4a7a 100644 --- a/tests/Core/Config/IniSetTest.php +++ b/tests/Core/Config/IniSetTest.php @@ -2,7 +2,7 @@ /** * Tests for overriding the value of a PHP ini setting using CLI arguments. * - * @copyright 2025 PHPCSStandards Contributors + * @copyright 2025 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Config/ReportWidthTest.php b/tests/Core/Config/ReportWidthTest.php index debb0fb10c..9dfa2d9f20 100644 --- a/tests/Core/Config/ReportWidthTest.php +++ b/tests/Core/Config/ReportWidthTest.php @@ -4,6 +4,7 @@ * * @author Juliette Reinders Folmer * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/ErrorSuppressionTest.php b/tests/Core/ErrorSuppressionTest.php index 4962cdd2de..cfb847a4a7 100644 --- a/tests/Core/ErrorSuppressionTest.php +++ b/tests/Core/ErrorSuppressionTest.php @@ -3,7 +3,8 @@ * Tests for PHP_CodeSniffer error suppression tags. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Files/File/FindEndOfStatementTest.php b/tests/Core/Files/File/FindEndOfStatementTest.php index 805b092ae1..9ff2bb6e75 100644 --- a/tests/Core/Files/File/FindEndOfStatementTest.php +++ b/tests/Core/Files/File/FindEndOfStatementTest.php @@ -3,7 +3,8 @@ * Tests for the \PHP_CodeSniffer\Files\File::findEndOfStatement method. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Files/File/FindExtendedClassNameTest.php b/tests/Core/Files/File/FindExtendedClassNameTest.php index eee13865cf..9ad9138301 100644 --- a/tests/Core/Files/File/FindExtendedClassNameTest.php +++ b/tests/Core/Files/File/FindExtendedClassNameTest.php @@ -3,7 +3,8 @@ * Tests for the \PHP_CodeSniffer\Files\File::findExtendedClassName method. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Files/File/FindImplementedInterfaceNamesTest.php b/tests/Core/Files/File/FindImplementedInterfaceNamesTest.php index 357140f030..d4d5b304e2 100644 --- a/tests/Core/Files/File/FindImplementedInterfaceNamesTest.php +++ b/tests/Core/Files/File/FindImplementedInterfaceNamesTest.php @@ -3,7 +3,8 @@ * Tests for the \PHP_CodeSniffer\Files\File::findImplementedInterfaceNames method. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Files/File/FindStartOfStatementTest.php b/tests/Core/Files/File/FindStartOfStatementTest.php index 231848ebf2..5341045517 100644 --- a/tests/Core/Files/File/FindStartOfStatementTest.php +++ b/tests/Core/Files/File/FindStartOfStatementTest.php @@ -4,8 +4,8 @@ * * @author Greg Sherwood * @author Juliette Reinders Folmer - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) - * @copyright 2019-2024 PHPCSStandards Contributors + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2019 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Files/File/GetClassPropertiesTest.php b/tests/Core/Files/File/GetClassPropertiesTest.php index 5f52b64054..b8869ca305 100644 --- a/tests/Core/Files/File/GetClassPropertiesTest.php +++ b/tests/Core/Files/File/GetClassPropertiesTest.php @@ -3,7 +3,8 @@ * Tests for the \PHP_CodeSniffer\Files\File:getClassProperties method. * * @author Juliette Reinders Folmer - * @copyright 2022 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2022-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Files/File/GetConditionTest.php b/tests/Core/Files/File/GetConditionTest.php index 050eef3191..972b1e6879 100644 --- a/tests/Core/Files/File/GetConditionTest.php +++ b/tests/Core/Files/File/GetConditionTest.php @@ -3,7 +3,7 @@ * Tests for the \PHP_CodeSniffer\Files\File:getCondition and \PHP_CodeSniffer\Files\File:hasCondition methods. * * @author Juliette Reinders Folmer - * @copyright 2022-2024 PHPCSStandards Contributors + * @copyright 2022 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Files/File/GetDeclarationNameParseError1Test.php b/tests/Core/Files/File/GetDeclarationNameParseError1Test.php index 6f5ad5f4ef..35aff4068a 100644 --- a/tests/Core/Files/File/GetDeclarationNameParseError1Test.php +++ b/tests/Core/Files/File/GetDeclarationNameParseError1Test.php @@ -3,7 +3,7 @@ * Tests for the \PHP_CodeSniffer\Files\File::getDeclarationName method. * * @author Juliette Reinders Folmer - * @copyright 2025 PHPCSStandards Contributors + * @copyright 2025 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Files/File/GetDeclarationNameParseError2Test.php b/tests/Core/Files/File/GetDeclarationNameParseError2Test.php index 9d9700ab51..189d01852f 100644 --- a/tests/Core/Files/File/GetDeclarationNameParseError2Test.php +++ b/tests/Core/Files/File/GetDeclarationNameParseError2Test.php @@ -3,7 +3,7 @@ * Tests for the \PHP_CodeSniffer\Files\File::getDeclarationName method. * * @author Juliette Reinders Folmer - * @copyright 2025 PHPCSStandards Contributors + * @copyright 2025 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Files/File/GetDeclarationNameTest.php b/tests/Core/Files/File/GetDeclarationNameTest.php index f273500fd8..1b7b749f17 100644 --- a/tests/Core/Files/File/GetDeclarationNameTest.php +++ b/tests/Core/Files/File/GetDeclarationNameTest.php @@ -3,7 +3,7 @@ * Tests for the \PHP_CodeSniffer\Files\File::getDeclarationName method. * * @author Juliette Reinders Folmer - * @copyright 2022-2024 PHPCSStandards Contributors + * @copyright 2022 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Files/File/GetMemberPropertiesTest.php b/tests/Core/Files/File/GetMemberPropertiesTest.php index 13e35ca6be..dba5828012 100644 --- a/tests/Core/Files/File/GetMemberPropertiesTest.php +++ b/tests/Core/Files/File/GetMemberPropertiesTest.php @@ -3,7 +3,8 @@ * Tests for the \PHP_CodeSniffer\Files\File::getMemberProperties method. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Files/File/GetMethodParametersParseError1Test.php b/tests/Core/Files/File/GetMethodParametersParseError1Test.php index f032954d08..efc3a1ee3d 100644 --- a/tests/Core/Files/File/GetMethodParametersParseError1Test.php +++ b/tests/Core/Files/File/GetMethodParametersParseError1Test.php @@ -3,7 +3,7 @@ * Tests for the \PHP_CodeSniffer\Files\File::getMethodParameters method. * * @author Juliette Reinders Folmer - * @copyright 2019-2024 PHPCSStandards Contributors + * @copyright 2019 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Files/File/GetMethodParametersParseError2Test.php b/tests/Core/Files/File/GetMethodParametersParseError2Test.php index 7a1ef78a58..d5d4b3d679 100644 --- a/tests/Core/Files/File/GetMethodParametersParseError2Test.php +++ b/tests/Core/Files/File/GetMethodParametersParseError2Test.php @@ -3,7 +3,7 @@ * Tests for the \PHP_CodeSniffer\Files\File::getMethodParameters method. * * @author Juliette Reinders Folmer - * @copyright 2019-2024 PHPCSStandards Contributors + * @copyright 2019 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Files/File/GetMethodParametersParseError3Test.php b/tests/Core/Files/File/GetMethodParametersParseError3Test.php index e715e69e5e..ded816708d 100644 --- a/tests/Core/Files/File/GetMethodParametersParseError3Test.php +++ b/tests/Core/Files/File/GetMethodParametersParseError3Test.php @@ -2,7 +2,7 @@ /** * Tests for the \PHP_CodeSniffer\Files\File::getMethodParameters method. * - * @copyright 2025 PHPCSStandards Contributors + * @copyright 2025 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Files/File/GetMethodParametersParseError4Test.php b/tests/Core/Files/File/GetMethodParametersParseError4Test.php index 1567240f56..4462162751 100644 --- a/tests/Core/Files/File/GetMethodParametersParseError4Test.php +++ b/tests/Core/Files/File/GetMethodParametersParseError4Test.php @@ -2,7 +2,7 @@ /** * Tests for the \PHP_CodeSniffer\Files\File::getMethodParameters method. * - * @copyright 2025 PHPCSStandards Contributors + * @copyright 2025 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Files/File/GetMethodParametersTest.php b/tests/Core/Files/File/GetMethodParametersTest.php index 42b2f06cf0..c5fb4397b9 100644 --- a/tests/Core/Files/File/GetMethodParametersTest.php +++ b/tests/Core/Files/File/GetMethodParametersTest.php @@ -4,8 +4,8 @@ * * @author Greg Sherwood * @author Juliette Reinders Folmer - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) - * @copyright 2019-2024 PHPCSStandards Contributors + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2019 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Files/File/GetMethodPropertiesTest.php b/tests/Core/Files/File/GetMethodPropertiesTest.php index bbb54fbde1..456e7dcf21 100644 --- a/tests/Core/Files/File/GetMethodPropertiesTest.php +++ b/tests/Core/Files/File/GetMethodPropertiesTest.php @@ -3,7 +3,8 @@ * Tests for the \PHP_CodeSniffer\Files\File::getMethodProperties method. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Files/File/GetTokensAsStringTest.php b/tests/Core/Files/File/GetTokensAsStringTest.php index 6f727e26e4..928bc04665 100644 --- a/tests/Core/Files/File/GetTokensAsStringTest.php +++ b/tests/Core/Files/File/GetTokensAsStringTest.php @@ -3,7 +3,7 @@ * Tests for the \PHP_CodeSniffer\Files\File::getTokensAsString method. * * @author Juliette Reinders Folmer - * @copyright 2022-2024 PHPCSStandards Contributors + * @copyright 2022 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Files/File/IsReferenceTest.php b/tests/Core/Files/File/IsReferenceTest.php index 10078c2e58..9d343ffb28 100644 --- a/tests/Core/Files/File/IsReferenceTest.php +++ b/tests/Core/Files/File/IsReferenceTest.php @@ -3,7 +3,8 @@ * Tests for the \PHP_CodeSniffer\Files\File::isReference method. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Files/FileList/AbstractFileListTestCase.php b/tests/Core/Files/FileList/AbstractFileListTestCase.php index d5ca689b8e..b97429db53 100644 --- a/tests/Core/Files/FileList/AbstractFileListTestCase.php +++ b/tests/Core/Files/FileList/AbstractFileListTestCase.php @@ -2,7 +2,7 @@ /** * Abstract testcase class for testing FileList methods. * - * @copyright 2025 PHPCSStandards Contributors + * @copyright 2025 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Files/FileList/AddFileTest.php b/tests/Core/Files/FileList/AddFileTest.php index 1eec1cefde..c88aa68edf 100644 --- a/tests/Core/Files/FileList/AddFileTest.php +++ b/tests/Core/Files/FileList/AddFileTest.php @@ -2,7 +2,7 @@ /** * Tests for the \PHP_CodeSniffer\Files\FileList::addFile method. * - * @copyright 2025 PHPCSStandards Contributors + * @copyright 2025 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Files/FileList/ConstructTest.php b/tests/Core/Files/FileList/ConstructTest.php index b6bdb9c9e0..6643e70ed9 100644 --- a/tests/Core/Files/FileList/ConstructTest.php +++ b/tests/Core/Files/FileList/ConstructTest.php @@ -2,7 +2,7 @@ /** * Tests for the \PHP_CodeSniffer\Files\FileList::__construct method. * - * @copyright 2025 PHPCSStandards Contributors + * @copyright 2025 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Files/FileList/FilterDouble.php b/tests/Core/Files/FileList/FilterDouble.php index 356b5b050e..380cb5ce98 100644 --- a/tests/Core/Files/FileList/FilterDouble.php +++ b/tests/Core/Files/FileList/FilterDouble.php @@ -2,7 +2,7 @@ /** * Double of the filter class that will accept every file. Used in the FileList tests. * - * @copyright 2025 PHPCSStandards Contributors + * @copyright 2025 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Filters/AbstractFilterTestCase.php b/tests/Core/Filters/AbstractFilterTestCase.php index 745f73d6a7..e28e18d59e 100644 --- a/tests/Core/Filters/AbstractFilterTestCase.php +++ b/tests/Core/Filters/AbstractFilterTestCase.php @@ -3,7 +3,7 @@ * Abstract Testcase class for testing Filters. * * @author Juliette Reinders Folmer - * @copyright 2023 PHPCSStandards Contributors + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Filters/Filter/AcceptTest.php b/tests/Core/Filters/Filter/AcceptTest.php index 82b5ec703e..2aa4a783a4 100644 --- a/tests/Core/Filters/Filter/AcceptTest.php +++ b/tests/Core/Filters/Filter/AcceptTest.php @@ -4,7 +4,8 @@ * * @author Willington Vega * @author Juliette Reinders Folmer - * @copyright 2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2019-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Filters/Filter/ShouldProcessFileWithoutExtensionTest.php b/tests/Core/Filters/Filter/ShouldProcessFileWithoutExtensionTest.php index 6de432f771..476e4aba92 100644 --- a/tests/Core/Filters/Filter/ShouldProcessFileWithoutExtensionTest.php +++ b/tests/Core/Filters/Filter/ShouldProcessFileWithoutExtensionTest.php @@ -2,7 +2,7 @@ /** * Tests for the \PHP_CodeSniffer\Filters\Filter class. * - * @copyright 2025 PHPCSStandards Contributors + * @copyright 2025 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Filters/GitModifiedTest.php b/tests/Core/Filters/GitModifiedTest.php index 6666fe86fa..95afbd9b21 100644 --- a/tests/Core/Filters/GitModifiedTest.php +++ b/tests/Core/Filters/GitModifiedTest.php @@ -3,7 +3,7 @@ * Tests for the \PHP_CodeSniffer\Filters\GitModified class. * * @author Juliette Reinders Folmer - * @copyright 2023 PHPCSStandards Contributors + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Filters/GitStagedTest.php b/tests/Core/Filters/GitStagedTest.php index 0d466c4714..f303c3d1b4 100644 --- a/tests/Core/Filters/GitStagedTest.php +++ b/tests/Core/Filters/GitStagedTest.php @@ -3,7 +3,7 @@ * Tests for the \PHP_CodeSniffer\Filters\GitStaged class. * * @author Juliette Reinders Folmer - * @copyright 2023 PHPCSStandards Contributors + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Fixer/GenerateDiffTest.php b/tests/Core/Fixer/GenerateDiffTest.php index bac132e87b..838dc43914 100644 --- a/tests/Core/Fixer/GenerateDiffTest.php +++ b/tests/Core/Fixer/GenerateDiffTest.php @@ -3,7 +3,7 @@ * Tests for diff generation. * * @author Juliette Reinders Folmer - * @copyright 2024 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Ruleset/ExplainTest.php b/tests/Core/Ruleset/ExplainTest.php index ddb7c3aa50..f4a7bb6f58 100644 --- a/tests/Core/Ruleset/ExplainTest.php +++ b/tests/Core/Ruleset/ExplainTest.php @@ -4,6 +4,7 @@ * * @author Juliette Reinders Folmer * @copyright 2023 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Ruleset/ProcessRulesetIniSetTest.php b/tests/Core/Ruleset/ProcessRulesetIniSetTest.php index 869be9459a..2c6a1098f0 100644 --- a/tests/Core/Ruleset/ProcessRulesetIniSetTest.php +++ b/tests/Core/Ruleset/ProcessRulesetIniSetTest.php @@ -2,7 +2,7 @@ /** * Tests for overriding the value of a PHP ini setting by passing a new value via a ruleset. * - * @copyright 2025 PHPCSStandards Contributors + * @copyright 2025 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Ruleset/PropertyTypeHandlingOldArrayFormatTest.php b/tests/Core/Ruleset/PropertyTypeHandlingOldArrayFormatTest.php index 44bea0df9d..dc7b9f7f7f 100644 --- a/tests/Core/Ruleset/PropertyTypeHandlingOldArrayFormatTest.php +++ b/tests/Core/Ruleset/PropertyTypeHandlingOldArrayFormatTest.php @@ -2,7 +2,6 @@ /** * Tests for the handling of properties being set via the ruleset. * - * @author Juliette Reinders Folmer * @copyright 2025 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Ruleset/RegisterSniffsRemovedTokenizersTest.php b/tests/Core/Ruleset/RegisterSniffsRemovedTokenizersTest.php index d91b61feef..1ef7a23fa8 100644 --- a/tests/Core/Ruleset/RegisterSniffsRemovedTokenizersTest.php +++ b/tests/Core/Ruleset/RegisterSniffsRemovedTokenizersTest.php @@ -2,7 +2,6 @@ /** * Test the Ruleset::registerSniffs() method. * - * @author Juliette Reinders Folmer * @copyright 2025 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Ruleset/RuleInclusionAbsoluteLinuxTest.php b/tests/Core/Ruleset/RuleInclusionAbsoluteLinuxTest.php index 2502571597..9b6f89d4cf 100644 --- a/tests/Core/Ruleset/RuleInclusionAbsoluteLinuxTest.php +++ b/tests/Core/Ruleset/RuleInclusionAbsoluteLinuxTest.php @@ -4,6 +4,7 @@ * * @author Juliette Reinders Folmer * @copyright 2019 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Ruleset/RuleInclusionAbsoluteWindowsTest.php b/tests/Core/Ruleset/RuleInclusionAbsoluteWindowsTest.php index 8105e16b15..c7a4c73bc8 100644 --- a/tests/Core/Ruleset/RuleInclusionAbsoluteWindowsTest.php +++ b/tests/Core/Ruleset/RuleInclusionAbsoluteWindowsTest.php @@ -4,6 +4,7 @@ * * @author Juliette Reinders Folmer * @copyright 2019 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Ruleset/RuleInclusionTest.php b/tests/Core/Ruleset/RuleInclusionTest.php index 0b258d06dc..677cde1eb7 100644 --- a/tests/Core/Ruleset/RuleInclusionTest.php +++ b/tests/Core/Ruleset/RuleInclusionTest.php @@ -4,6 +4,7 @@ * * @author Juliette Reinders Folmer * @copyright 2019 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Ruleset/SetSniffPropertyTest.php b/tests/Core/Ruleset/SetSniffPropertyTest.php index ed4b4947db..37f3ee4222 100644 --- a/tests/Core/Ruleset/SetSniffPropertyTest.php +++ b/tests/Core/Ruleset/SetSniffPropertyTest.php @@ -4,6 +4,7 @@ * * @author Juliette Reinders Folmer * @copyright 2022 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Ruleset/ShowSniffDeprecationsTest.php b/tests/Core/Ruleset/ShowSniffDeprecationsTest.php index cea0481f9f..c0a664d2ab 100644 --- a/tests/Core/Ruleset/ShowSniffDeprecationsTest.php +++ b/tests/Core/Ruleset/ShowSniffDeprecationsTest.php @@ -3,7 +3,7 @@ * Tests PHPCS native handling of sniff deprecations. * * @author Juliette Reinders Folmer - * @copyright 2024 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Runner/RunPHPCSExplainTest.php b/tests/Core/Runner/RunPHPCSExplainTest.php index e72d47cd93..7ee512475c 100644 --- a/tests/Core/Runner/RunPHPCSExplainTest.php +++ b/tests/Core/Runner/RunPHPCSExplainTest.php @@ -4,6 +4,7 @@ * * @author Juliette Reinders Folmer * @copyright 2023 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Sniffs/AbstractArraySniffTest.php b/tests/Core/Sniffs/AbstractArraySniffTest.php index 0a55f14fa8..d32bf664f0 100644 --- a/tests/Core/Sniffs/AbstractArraySniffTest.php +++ b/tests/Core/Sniffs/AbstractArraySniffTest.php @@ -3,7 +3,8 @@ * Tests for the \PHP_CodeSniffer\Sniffs\AbstractArraySniff. * * @author Greg Sherwood - * @copyright 2006-2020 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Sniffs/AbstractArraySniffTestable.php b/tests/Core/Sniffs/AbstractArraySniffTestable.php index ec51df3181..322b97a155 100644 --- a/tests/Core/Sniffs/AbstractArraySniffTestable.php +++ b/tests/Core/Sniffs/AbstractArraySniffTestable.php @@ -3,7 +3,8 @@ * A testable implementation of \PHP_CodeSniffer\Sniffs\AbstractArraySniff. * * @author Greg Sherwood - * @copyright 2006-2020 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/AbstractTokenizerTestCase.php b/tests/Core/Tokenizers/AbstractTokenizerTestCase.php index 36d7e82327..e7e39767d3 100644 --- a/tests/Core/Tokenizers/AbstractTokenizerTestCase.php +++ b/tests/Core/Tokenizers/AbstractTokenizerTestCase.php @@ -7,6 +7,7 @@ * * @author Juliette Reinders Folmer * @copyright 2018-2019 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/AnonClassParenthesisOwnerTest.php b/tests/Core/Tokenizers/PHP/AnonClassParenthesisOwnerTest.php index ac62a3fac3..74cd796aa9 100644 --- a/tests/Core/Tokenizers/PHP/AnonClassParenthesisOwnerTest.php +++ b/tests/Core/Tokenizers/PHP/AnonClassParenthesisOwnerTest.php @@ -3,7 +3,8 @@ * Tests the adding of the "parenthesis" keys to an anonymous class token. * * @author Juliette Reinders Folmer - * @copyright 2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2019-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/ArrayKeywordTest.php b/tests/Core/Tokenizers/PHP/ArrayKeywordTest.php index 440b7c7b27..1ef7991f7d 100644 --- a/tests/Core/Tokenizers/PHP/ArrayKeywordTest.php +++ b/tests/Core/Tokenizers/PHP/ArrayKeywordTest.php @@ -3,7 +3,8 @@ * Tests that the array keyword is tokenized correctly. * * @author Juliette Reinders Folmer - * @copyright 2021 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2021-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/AttributesTest.php b/tests/Core/Tokenizers/PHP/AttributesTest.php index e9b821d47a..3d9fc409e4 100644 --- a/tests/Core/Tokenizers/PHP/AttributesTest.php +++ b/tests/Core/Tokenizers/PHP/AttributesTest.php @@ -3,7 +3,8 @@ * Tests the support of PHP 8 attributes * * @author Alessandro Chitolina - * @copyright 2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2019-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/BackfillEnumTest.php b/tests/Core/Tokenizers/PHP/BackfillEnumTest.php index d70d8c3cd8..bf5173647a 100644 --- a/tests/Core/Tokenizers/PHP/BackfillEnumTest.php +++ b/tests/Core/Tokenizers/PHP/BackfillEnumTest.php @@ -3,7 +3,8 @@ * Tests the support of PHP 8.1 "enum" keyword. * * @author Jaroslav Hanslík - * @copyright 2021 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2021-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/BackfillExplicitOctalNotationTest.php b/tests/Core/Tokenizers/PHP/BackfillExplicitOctalNotationTest.php index 325d6c0ec0..57b77ea09d 100644 --- a/tests/Core/Tokenizers/PHP/BackfillExplicitOctalNotationTest.php +++ b/tests/Core/Tokenizers/PHP/BackfillExplicitOctalNotationTest.php @@ -3,7 +3,8 @@ * Tests the tokenization of explicit octal notation to PHP < 8.1. * * @author Mark Baker - * @copyright 2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2019-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/BackfillFnTokenTest.php b/tests/Core/Tokenizers/PHP/BackfillFnTokenTest.php index 4738af4474..4e6d8de689 100644 --- a/tests/Core/Tokenizers/PHP/BackfillFnTokenTest.php +++ b/tests/Core/Tokenizers/PHP/BackfillFnTokenTest.php @@ -3,7 +3,8 @@ * Tests the backfilling of the T_FN token to PHP < 7.4. * * @author Greg Sherwood - * @copyright 2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2019-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/BackfillMatchTokenTest.php b/tests/Core/Tokenizers/PHP/BackfillMatchTokenTest.php index 538aaa3397..576176db50 100644 --- a/tests/Core/Tokenizers/PHP/BackfillMatchTokenTest.php +++ b/tests/Core/Tokenizers/PHP/BackfillMatchTokenTest.php @@ -4,7 +4,8 @@ * setting of parenthesis/scopes for match control structures across PHP versions. * * @author Juliette Reinders Folmer - * @copyright 2020-2021 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2020-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/BackfillNumericSeparatorTest.php b/tests/Core/Tokenizers/PHP/BackfillNumericSeparatorTest.php index e24d323a29..9de5e184e8 100644 --- a/tests/Core/Tokenizers/PHP/BackfillNumericSeparatorTest.php +++ b/tests/Core/Tokenizers/PHP/BackfillNumericSeparatorTest.php @@ -3,7 +3,8 @@ * Tests the backfilling of numeric separators to PHP < 7.4. * * @author Greg Sherwood - * @copyright 2019 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2019-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/BackfillReadonlyTest.php b/tests/Core/Tokenizers/PHP/BackfillReadonlyTest.php index 5f4ded0cf9..f4a19d88a7 100644 --- a/tests/Core/Tokenizers/PHP/BackfillReadonlyTest.php +++ b/tests/Core/Tokenizers/PHP/BackfillReadonlyTest.php @@ -3,7 +3,8 @@ * Tests the support of PHP 8.1 "readonly" keyword. * * @author Jaroslav Hanslík - * @copyright 2021 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2021-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/BitwiseOrTest.php b/tests/Core/Tokenizers/PHP/BitwiseOrTest.php index 56f6b2af59..c383472bf7 100644 --- a/tests/Core/Tokenizers/PHP/BitwiseOrTest.php +++ b/tests/Core/Tokenizers/PHP/BitwiseOrTest.php @@ -3,7 +3,8 @@ * Tests the conversion of bitwise or tokens to type union tokens. * * @author Juliette Reinders Folmer - * @copyright 2020 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2020-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/ContextSensitiveKeywordsTest.php b/tests/Core/Tokenizers/PHP/ContextSensitiveKeywordsTest.php index bb3bf3f56f..b8a7c7fc11 100644 --- a/tests/Core/Tokenizers/PHP/ContextSensitiveKeywordsTest.php +++ b/tests/Core/Tokenizers/PHP/ContextSensitiveKeywordsTest.php @@ -3,7 +3,8 @@ * Tests the conversion of PHP native context sensitive keywords to T_STRING. * * @author Jaroslav Hanslík - * @copyright 2020 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2020-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/DefaultKeywordTest.php b/tests/Core/Tokenizers/PHP/DefaultKeywordTest.php index 34a7e2b2d9..fe8303fa38 100644 --- a/tests/Core/Tokenizers/PHP/DefaultKeywordTest.php +++ b/tests/Core/Tokenizers/PHP/DefaultKeywordTest.php @@ -4,7 +4,8 @@ * and makes sure that the tokenization of switch `T_DEFAULT` structures is not aversely affected. * * @author Juliette Reinders Folmer - * @copyright 2020-2021 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2020-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/DoubleArrowTest.php b/tests/Core/Tokenizers/PHP/DoubleArrowTest.php index 71abeb73e8..c6b8c6b48a 100644 --- a/tests/Core/Tokenizers/PHP/DoubleArrowTest.php +++ b/tests/Core/Tokenizers/PHP/DoubleArrowTest.php @@ -5,7 +5,8 @@ * is not aversely affected. * * @author Juliette Reinders Folmer - * @copyright 2020-2021 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2020-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/DoubleQuotedStringTest.php b/tests/Core/Tokenizers/PHP/DoubleQuotedStringTest.php index 1bc3bf4888..37771b7c79 100644 --- a/tests/Core/Tokenizers/PHP/DoubleQuotedStringTest.php +++ b/tests/Core/Tokenizers/PHP/DoubleQuotedStringTest.php @@ -4,7 +4,8 @@ * as one double quoted string token. * * @author Juliette Reinders Folmer - * @copyright 2022 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2022-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/EnumCaseTest.php b/tests/Core/Tokenizers/PHP/EnumCaseTest.php index 639814afaf..8a458e7cb9 100644 --- a/tests/Core/Tokenizers/PHP/EnumCaseTest.php +++ b/tests/Core/Tokenizers/PHP/EnumCaseTest.php @@ -3,7 +3,8 @@ * Tests converting enum "case" to T_ENUM_CASE. * * @author Jaroslav Hanslík - * @copyright 2021 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2021-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/FinallyTest.php b/tests/Core/Tokenizers/PHP/FinallyTest.php index 19f9c8c500..afa2ad4795 100644 --- a/tests/Core/Tokenizers/PHP/FinallyTest.php +++ b/tests/Core/Tokenizers/PHP/FinallyTest.php @@ -3,7 +3,8 @@ * Tests the tokenization of the finally keyword. * * @author Juliette Reinders Folmer - * @copyright 2021 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2021-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/GotoLabelTest.php b/tests/Core/Tokenizers/PHP/GotoLabelTest.php index 3bad9c646f..7ca4dde480 100644 --- a/tests/Core/Tokenizers/PHP/GotoLabelTest.php +++ b/tests/Core/Tokenizers/PHP/GotoLabelTest.php @@ -3,7 +3,8 @@ * Tests the tokenization of goto declarations and statements. * * @author Juliette Reinders Folmer - * @copyright 2020 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2020-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/HeredocStringTest.php b/tests/Core/Tokenizers/PHP/HeredocStringTest.php index 5a2319de31..1ad4ee6e80 100644 --- a/tests/Core/Tokenizers/PHP/HeredocStringTest.php +++ b/tests/Core/Tokenizers/PHP/HeredocStringTest.php @@ -4,7 +4,8 @@ * as one heredoc string token. * * @author Juliette Reinders Folmer - * @copyright 2022 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2022-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/NamedFunctionCallArgumentsTest.php b/tests/Core/Tokenizers/PHP/NamedFunctionCallArgumentsTest.php index 9ae6cd6ac2..4b4f60a5ff 100644 --- a/tests/Core/Tokenizers/PHP/NamedFunctionCallArgumentsTest.php +++ b/tests/Core/Tokenizers/PHP/NamedFunctionCallArgumentsTest.php @@ -3,7 +3,8 @@ * Tests the backfilling of the parameter labels for PHP 8.0 named parameters in function calls. * * @author Juliette Reinders Folmer - * @copyright 2020 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2020-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/NamespacedNameSingleTokenTest.php b/tests/Core/Tokenizers/PHP/NamespacedNameSingleTokenTest.php index 4fba4cc1a9..1ad619993e 100644 --- a/tests/Core/Tokenizers/PHP/NamespacedNameSingleTokenTest.php +++ b/tests/Core/Tokenizers/PHP/NamespacedNameSingleTokenTest.php @@ -13,7 +13,8 @@ * {@link https://github.com/squizlabs/PHP_CodeSniffer/issues/3041} * * @author Juliette Reinders Folmer - * @copyright 2020 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2020-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/NullsafeObjectOperatorTest.php b/tests/Core/Tokenizers/PHP/NullsafeObjectOperatorTest.php index 2046389ac2..76fbf33071 100644 --- a/tests/Core/Tokenizers/PHP/NullsafeObjectOperatorTest.php +++ b/tests/Core/Tokenizers/PHP/NullsafeObjectOperatorTest.php @@ -3,7 +3,8 @@ * Tests the backfill for the PHP >= 8.0 nullsafe object operator. * * @author Juliette Reinders Folmer - * @copyright 2020 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2020-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/OtherContextSensitiveKeywordsTest.php b/tests/Core/Tokenizers/PHP/OtherContextSensitiveKeywordsTest.php index fe39db6aa5..94f9dae4b0 100644 --- a/tests/Core/Tokenizers/PHP/OtherContextSensitiveKeywordsTest.php +++ b/tests/Core/Tokenizers/PHP/OtherContextSensitiveKeywordsTest.php @@ -3,7 +3,8 @@ * Tests the conversion of PHPCS native context sensitive keyword tokens to T_STRING. * * @author Juliette Reinders Folmer - * @copyright 2020 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2020-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/ShortArrayTest.php b/tests/Core/Tokenizers/PHP/ShortArrayTest.php index 0ddb554891..371568b711 100644 --- a/tests/Core/Tokenizers/PHP/ShortArrayTest.php +++ b/tests/Core/Tokenizers/PHP/ShortArrayTest.php @@ -3,7 +3,8 @@ * Tests the conversion of square bracket tokens to short array tokens. * * @author Juliette Reinders Folmer - * @copyright 2020 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2020-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/StableCommentWhitespaceTest.php b/tests/Core/Tokenizers/PHP/StableCommentWhitespaceTest.php index dae7215e10..153dab5d32 100644 --- a/tests/Core/Tokenizers/PHP/StableCommentWhitespaceTest.php +++ b/tests/Core/Tokenizers/PHP/StableCommentWhitespaceTest.php @@ -9,7 +9,8 @@ * This test file safeguards that. * * @author Juliette Reinders Folmer - * @copyright 2020 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2020-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/StableCommentWhitespaceWinTest.php b/tests/Core/Tokenizers/PHP/StableCommentWhitespaceWinTest.php index 12ed42b137..1e8bb6f951 100644 --- a/tests/Core/Tokenizers/PHP/StableCommentWhitespaceWinTest.php +++ b/tests/Core/Tokenizers/PHP/StableCommentWhitespaceWinTest.php @@ -6,7 +6,8 @@ * Windows line endings. * * @author Juliette Reinders Folmer - * @copyright 2020 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2020-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/TypeIntersectionTest.php b/tests/Core/Tokenizers/PHP/TypeIntersectionTest.php index 8ebb107f22..d058e98bee 100644 --- a/tests/Core/Tokenizers/PHP/TypeIntersectionTest.php +++ b/tests/Core/Tokenizers/PHP/TypeIntersectionTest.php @@ -4,7 +4,8 @@ * * @author Juliette Reinders Folmer * @author Jaroslav Hanslík - * @copyright 2020 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2020-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/PHP/YieldTest.php b/tests/Core/Tokenizers/PHP/YieldTest.php index 440678ff61..c4dbc46fbe 100644 --- a/tests/Core/Tokenizers/PHP/YieldTest.php +++ b/tests/Core/Tokenizers/PHP/YieldTest.php @@ -3,7 +3,8 @@ * Tests the tokenization of the `yield` and `yield from` keywords. * * @author Juliette Reinders Folmer - * @copyright 2021 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2021-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/Tokenizer/CreatePositionMapHeredocNowdocCloserTest.php b/tests/Core/Tokenizers/Tokenizer/CreatePositionMapHeredocNowdocCloserTest.php index 1a0e1d91a0..103622393d 100644 --- a/tests/Core/Tokenizers/Tokenizer/CreatePositionMapHeredocNowdocCloserTest.php +++ b/tests/Core/Tokenizers/Tokenizer/CreatePositionMapHeredocNowdocCloserTest.php @@ -3,7 +3,8 @@ * Tests the tokenization of heredoc/nowdoc closer tokens. * * @author Juliette Reinders Folmer - * @copyright 2020 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2020-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/Tokenizer/CreateTokenMapArrayParenthesesTest.php b/tests/Core/Tokenizers/Tokenizer/CreateTokenMapArrayParenthesesTest.php index 48fc951565..670436e73b 100644 --- a/tests/Core/Tokenizers/Tokenizer/CreateTokenMapArrayParenthesesTest.php +++ b/tests/Core/Tokenizers/Tokenizer/CreateTokenMapArrayParenthesesTest.php @@ -3,7 +3,8 @@ * Tests that the array keyword is tokenized correctly. * * @author Juliette Reinders Folmer - * @copyright 2021 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2021-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/Tokenizer/CreateTokenMapClosureUseParenthesesParseErrorTest.php b/tests/Core/Tokenizers/Tokenizer/CreateTokenMapClosureUseParenthesesParseErrorTest.php index 89d18703a4..005f43e05e 100644 --- a/tests/Core/Tokenizers/Tokenizer/CreateTokenMapClosureUseParenthesesParseErrorTest.php +++ b/tests/Core/Tokenizers/Tokenizer/CreateTokenMapClosureUseParenthesesParseErrorTest.php @@ -2,7 +2,7 @@ /** * Tests the adding of the "parenthesis" keys to closure use tokens. * - * @copyright 2020 PHPCSStandards and contributors + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/Tokenizer/CreateTokenMapClosureUseParenthesesTest.php b/tests/Core/Tokenizers/Tokenizer/CreateTokenMapClosureUseParenthesesTest.php index f6f4d798a4..078d264fa9 100644 --- a/tests/Core/Tokenizers/Tokenizer/CreateTokenMapClosureUseParenthesesTest.php +++ b/tests/Core/Tokenizers/Tokenizer/CreateTokenMapClosureUseParenthesesTest.php @@ -2,7 +2,7 @@ /** * Tests the adding of the "parenthesis" keys to closure use tokens. * - * @copyright 2020 PHPCSStandards and contributors + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/Tokenizer/RecurseScopeMapCaseKeywordConditionsTest.php b/tests/Core/Tokenizers/Tokenizer/RecurseScopeMapCaseKeywordConditionsTest.php index fd2ecc265b..9a15b274c5 100644 --- a/tests/Core/Tokenizers/Tokenizer/RecurseScopeMapCaseKeywordConditionsTest.php +++ b/tests/Core/Tokenizers/Tokenizer/RecurseScopeMapCaseKeywordConditionsTest.php @@ -3,7 +3,8 @@ * Tests that switch "case" statements get scope indexes, while enum "case" statements do not. * * @author Jaroslav Hanslík - * @copyright 2021 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2021-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/Tokenizer/RecurseScopeMapDefaultKeywordConditionsTest.php b/tests/Core/Tokenizers/Tokenizer/RecurseScopeMapDefaultKeywordConditionsTest.php index 286b07a6c3..4f9339acfa 100644 --- a/tests/Core/Tokenizers/Tokenizer/RecurseScopeMapDefaultKeywordConditionsTest.php +++ b/tests/Core/Tokenizers/Tokenizer/RecurseScopeMapDefaultKeywordConditionsTest.php @@ -3,7 +3,8 @@ * Tests that switch "default" statements get scope indexes, while match "default" statements do not. * * @author Juliette Reinders Folmer - * @copyright 2020-2021 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2020-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Tokenizers/Tokenizer/RecurseScopeMapWithNamespaceOperatorTest.php b/tests/Core/Tokenizers/Tokenizer/RecurseScopeMapWithNamespaceOperatorTest.php index c1d57b3004..be00b13269 100644 --- a/tests/Core/Tokenizers/Tokenizer/RecurseScopeMapWithNamespaceOperatorTest.php +++ b/tests/Core/Tokenizers/Tokenizer/RecurseScopeMapWithNamespaceOperatorTest.php @@ -3,7 +3,8 @@ * Tests the scope opener/closers are set correctly when the namespace keyword is used as an operator. * * @author Juliette Reinders Folmer - * @copyright 2020 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2020-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Util/Common/IsCamelCapsTest.php b/tests/Core/Util/Common/IsCamelCapsTest.php index 2d71aae31c..bec8464142 100644 --- a/tests/Core/Util/Common/IsCamelCapsTest.php +++ b/tests/Core/Util/Common/IsCamelCapsTest.php @@ -3,7 +3,8 @@ * Tests for the \PHP_CodeSniffer\Util\Common::isCamelCaps method. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Util/Common/StripColorsTest.php b/tests/Core/Util/Common/StripColorsTest.php index c46bb579f6..c5c486f7d3 100644 --- a/tests/Core/Util/Common/StripColorsTest.php +++ b/tests/Core/Util/Common/StripColorsTest.php @@ -3,7 +3,7 @@ * Tests for the \PHP_CodeSniffer\Util\Common::stripColors() method. * * @author Juliette Reinders Folmer - * @copyright 2024 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Core/Util/Common/SuggestTypeTest.php b/tests/Core/Util/Common/SuggestTypeTest.php index aefddf0433..bb3cda50a0 100644 --- a/tests/Core/Util/Common/SuggestTypeTest.php +++ b/tests/Core/Util/Common/SuggestTypeTest.php @@ -4,6 +4,7 @@ * * @author Juliette Reinders Folmer * @copyright 2019 Juliette Reinders Folmer. All rights reserved. + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/Standards/AbstractSniffTestCase.php b/tests/Standards/AbstractSniffTestCase.php index 6e4a7ef6b3..c97c5b8c21 100644 --- a/tests/Standards/AbstractSniffTestCase.php +++ b/tests/Standards/AbstractSniffTestCase.php @@ -7,7 +7,8 @@ * warnings and errors that are not expected, are considered test failures. * * @author Greg Sherwood - * @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */ diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 4be5012a90..b4c054e966 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -3,7 +3,8 @@ * Bootstrap file for PHP_CodeSniffer unit tests. * * @author Greg Sherwood - * @copyright 2006-2017 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2006-2023 Squiz Pty Ltd (ABN 77 084 670 600) + * @copyright 2023 PHPCSStandards and contributors * @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/HEAD/licence.txt BSD Licence */