diff options
author | J0WI <J0WI@users.noreply.github.com> | 2021-04-26 18:58:10 +0300 |
---|---|---|
committer | J0WI <J0WI@users.noreply.github.com> | 2021-04-26 18:58:10 +0300 |
commit | ee0df3eb9bbca32874ffd440023b6318d5c08c09 (patch) | |
tree | 5a22f126b4d48301fe85aa3ab53028457783a2ad /tests | |
parent | dfb6c25f932cac06cacdff5e003c95f586521063 (diff) |
Use strict typing
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bootstrap.php | 2 | ||||
-rw-r--r-- | tests/lib/ApiControllerTest.php | 3 | ||||
-rw-r--r-- | tests/lib/DefaultOsTest.php | 3 | ||||
-rw-r--r-- | tests/lib/FreeBSDTest.php | 3 | ||||
-rw-r--r-- | tests/lib/SessionStatisticsTest.php | 3 |
5 files changed, 14 insertions, 0 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 6509885..28a1987 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -1,5 +1,7 @@ <?php +declare(strict_types=1); + if (!defined('PHPUNIT_RUN')) { define('PHPUNIT_RUN', 1); } diff --git a/tests/lib/ApiControllerTest.php b/tests/lib/ApiControllerTest.php index a7ee0c4..d675b9b 100644 --- a/tests/lib/ApiControllerTest.php +++ b/tests/lib/ApiControllerTest.php @@ -1,4 +1,7 @@ <?php + +declare(strict_types=1); + /** * @copyright Copyright (c) 2021 Vincent Petry <vincent@nextcloud.com> * diff --git a/tests/lib/DefaultOsTest.php b/tests/lib/DefaultOsTest.php index ff83e92..6ceee7d 100644 --- a/tests/lib/DefaultOsTest.php +++ b/tests/lib/DefaultOsTest.php @@ -1,4 +1,7 @@ <?php + +declare(strict_types=1); + /** * @copyright Copyright (c) 2020 Daniel Kesselberg <mail@danielkesselberg.de> * diff --git a/tests/lib/FreeBSDTest.php b/tests/lib/FreeBSDTest.php index 671540a..d986972 100644 --- a/tests/lib/FreeBSDTest.php +++ b/tests/lib/FreeBSDTest.php @@ -1,4 +1,7 @@ <?php + +declare(strict_types=1); + /** * @copyright Copyright (c) 2020 Daniel Kesselberg <mail@danielkesselberg.de> * diff --git a/tests/lib/SessionStatisticsTest.php b/tests/lib/SessionStatisticsTest.php index 96b6beb..8daa06a 100644 --- a/tests/lib/SessionStatisticsTest.php +++ b/tests/lib/SessionStatisticsTest.php @@ -1,4 +1,7 @@ <?php + +declare(strict_types=1); + /** * @copyright Copyright (c) 2016 Bjoern Schiessle <bjoern@schiessle.org> * |