Skip to content

Commit 3ed7f7a

Browse files
authored
Merge pull request #912 from PHPCSStandards/feature/psr12-fileheader-add-extra-test
PSR12/FileHeader: add extra test
2 parents 59ec82e + 3f69685 commit 3ed7f7a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
3+
/**
4+
* Make sure the sniff doesn't trigger on closure use.
5+
*/
6+
7+
declare(strict_types=1);
8+
9+
namespace Test;
10+
11+
$cl = function($a) use ($b) {};

0 commit comments

Comments
 (0)