Skip to content

Commit 6a1e42c

Browse files
authored
Merge pull request #239 from maxmind/greg/stf-223
Restore declare_strict_types enforcement (STF-223)
2 parents bf4dd4f + cd0634e commit 6a1e42c

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.php-cs-fixer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
'array_syntax' => ['syntax' => 'short'],
1616
'combine_consecutive_unsets' => true,
1717
'concat_space' => [ 'spacing' => 'one'],
18+
'declare_strict_types' => true,
1819
'explicit_string_variable' => false,
1920
'fopen_flags' => ['b_mode' => true],
2021
'heredoc_to_nowdoc' => true,

examples/benchmark.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
require __DIR__ . '/../autoload.php';
46

57
use MaxMind\Db\Reader;

0 commit comments

Comments
 (0)