aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Security/CSRF
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2021-05-18 08:43:13 +0200
committerGitHub <noreply@github.com>2021-05-18 08:43:13 +0200
commitee3dc57cbd9c9cf2f88d97a35f54ed67ab556aa7 (patch)
tree0bb2f6b2310032256a0147e2148f8930cb5775d8 /tests/lib/Security/CSRF
parent44a638f9617aa53da9e38378b1f62923cf2d2514 (diff)
parentca7b37ce5a5c68ea4a105377754005a772c5deaa (diff)
downloadnextcloud-server-ee3dc57cbd9c9cf2f88d97a35f54ed67ab556aa7.tar.gz
nextcloud-server-ee3dc57cbd9c9cf2f88d97a35f54ed67ab556aa7.zip
Merge pull request #26626 from J0WI/strict-security
Make Security module strict
Diffstat (limited to 'tests/lib/Security/CSRF')
-rw-r--r--tests/lib/Security/CSRF/CsrfTokenGeneratorTest.php3
-rw-r--r--tests/lib/Security/CSRF/CsrfTokenManagerTest.php3
-rw-r--r--tests/lib/Security/CSRF/CsrfTokenTest.php3
-rw-r--r--tests/lib/Security/CSRF/TokenStorage/SessionStorageTest.php3
4 files changed, 12 insertions, 0 deletions
diff --git a/tests/lib/Security/CSRF/CsrfTokenGeneratorTest.php b/tests/lib/Security/CSRF/CsrfTokenGeneratorTest.php
index 10ab0f00c94..256199eff15 100644
--- a/tests/lib/Security/CSRF/CsrfTokenGeneratorTest.php
+++ b/tests/lib/Security/CSRF/CsrfTokenGeneratorTest.php
@@ -1,4 +1,7 @@
<?php
+
+declare(strict_types=1);
+
/**
* @author Lukas Reschke <lukas@owncloud.com>
*
diff --git a/tests/lib/Security/CSRF/CsrfTokenManagerTest.php b/tests/lib/Security/CSRF/CsrfTokenManagerTest.php
index 29fbbfe3b26..44a9a7a929d 100644
--- a/tests/lib/Security/CSRF/CsrfTokenManagerTest.php
+++ b/tests/lib/Security/CSRF/CsrfTokenManagerTest.php
@@ -1,4 +1,7 @@
<?php
+
+declare(strict_types=1);
+
/**
* @author Lukas Reschke <lukas@owncloud.com>
*
diff --git a/tests/lib/Security/CSRF/CsrfTokenTest.php b/tests/lib/Security/CSRF/CsrfTokenTest.php
index fbb92cd315a..b694e797232 100644
--- a/tests/lib/Security/CSRF/CsrfTokenTest.php
+++ b/tests/lib/Security/CSRF/CsrfTokenTest.php
@@ -1,4 +1,7 @@
<?php
+
+declare(strict_types=1);
+
/**
* @author Lukas Reschke <lukas@owncloud.com>
*
diff --git a/tests/lib/Security/CSRF/TokenStorage/SessionStorageTest.php b/tests/lib/Security/CSRF/TokenStorage/SessionStorageTest.php
index 8d4a966efea..f55cf49f142 100644
--- a/tests/lib/Security/CSRF/TokenStorage/SessionStorageTest.php
+++ b/tests/lib/Security/CSRF/TokenStorage/SessionStorageTest.php
@@ -1,4 +1,7 @@
<?php
+
+declare(strict_types=1);
+
/**
* @author Lukas Reschke <lukas@owncloud.com>
*