Skip to content

Commit 9434749

Browse files
committed
declare(strict_types=1);
1 parent 115d5ab commit 9434749

10 files changed

+20
-0
lines changed

autoload.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* Modified from https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader-examples.md
55
*/
66

7+
declare(strict_types=1);
8+
79
spl_autoload_register(function (string $class): void {
810

911
// project-specific namespace prefix

src/XlsxFastEditor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
* @package XlsxFastEditor
1212
*/
1313

14+
declare(strict_types=1);
15+
1416
namespace alexandrainst\XlsxFastEditor;
1517

1618
/**

src/XlsxFastEditorCell.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
namespace alexandrainst\XlsxFastEditor;
46

57
/**

src/XlsxFastEditorException.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
namespace alexandrainst\XlsxFastEditor;
46

57
/**

src/XlsxFastEditorFileFormatException.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
namespace alexandrainst\XlsxFastEditor;
46

57
/**

src/XlsxFastEditorInputException.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
namespace alexandrainst\XlsxFastEditor;
46

57
/**

src/XlsxFastEditorRow.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
namespace alexandrainst\XlsxFastEditor;
46

57
/**

src/XlsxFastEditorXmlException.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
namespace alexandrainst\XlsxFastEditor;
46

57
/**

src/XlsxFastEditorZipException.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
namespace alexandrainst\XlsxFastEditor;
46

57
/**

tests/test.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
assert_options(ASSERT_ACTIVE, true); // phpcs:ignore Generic.PHP.DeprecatedFunctions.Deprecated
46
assert_options(ASSERT_BAIL, true); // phpcs:ignore Generic.PHP.DeprecatedFunctions.Deprecated
57
assert_options(ASSERT_EXCEPTION, true); // phpcs:ignore Generic.PHP.DeprecatedFunctions.Deprecated

0 commit comments

Comments
 (0)