Fix some scrutinizer issues

This commit is contained in:
Timothy Warren 2014-08-15 09:43:53 -04:00
parent 5941bc2f89
commit 9b924c1424
4 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,5 @@
# Tim's Todo # Tim's Todo
[![Build Status](https://travis-ci.org/timw4mail/tims-todo.svg?branch=master)](https://travis-ci.org/timw4mail/tims-todo) [![Build Status](https://travis-ci.org/timw4mail/tims-todo.svg?branch=master)](https://travis-ci.org/timw4mail/tims-todo)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/timw4mail/tims-todo/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/timw4mail/tims-todo/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/timw4mail/tims-todo/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/timw4mail/tims-todo/?branch=master)

View File

@ -241,7 +241,7 @@ class Page {
* *
* Helper function for making script tags * Helper function for making script tags
* *
* @param string $js * @param string $javascript
* @param bool $domain * @param bool $domain
* @return string * @return string
*/ */

View File

@ -7,7 +7,7 @@
*/ */
class Todo { class Todo {
private $user, $pass, $email, $CI, $uid; //For user registration private $user, $pass, $CI, $uid; //For user registration
/** /**
* Constructor * Constructor

View File

@ -100,7 +100,7 @@
<input type="radio" name="share_type" value="group" id="group_share" <?= (empty($selected_groups)) ? "": 'checked="checked"' ?> /> <input type="radio" name="share_type" value="group" id="group_share" <?= (empty($selected_groups)) ? "": 'checked="checked"' ?> />
</dd> </dd>
<?php if( ! empty($friends)): ?> <?php if( ! empty($friends)): ?>
<?php if($selected_friends === FALSE) {$selected_friends = array();} ?> <?php if( ! is_array($selected_friends)) {$selected_friends = array();} ?>
<dt class="friend_share"><strong>Friend Settings</strong></dt> <dt class="friend_share"><strong>Friend Settings</strong></dt>
<dd class="friend_share"> <dd class="friend_share">
<dl> <dl>