diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/VenueTest.php | 2 | ||||
-rw-r--r-- | tests/stubs/wpdb_stub.php | 2 |
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; } |