Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
Expand Down
11 changes: 6 additions & 5 deletions src/Database/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@

namespace Bow\Database;

use PDO;
use ErrorException;
use Bow\Security\Sanitize;
use Bow\Database\Exception\DatabaseException;
use Bow\Database\Connection\AbstractConnection;
use Bow\Database\Exception\ConnectionException;
use Bow\Database\Connection\Adapter\MysqlAdapter;
use Bow\Database\Connection\Adapter\PostgreSQLAdapter;
use Bow\Database\Connection\Adapter\SqliteAdapter;
use Bow\Database\Exception\ConnectionException;
use Bow\Database\Exception\DatabaseException;
use Bow\Security\Sanitize;
use PDO;
use Bow\Database\Connection\Adapter\PostgreSQLAdapter;

class Database
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Support/HttpClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public function test_get_method()

$response = $http->get("https://www.oogle.com");

$this->assertEquals($response->statusCode(), 525);
$this->assertEquals($response->statusCode(), 503);
}

public function test_get_method_with_custom_headers()
Expand Down