summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-04-14 20:27:43 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-04-14 20:27:43 +0200
commit558544fcef3335216d225bb587129a424db8d7af (patch)
tree22d05d7d7bab03b16f6e190675bd84c935accbe1 /tests
parentbd8662b691e8b64ae15965bc154f810195faa53a (diff)
downloadgigologadmin-558544fcef3335216d225bb587129a424db8d7af.tar.gz
gigologadmin-558544fcef3335216d225bb587129a424db8d7af.tar.bz2
gigologadmin-558544fcef3335216d225bb587129a424db8d7af.zip
Add license comment _after_ the php opening tag.
Diffstat (limited to 'tests')
-rw-r--r--tests/VenueTest.php2
-rw-r--r--tests/stubs/wpdb_stub.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/VenueTest.php b/tests/VenueTest.php
index a49301b..e886167 100644
--- a/tests/VenueTest.php
+++ b/tests/VenueTest.php
@@ -1,9 +1,9 @@
+<?php
// SPDX-FileCopyrightText: 2021 Andrea Chirulescu <andrea.chirulescu@gmail.com>
// SPDX-FileCopyrightText: 2021 Harald Eilertsen <haraldei@anduin.net>
//
// SPDX-License-Identifier: AGPL-3.0-or-later
-<?php
declare(strict_types=1);
use PHPUnit\Framework\TestCase;
diff --git a/tests/stubs/wpdb_stub.php b/tests/stubs/wpdb_stub.php
index 74a1647..957c994 100644
--- a/tests/stubs/wpdb_stub.php
+++ b/tests/stubs/wpdb_stub.php
@@ -1,9 +1,9 @@
+<?php
// SPDX-FileCopyrightText: 2021 Andrea Chirulescu <andrea.chirulescu@gmail.com>
// SPDX-FileCopyrightText: 2021 Harald Eilertsen <haraldei@anduin.net>
//
// SPDX-License-Identifier: AGPL-3.0-or-later
-<?php
class wpdb {
public $insert_id = NULL;
public function insert(string $table, array $data) { $this->insert_id = 1; }