Skip to content

Commit

Permalink
include /common/ in travis checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Schwartz authored and Ben Schwartz committed May 14, 2018
1 parent 2af4180 commit 898dde3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -3,5 +3,5 @@ php:
- '7.1'
before_script: composer install
script:
- ./vendor/bin/phpmd http_server,multiplayer_server,policy_server text unusedcode
- ./vendor/bin/phpcs --standard=PSR2 http_server multiplayer_server policy_server
- ./vendor/bin/phpmd common,http_server,multiplayer_server,policy_server text unusedcode
- ./vendor/bin/phpcs --standard=PSR2 common http_server multiplayer_server policy_server
2 changes: 0 additions & 2 deletions common/env.example.php
Expand Up @@ -38,5 +38,3 @@

$GUEST_PASS = 'this is the universal password for all guest accounts';
$BLS_IP_PREFIX = 'no ddos plz';

?>
2 changes: 1 addition & 1 deletion common/manage_socket/activate_hh.php
Expand Up @@ -22,4 +22,4 @@
output($e->getMessage());
} finally {
die();
}
}
2 changes: 1 addition & 1 deletion common/manage_socket/check_servers.php
Expand Up @@ -15,4 +15,4 @@

// log end
output('Server checks complete.');
die();
die();
2 changes: 1 addition & 1 deletion common/manage_socket/restart_server.php
Expand Up @@ -16,4 +16,4 @@
$server = server_select($pdo, $server_id);

// restart it
restart_server(PR2_ROOT . '/pr2.php', $server->address, $server->port, $server->salt, $server->server_id);
restart_server(PR2_ROOT . '/pr2.php', $server->address, $server->port, $server->salt, $server->server_id);
2 changes: 1 addition & 1 deletion common/manage_socket/socket_manage_fns.php
Expand Up @@ -209,7 +209,7 @@ function talk_to_server($address, $port, $salt, $process_function, $receive = tr
$local_hash = md5($str_to_hash);
$sub_hash = substr($local_hash, 0, 3);

// throw it together
// throw it together
$to_process = $sub_hash . '`' . $send_num . '`' . $intro_function . '`' . $data . $end;
$command = $process_function . $end;
$send_str = $to_process . $command;
Expand Down
2 changes: 1 addition & 1 deletion common/multi_queries.php
Expand Up @@ -30,4 +30,4 @@
require_once QUERIES_DIR . '/bans/ban_select_active_by_user_id.php';
require_once QUERIES_DIR . '/bans/ban_select_active_by_ip.php';
require_once QUERIES_DIR . '/bans/bans_select_by_user_id.php';
require_once QUERIES_DIR . '/bans/bans_select_by_ip.php';
require_once QUERIES_DIR . '/bans/bans_select_by_ip.php';

0 comments on commit 898dde3

Please sign in to comment.