Skip to content

Commit

Permalink
CS: minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Nov 20, 2023
1 parent ec67c28 commit cbc03d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion Yoast/Sniffs/Commenting/FileCommentSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Standards\Squiz\Sniffs\Commenting\FileCommentSniff as Squiz_FileCommentSniff;
use PHP_CodeSniffer\Util\Tokens;
use PHPCSUtils\Tokens\Collections;

/**
* Namespaced files containing an OO structure do not need a file docblock in YoastCS.
Expand Down
4 changes: 3 additions & 1 deletion Yoast/Tests/Utils/PSR4PathsTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ final class PSR4PathsTraitTest extends NonSniffTestCase {
* Clean up the trait after each test.
*
* @after
*
* @return void
*/
protected function clean_up() {
$this->psr4_paths = [];
Expand Down Expand Up @@ -114,7 +116,7 @@ public function test_get_psr4_info_explicit( $psr4_paths, $file_path, $expected
* @see test_get_psr4_info() For the array format.
* @see test_get_psr4_info_explicit() For the array format.
*
* @return array<string, array<string, string|array<string, string|bool>>>
* @return array<string, array<string, string|array<string, string|bool|array<string, string>>>>
*/
public static function data_is_get_psr4_info() {
$default_psr4_paths = self::data_validate_psr4_paths()['multiple prefixes, variation of paths']['psr4_paths'];
Expand Down

0 comments on commit cbc03d2

Please sign in to comment.