summaryrefslogtreecommitdiffstats
path: root/tests/stubs/wpdb_stub.php
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/stubs/wpdb_stub.php
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/stubs/wpdb_stub.php')
-rw-r--r--tests/stubs/wpdb_stub.php2
1 files changed, 1 insertions, 1 deletions
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; }