Skip to content

Commit 83d5ce9

Browse files
committed
🚿
1 parent ccf5b13 commit 83d5ce9

27 files changed

+77
-89
lines changed

.phan/config.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
// Note that the **only** effect of choosing `'5.6'` is to infer
1515
// that functions removed in php 7.0 exist.
1616
// (See `backward_compatibility_checks` for additional options)
17-
'target_php_version' => null,
18-
'minimum_target_php_version' => '7.4',
17+
'target_php_version' => null,
18+
'minimum_target_php_version' => '7.4',
1919

2020
// A list of directories that should be parsed for class and
2121
// method information. After excluding the directories
@@ -24,19 +24,19 @@
2424
//
2525
// Thus, both first-party and third-party code being used by
2626
// your application should be included in this list.
27-
'directory_list' => [
27+
'directory_list' => [
2828
'examples',
2929
'src',
3030
'tests',
3131
'vendor',
32-
'.phan/stubs'
32+
'.phan/stubs',
3333
],
3434

3535
// A regex used to match every file name that you want to
3636
// exclude from parsing. Actual value will exclude every
3737
// "test", "tests", "Test" and "Tests" folders found in
3838
// "vendor/" directory.
39-
'exclude_file_regex' => '@^vendor/.*/(tests?|Tests?)/@',
39+
'exclude_file_regex' => '@^vendor/.*/(tests?|Tests?)/@',
4040

4141
// A directory list that defines files that will be excluded
4242
// from static analysis, but whose class and method
@@ -51,9 +51,9 @@
5151
// and `exclude_analysis_directory_list` arrays.
5252
'exclude_analysis_directory_list' => [
5353
'vendor/',
54-
'.phan/stubs'
54+
'.phan/stubs',
5555
],
56-
'suppress_issue_types' => [
56+
'suppress_issue_types' => [
5757
'PhanAccessMethodInternal',
5858
'PhanAccessOverridesFinalConstant',
5959
'PhanDeprecatedClass',

src/Common/EccLevel.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
namespace chillerlan\QRCode\Common;
1212

1313
use chillerlan\QRCode\QRCodeException;
14-
1514
use function array_column;
1615

1716
/**

src/Common/GenericGFPoly.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace chillerlan\QRCode\Common;
1313

1414
use chillerlan\QRCode\QRCodeException;
15-
1615
use function array_fill, array_slice, array_splice, count;
1716

1817
/**

src/Common/MaskPattern.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
namespace chillerlan\QRCode\Common;
1313

14-
use chillerlan\QRCode\Data\QRMatrix;
1514
use chillerlan\QRCode\QRCodeException;
15+
use chillerlan\QRCode\Data\QRMatrix;
1616
use Closure;
1717
use function abs, array_column, array_search, intdiv, min;
1818

@@ -94,11 +94,6 @@ public function getPattern():int{
9494
/**
9595
* Returns a closure that applies the mask for the chosen mask pattern.
9696
*
97-
* Encapsulates data masks for the data bits in a QR code, per ISO 18004:2006 6.8. Implementations
98-
* of this class can un-mask a raw BitMatrix. For simplicity, they will unmask the entire BitMatrix,
99-
* including areas used for finder patterns, timing patterns, etc. These areas should be unused
100-
* after the point they are unmasked anyway.
101-
*
10297
* Note that the diagram in section 6.8.1 is misleading since it indicates that $i is column position
10398
* and $j is row position. In fact, as the text says, $i is row position and $j is column position.
10499
*

src/Data/AlphaNum.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
namespace chillerlan\QRCode\Data;
1212

1313
use chillerlan\QRCode\Common\{BitBuffer, Mode};
14-
1514
use function array_flip, ceil, intdiv, str_split;
1615

1716
/**

src/Data/Byte.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
namespace chillerlan\QRCode\Data;
1212

1313
use chillerlan\QRCode\Common\{BitBuffer, Mode};
14-
1514
use function chr, ord;
1615

1716
/**

src/Data/Hanzi.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
namespace chillerlan\QRCode\Data;
1212

1313
use chillerlan\QRCode\Common\{BitBuffer, Mode};
14-
1514
use Throwable;
1615
use function chr, implode, intdiv, is_string, mb_convert_encoding, mb_detect_encoding,
1716
mb_detect_order, mb_internal_encoding, mb_strlen, ord, sprintf, strlen;

src/Data/Kanji.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
namespace chillerlan\QRCode\Data;
1212

1313
use chillerlan\QRCode\Common\{BitBuffer, Mode};
14-
1514
use Throwable;
1615
use function chr, implode, intdiv, is_string, mb_convert_encoding, mb_detect_encoding,
1716
mb_detect_order, mb_internal_encoding, mb_strlen, ord, sprintf, strlen;

src/Data/Number.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
namespace chillerlan\QRCode\Data;
1212

1313
use chillerlan\QRCode\Common\{BitBuffer, Mode};
14-
1514
use function array_flip, ceil, intdiv, str_split, substr, unpack;
1615

1716
/**

src/Data/QRData.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212

1313
use chillerlan\QRCode\Common\{BitBuffer, EccLevel, Mode, Version};
1414
use chillerlan\Settings\SettingsContainerInterface;
15-
16-
use function count;
17-
use function sprintf;
15+
use function count, sprintf;
1816

1917
/**
2018
* Processes the binary data and maps it on a QRMatrix which is then being returned

0 commit comments

Comments
 (0)