new coverage report
This commit is contained in:
parent
9895dc1ca3
commit
1ac6d50915
File diff suppressed because it is too large
Load Diff
@ -247,7 +247,7 @@
|
||||
<td class="covered"> if (class_exists($className)) {
|
||||
</td></tr>
|
||||
<tr><td>80</td>
|
||||
<td class="red"> return false;
|
||||
<td class="covered"> return false;
|
||||
</td></tr>
|
||||
<tr><td>81</td>
|
||||
<td class="orange"> }
|
||||
|
@ -166,13 +166,13 @@
|
||||
<td class="covered"> return $this->data[$id];
|
||||
</td></tr>
|
||||
<tr><td>53</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>54</td>
|
||||
<td class="covered"> return false;
|
||||
</td></tr>
|
||||
<tr><td>55</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>56</td>
|
||||
<td class="normal">
|
||||
|
@ -235,31 +235,31 @@
|
||||
<td class="covered"> if (is_string($attribute)) {
|
||||
</td></tr>
|
||||
<tr><td>76</td>
|
||||
<td class="red"> $upper = strtoupper($attribute);
|
||||
<td class="normal"> $upper = strtoupper($attribute);
|
||||
</td></tr>
|
||||
<tr><td>77</td>
|
||||
<td class="normal">
|
||||
</td></tr>
|
||||
<tr><td>78</td>
|
||||
<td class="red"> $const = 'Doctrine::ATTR_' . $attribute;
|
||||
<td class="normal"> $const = 'Doctrine::ATTR_' . $attribute;
|
||||
</td></tr>
|
||||
<tr><td>79</td>
|
||||
<td class="red"> if (defined($const)) {
|
||||
<td class="normal"> if (defined($const)) {
|
||||
</td></tr>
|
||||
<tr><td>80</td>
|
||||
<td class="red"> $this->_state = constant($const);
|
||||
<td class="normal"> $this->_state = constant($const);
|
||||
</td></tr>
|
||||
<tr><td>81</td>
|
||||
<td class="red"> } else {
|
||||
<td class="normal"> } else {
|
||||
</td></tr>
|
||||
<tr><td>82</td>
|
||||
<td class="red"> throw new Doctrine_Exception('Unknown attribute ' . $attribute);
|
||||
<td class="normal"> throw new Doctrine_Exception('Unknown attribute ' . $attribute);
|
||||
</td></tr>
|
||||
<tr><td>83</td>
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>84</td>
|
||||
<td class="red"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>85</td>
|
||||
<td class="normal"> switch ($attribute) {
|
||||
@ -268,7 +268,7 @@
|
||||
<td class="covered"> case Doctrine::ATTR_FETCHMODE:
|
||||
</td></tr>
|
||||
<tr><td>87</td>
|
||||
<td class="red"> throw new Doctrine_Exception('Deprecated attribute. See http://doctrine.pengus.net/doctrine/manual/new/?chapter=configuration');
|
||||
<td class="normal"> throw new Doctrine_Exception('Deprecated attribute. See http://doctrine.pengus.net/doctrine/manual/new/?chapter=configuration');
|
||||
</td></tr>
|
||||
<tr><td>88</td>
|
||||
<td class="covered"> case Doctrine::ATTR_LISTENER:
|
||||
@ -286,19 +286,19 @@
|
||||
<td class="covered"> if ( ! ($this instanceof Doctrine_Table)) {
|
||||
</td></tr>
|
||||
<tr><td>93</td>
|
||||
<td class="red"> throw new Doctrine_Exception("This attribute can only be set at table level.");
|
||||
<td class="normal"> throw new Doctrine_Exception("This attribute can only be set at table level.");
|
||||
</td></tr>
|
||||
<tr><td>94</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>95</td>
|
||||
<td class="covered"> if ($value !== null && ! $this->hasColumn($value)) {
|
||||
</td></tr>
|
||||
<tr><td>96</td>
|
||||
<td class="red"> throw new Doctrine_Exception("Couldn't set collection key attribute. No such column '$value'");
|
||||
<td class="normal"> throw new Doctrine_Exception("Couldn't set collection key attribute. No such column '$value'");
|
||||
</td></tr>
|
||||
<tr><td>97</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>98</td>
|
||||
<td class="covered"> break;
|
||||
@ -313,10 +313,10 @@
|
||||
<td class="covered"> if ( ! ($value instanceof Doctrine_Cache_Interface)) {
|
||||
</td></tr>
|
||||
<tr><td>102</td>
|
||||
<td class="red"> throw new Doctrine_Exception('Cache driver should implement Doctrine_Cache_Interface');
|
||||
<td class="normal"> throw new Doctrine_Exception('Cache driver should implement Doctrine_Cache_Interface');
|
||||
</td></tr>
|
||||
<tr><td>103</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>104</td>
|
||||
<td class="covered"> }
|
||||
@ -376,10 +376,10 @@
|
||||
<td class="covered"> if ( ! is_string($value)) {
|
||||
</td></tr>
|
||||
<tr><td>123</td>
|
||||
<td class="red"> throw new Doctrine_Exception('Sequence column name attribute only accepts string values');
|
||||
<td class="normal"> throw new Doctrine_Exception('Sequence column name attribute only accepts string values');
|
||||
</td></tr>
|
||||
<tr><td>124</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>125</td>
|
||||
<td class="covered"> break;
|
||||
@ -388,13 +388,13 @@
|
||||
<td class="covered"> case Doctrine::ATTR_FIELD_CASE:
|
||||
</td></tr>
|
||||
<tr><td>127</td>
|
||||
<td class="red"> if ($value != 0 && $value != CASE_LOWER && $value != CASE_UPPER)
|
||||
<td class="normal"> if ($value != 0 && $value != CASE_LOWER && $value != CASE_UPPER)
|
||||
</td></tr>
|
||||
<tr><td>128</td>
|
||||
<td class="red"> throw new Doctrine_Exception('Field case attribute should be either 0, CASE_LOWER or CASE_UPPER constant.');
|
||||
<td class="normal"> throw new Doctrine_Exception('Field case attribute should be either 0, CASE_LOWER or CASE_UPPER constant.');
|
||||
</td></tr>
|
||||
<tr><td>129</td>
|
||||
<td class="red"> break;
|
||||
<td class="normal"> break;
|
||||
</td></tr>
|
||||
<tr><td>130</td>
|
||||
<td class="covered"> case Doctrine::ATTR_SEQNAME_FORMAT:
|
||||
@ -406,25 +406,25 @@
|
||||
<td class="covered"> if ($this instanceof Doctrine_Table) {
|
||||
</td></tr>
|
||||
<tr><td>133</td>
|
||||
<td class="red"> throw new Doctrine_Exception('Sequence / index name format attributes cannot be set'
|
||||
<td class="normal"> throw new Doctrine_Exception('Sequence / index name format attributes cannot be set'
|
||||
</td></tr>
|
||||
<tr><td>134</td>
|
||||
<td class="red"> . 'at table level (only at connection or global level).');
|
||||
<td class="normal"> . 'at table level (only at connection or global level).');
|
||||
</td></tr>
|
||||
<tr><td>135</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>136</td>
|
||||
<td class="covered"> break;
|
||||
</td></tr>
|
||||
<tr><td>137</td>
|
||||
<td class="red"> default:
|
||||
<td class="normal"> default:
|
||||
</td></tr>
|
||||
<tr><td>138</td>
|
||||
<td class="red"> throw new Doctrine_Exception("Unknown attribute.");
|
||||
<td class="normal"> throw new Doctrine_Exception("Unknown attribute.");
|
||||
</td></tr>
|
||||
<tr><td>139</td>
|
||||
<td class="red"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>140</td>
|
||||
<td class="normal">
|
||||
|
@ -538,10 +538,10 @@
|
||||
<td class="covered"> if ( ! ($adapter instanceof PDO) && ! in_array('Doctrine_Adapter_Interface', class_implements($adapter))) {
|
||||
</td></tr>
|
||||
<tr><td>177</td>
|
||||
<td class="red"> throw new Doctrine_Connection_Exception('First argument should be an instance of PDO or implement Doctrine_Adapter_Interface');
|
||||
<td class="normal"> throw new Doctrine_Connection_Exception('First argument should be an instance of PDO or implement Doctrine_Adapter_Interface');
|
||||
</td></tr>
|
||||
<tr><td>178</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>179</td>
|
||||
<td class="covered"> $this->dbh = $adapter;
|
||||
@ -583,10 +583,10 @@
|
||||
<td class="covered"> if (isset($adapter['other'])) {
|
||||
</td></tr>
|
||||
<tr><td>192</td>
|
||||
<td class="red"> $this->options['other'] = array(Doctrine::ATTR_PERSISTENT => $adapter['persistent']);
|
||||
<td class="normal"> $this->options['other'] = array(Doctrine::ATTR_PERSISTENT => $adapter['persistent']);
|
||||
</td></tr>
|
||||
<tr><td>193</td>
|
||||
<td class="red"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>194</td>
|
||||
<td class="normal">
|
||||
|
@ -274,7 +274,7 @@
|
||||
<td class="covered"> return $this->portableCode;
|
||||
</td></tr>
|
||||
<tr><td>89</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>90</td>
|
||||
<td class="normal">
|
||||
|
@ -160,7 +160,7 @@
|
||||
<td class="normal">
|
||||
</td></tr>
|
||||
<tr><td>51</td>
|
||||
<td class="red"> $this->supported = array(
|
||||
<td class="normal"> $this->supported = array(
|
||||
</td></tr>
|
||||
<tr><td>52</td>
|
||||
<td class="covered"> 'sequences' => true,
|
||||
|
@ -382,37 +382,37 @@
|
||||
<td class="normal">
|
||||
</td></tr>
|
||||
<tr><td>125</td>
|
||||
<td class="red"> foreach (self::$errorRegexps as $regexp => $code) {
|
||||
<td class="normal"> foreach (self::$errorRegexps as $regexp => $code) {
|
||||
</td></tr>
|
||||
<tr><td>126</td>
|
||||
<td class="red"> if (preg_match($regexp, $errorInfo[2])) {
|
||||
<td class="normal"> if (preg_match($regexp, $errorInfo[2])) {
|
||||
</td></tr>
|
||||
<tr><td>127</td>
|
||||
<td class="red"> $errorInfo[3] = $code;
|
||||
<td class="normal"> $errorInfo[3] = $code;
|
||||
</td></tr>
|
||||
<tr><td>128</td>
|
||||
<td class="red"> break;
|
||||
<td class="normal"> break;
|
||||
</td></tr>
|
||||
<tr><td>129</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>130</td>
|
||||
<td class="red"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>131</td>
|
||||
<td class="red"> if (isset(self::$errorCodeMap[$errorInfo[1]])) {
|
||||
<td class="normal"> if (isset(self::$errorCodeMap[$errorInfo[1]])) {
|
||||
</td></tr>
|
||||
<tr><td>132</td>
|
||||
<td class="red"> $errorInfo[3] = self::$errorCodeMap[$errorInfo[1]];
|
||||
<td class="normal"> $errorInfo[3] = self::$errorCodeMap[$errorInfo[1]];
|
||||
</td></tr>
|
||||
<tr><td>133</td>
|
||||
<td class="red"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>134</td>
|
||||
<td class="red"> return $errorInfo;
|
||||
<td class="normal"> return $errorInfo;
|
||||
</td></tr>
|
||||
<tr><td>135</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>136</td>
|
||||
<td class="covered">}</td></tr>
|
||||
|
@ -157,7 +157,7 @@
|
||||
<td class="normal"> // initialize all driver options
|
||||
</td></tr>
|
||||
<tr><td>50</td>
|
||||
<td class="red"> $this->supported = array(
|
||||
<td class="normal"> $this->supported = array(
|
||||
</td></tr>
|
||||
<tr><td>51</td>
|
||||
<td class="covered"> 'sequences' => 'emulated',
|
||||
|
@ -223,13 +223,13 @@
|
||||
<td class="covered"> return true;
|
||||
</td></tr>
|
||||
<tr><td>72</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>73</td>
|
||||
<td class="red"> return false;
|
||||
<td class="normal"> return false;
|
||||
</td></tr>
|
||||
<tr><td>74</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>75</td>
|
||||
<td class="covered">}</td></tr>
|
||||
|
@ -163,7 +163,7 @@
|
||||
<td class="normal">
|
||||
</td></tr>
|
||||
<tr><td>52</td>
|
||||
<td class="red"> $this->supported = array(
|
||||
<td class="normal"> $this->supported = array(
|
||||
</td></tr>
|
||||
<tr><td>53</td>
|
||||
<td class="covered"> 'sequences' => 'emulated',
|
||||
|
@ -253,13 +253,13 @@
|
||||
<td class="covered"> return true;
|
||||
</td></tr>
|
||||
<tr><td>82</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>83</td>
|
||||
<td class="red"> return false;
|
||||
<td class="normal"> return false;
|
||||
</td></tr>
|
||||
<tr><td>84</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>85</td>
|
||||
<td class="covered">}</td></tr>
|
||||
|
@ -133,7 +133,7 @@
|
||||
<td class="normal"> {
|
||||
</td></tr>
|
||||
<tr><td>42</td>
|
||||
<td class="red"> $this->supported = array(
|
||||
<td class="normal"> $this->supported = array(
|
||||
</td></tr>
|
||||
<tr><td>43</td>
|
||||
<td class="covered"> 'sequences' => true,
|
||||
|
@ -238,13 +238,13 @@
|
||||
<td class="covered"> return true;
|
||||
</td></tr>
|
||||
<tr><td>77</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>78</td>
|
||||
<td class="red"> return false;
|
||||
<td class="normal"> return false;
|
||||
</td></tr>
|
||||
<tr><td>79</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>80</td>
|
||||
<td class="covered">}</td></tr>
|
||||
|
@ -157,7 +157,7 @@
|
||||
<td class="normal"> // initialize all driver options
|
||||
</td></tr>
|
||||
<tr><td>50</td>
|
||||
<td class="red"> $this->supported = array(
|
||||
<td class="normal"> $this->supported = array(
|
||||
</td></tr>
|
||||
<tr><td>51</td>
|
||||
<td class="covered"> 'sequences' => true,
|
||||
|
@ -319,16 +319,16 @@
|
||||
<td class="covered"> return true;
|
||||
</td></tr>
|
||||
<tr><td>104</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>105</td>
|
||||
<td class="covered"> }
|
||||
</td></tr>
|
||||
<tr><td>106</td>
|
||||
<td class="red"> return false;
|
||||
<td class="normal"> return false;
|
||||
</td></tr>
|
||||
<tr><td>107</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>108</td>
|
||||
<td class="covered">}</td></tr>
|
||||
|
@ -157,7 +157,7 @@
|
||||
<td class="normal">
|
||||
</td></tr>
|
||||
<tr><td>50</td>
|
||||
<td class="red"> $this->supported = array(
|
||||
<td class="normal"> $this->supported = array(
|
||||
</td></tr>
|
||||
<tr><td>51</td>
|
||||
<td class="covered"> 'sequences' => 'emulated',
|
||||
|
@ -229,16 +229,16 @@
|
||||
<td class="covered"> return true;
|
||||
</td></tr>
|
||||
<tr><td>74</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>75</td>
|
||||
<td class="covered"> }
|
||||
</td></tr>
|
||||
<tr><td>76</td>
|
||||
<td class="red"> return false;
|
||||
<td class="normal"> return false;
|
||||
</td></tr>
|
||||
<tr><td>77</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>78</td>
|
||||
<td class="covered">}</td></tr>
|
||||
|
@ -184,10 +184,10 @@
|
||||
<td class="covered"> if ($stmt === false) {
|
||||
</td></tr>
|
||||
<tr><td>59</td>
|
||||
<td class="red"> throw new Doctrine_Exception('Unknown statement object given.');
|
||||
<td class="normal"> throw new Doctrine_Exception('Unknown statement object given.');
|
||||
</td></tr>
|
||||
<tr><td>60</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>61</td>
|
||||
<td class="covered"> }
|
||||
|
@ -418,10 +418,10 @@
|
||||
<td class="covered"> if ( ! isset($field['type'])) {
|
||||
</td></tr>
|
||||
<tr><td>137</td>
|
||||
<td class="red"> throw new Doctrine_DataDict_Exception('Missing column type.');
|
||||
<td class="normal"> throw new Doctrine_DataDict_Exception('Missing column type.');
|
||||
</td></tr>
|
||||
<tr><td>138</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>139</td>
|
||||
<td class="normal">
|
||||
@ -463,10 +463,10 @@
|
||||
<td class="covered"> if (array_key_exists('default', $field)) {
|
||||
</td></tr>
|
||||
<tr><td>152</td>
|
||||
<td class="red"> $field['length'] = $this->conn->varchar_max_length;
|
||||
<td class="normal"> $field['length'] = $this->conn->varchar_max_length;
|
||||
</td></tr>
|
||||
<tr><td>153</td>
|
||||
<td class="red"> } else {
|
||||
<td class="normal"> } else {
|
||||
</td></tr>
|
||||
<tr><td>154</td>
|
||||
<td class="covered"> $field['length'] = false;
|
||||
@ -502,31 +502,31 @@
|
||||
<td class="covered"> if ( ! empty($field['length'])) {
|
||||
</td></tr>
|
||||
<tr><td>165</td>
|
||||
<td class="red"> $length = $field['length'];
|
||||
<td class="normal"> $length = $field['length'];
|
||||
</td></tr>
|
||||
<tr><td>166</td>
|
||||
<td class="red"> if ($length <= 255) {
|
||||
<td class="normal"> if ($length <= 255) {
|
||||
</td></tr>
|
||||
<tr><td>167</td>
|
||||
<td class="red"> return 'TINYTEXT';
|
||||
<td class="normal"> return 'TINYTEXT';
|
||||
</td></tr>
|
||||
<tr><td>168</td>
|
||||
<td class="red"> } elseif ($length <= 65532) {
|
||||
<td class="normal"> } elseif ($length <= 65532) {
|
||||
</td></tr>
|
||||
<tr><td>169</td>
|
||||
<td class="red"> return 'TEXT';
|
||||
<td class="normal"> return 'TEXT';
|
||||
</td></tr>
|
||||
<tr><td>170</td>
|
||||
<td class="red"> } elseif ($length <= 16777215) {
|
||||
<td class="normal"> } elseif ($length <= 16777215) {
|
||||
</td></tr>
|
||||
<tr><td>171</td>
|
||||
<td class="red"> return 'MEDIUMTEXT';
|
||||
<td class="normal"> return 'MEDIUMTEXT';
|
||||
</td></tr>
|
||||
<tr><td>172</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>173</td>
|
||||
<td class="red"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>174</td>
|
||||
<td class="covered"> return 'LONGTEXT';
|
||||
@ -544,7 +544,7 @@
|
||||
<td class="covered"> if ($length <= 255) {
|
||||
</td></tr>
|
||||
<tr><td>179</td>
|
||||
<td class="red"> return 'TINYBLOB';
|
||||
<td class="normal"> return 'TINYBLOB';
|
||||
</td></tr>
|
||||
<tr><td>180</td>
|
||||
<td class="covered"> } elseif ($length <= 65532) {
|
||||
@ -553,16 +553,16 @@
|
||||
<td class="covered"> return 'BLOB';
|
||||
</td></tr>
|
||||
<tr><td>182</td>
|
||||
<td class="red"> } elseif ($length <= 16777215) {
|
||||
<td class="normal"> } elseif ($length <= 16777215) {
|
||||
</td></tr>
|
||||
<tr><td>183</td>
|
||||
<td class="red"> return 'MEDIUMBLOB';
|
||||
<td class="normal"> return 'MEDIUMBLOB';
|
||||
</td></tr>
|
||||
<tr><td>184</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>185</td>
|
||||
<td class="red"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>186</td>
|
||||
<td class="covered"> return 'LONGBLOB';
|
||||
@ -571,25 +571,25 @@
|
||||
<td class="covered"> case 'enum':
|
||||
</td></tr>
|
||||
<tr><td>188</td>
|
||||
<td class="red"> if ($this->conn->getAttribute(Doctrine::ATTR_USE_NATIVE_ENUM)) {
|
||||
<td class="normal"> if ($this->conn->getAttribute(Doctrine::ATTR_USE_NATIVE_ENUM)) {
|
||||
</td></tr>
|
||||
<tr><td>189</td>
|
||||
<td class="red"> $values = array();
|
||||
<td class="normal"> $values = array();
|
||||
</td></tr>
|
||||
<tr><td>190</td>
|
||||
<td class="red"> foreach ($field['values'] as $value) {
|
||||
<td class="normal"> foreach ($field['values'] as $value) {
|
||||
</td></tr>
|
||||
<tr><td>191</td>
|
||||
<td class="red"> $values[] = $this->conn->quote($value, 'varchar');
|
||||
<td class="normal"> $values[] = $this->conn->quote($value, 'varchar');
|
||||
</td></tr>
|
||||
<tr><td>192</td>
|
||||
<td class="red"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>193</td>
|
||||
<td class="red"> return 'ENUM('.implode(', ', $values).')';
|
||||
<td class="normal"> return 'ENUM('.implode(', ', $values).')';
|
||||
</td></tr>
|
||||
<tr><td>194</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>195</td>
|
||||
<td class="normal"> // fall back to integer
|
||||
@ -610,7 +610,7 @@
|
||||
<td class="covered"> if ($length <= 1) {
|
||||
</td></tr>
|
||||
<tr><td>201</td>
|
||||
<td class="red"> return 'TINYINT';
|
||||
<td class="normal"> return 'TINYINT';
|
||||
</td></tr>
|
||||
<tr><td>202</td>
|
||||
<td class="covered"> } elseif ($length == 2) {
|
||||
@ -637,10 +637,10 @@
|
||||
<td class="covered"> return 'BIGINT';
|
||||
</td></tr>
|
||||
<tr><td>210</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>211</td>
|
||||
<td class="red"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>212</td>
|
||||
<td class="covered"> return 'INT';
|
||||
@ -679,25 +679,25 @@
|
||||
<td class="covered"> return 'DOUBLE';
|
||||
</td></tr>
|
||||
<tr><td>224</td>
|
||||
<td class="red"> case 'decimal':
|
||||
<td class="normal"> case 'decimal':
|
||||
</td></tr>
|
||||
<tr><td>225</td>
|
||||
<td class="red"> $length = !empty($field['length']) ? $field['length'] : 18;
|
||||
<td class="normal"> $length = !empty($field['length']) ? $field['length'] : 18;
|
||||
</td></tr>
|
||||
<tr><td>226</td>
|
||||
<td class="red"> $scale = !empty($field['scale']) ? $field['scale'] : $this->conn->getAttribute(Doctrine::ATTR_DECIMAL_PLACES);
|
||||
<td class="normal"> $scale = !empty($field['scale']) ? $field['scale'] : $this->conn->getAttribute(Doctrine::ATTR_DECIMAL_PLACES);
|
||||
</td></tr>
|
||||
<tr><td>227</td>
|
||||
<td class="red"> return 'DECIMAL('.$length.','.$scale.')';
|
||||
<td class="normal"> return 'DECIMAL('.$length.','.$scale.')';
|
||||
</td></tr>
|
||||
<tr><td>228</td>
|
||||
<td class="red"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>229</td>
|
||||
<td class="red"> throw new Doctrine_DataDict_Exception('Unknown field type \'' . $field['type'] . '\'.');
|
||||
<td class="normal"> throw new Doctrine_DataDict_Exception('Unknown field type \'' . $field['type'] . '\'.');
|
||||
</td></tr>
|
||||
<tr><td>230</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>231</td>
|
||||
<td class="normal">
|
||||
|
@ -1096,10 +1096,10 @@
|
||||
<td class="covered"> if ( ! isset($field['type'])) {
|
||||
</td></tr>
|
||||
<tr><td>363</td>
|
||||
<td class="red"> throw new Doctrine_DataDict_Exception('Missing column type.');
|
||||
<td class="normal"> throw new Doctrine_DataDict_Exception('Missing column type.');
|
||||
</td></tr>
|
||||
<tr><td>364</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>365</td>
|
||||
<td class="covered"> switch ($field['type']) {
|
||||
@ -1183,7 +1183,7 @@
|
||||
<td class="covered"> return 'BIGSERIAL';
|
||||
</td></tr>
|
||||
<tr><td>392</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>393</td>
|
||||
<td class="covered"> }
|
||||
@ -1192,7 +1192,7 @@
|
||||
<td class="covered"> return 'SERIAL';
|
||||
</td></tr>
|
||||
<tr><td>395</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>396</td>
|
||||
<td class="covered"> if ( ! empty($field['length'])) {
|
||||
@ -1219,10 +1219,10 @@
|
||||
<td class="covered"> return 'BIGINT';
|
||||
</td></tr>
|
||||
<tr><td>404</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>405</td>
|
||||
<td class="red"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>406</td>
|
||||
<td class="covered"> return 'INT';
|
||||
@ -1261,25 +1261,25 @@
|
||||
<td class="covered"> return 'FLOAT8';
|
||||
</td></tr>
|
||||
<tr><td>418</td>
|
||||
<td class="red"> case 'decimal':
|
||||
<td class="normal"> case 'decimal':
|
||||
</td></tr>
|
||||
<tr><td>419</td>
|
||||
<td class="red"> $length = !empty($field['length']) ? $field['length'] : 18;
|
||||
<td class="normal"> $length = !empty($field['length']) ? $field['length'] : 18;
|
||||
</td></tr>
|
||||
<tr><td>420</td>
|
||||
<td class="red"> $scale = !empty($field['scale']) ? $field['scale'] : $this->conn->getAttribute(Doctrine::ATTR_DECIMAL_PLACES);
|
||||
<td class="normal"> $scale = !empty($field['scale']) ? $field['scale'] : $this->conn->getAttribute(Doctrine::ATTR_DECIMAL_PLACES);
|
||||
</td></tr>
|
||||
<tr><td>421</td>
|
||||
<td class="red"> return 'NUMERIC('.$length.','.$scale.')';
|
||||
<td class="normal"> return 'NUMERIC('.$length.','.$scale.')';
|
||||
</td></tr>
|
||||
<tr><td>422</td>
|
||||
<td class="red"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>423</td>
|
||||
<td class="red"> throw new Doctrine_DataDict_Exception('Unknown field type \'' . $field['type'] . '\'.');
|
||||
<td class="normal"> throw new Doctrine_DataDict_Exception('Unknown field type \'' . $field['type'] . '\'.');
|
||||
</td></tr>
|
||||
<tr><td>424</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>425</td>
|
||||
<td class="normal">
|
||||
|
@ -175,10 +175,10 @@
|
||||
<td class="normal">
|
||||
</td></tr>
|
||||
<tr><td>56</td>
|
||||
<td class="red"> throw new Doctrine_EventListener_Exception("Couldn't add eventlistener. EventListeners should implement either Doctrine_EventListener_Interface or Doctrine_Overloadable");
|
||||
<td class="normal"> throw new Doctrine_EventListener_Exception("Couldn't add eventlistener. EventListeners should implement either Doctrine_EventListener_Interface or Doctrine_Overloadable");
|
||||
</td></tr>
|
||||
<tr><td>57</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>58</td>
|
||||
<td class="covered"> if ($name === null) {
|
||||
@ -190,7 +190,7 @@
|
||||
<td class="covered"> } else {
|
||||
</td></tr>
|
||||
<tr><td>61</td>
|
||||
<td class="red"> $this->_listeners[$name] = $listener;
|
||||
<td class="normal"> $this->_listeners[$name] = $listener;
|
||||
</td></tr>
|
||||
<tr><td>62</td>
|
||||
<td class="normal"> }
|
||||
|
@ -259,25 +259,25 @@
|
||||
<td class="normal"> {
|
||||
</td></tr>
|
||||
<tr><td>84</td>
|
||||
<td class="red"> if (is_null($value)) {
|
||||
<td class="normal"> if (is_null($value)) {
|
||||
</td></tr>
|
||||
<tr><td>85</td>
|
||||
<td class="red"> return self::$_errorMessages;
|
||||
<td class="normal"> return self::$_errorMessages;
|
||||
</td></tr>
|
||||
<tr><td>86</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>87</td>
|
||||
<td class="normal">
|
||||
</td></tr>
|
||||
<tr><td>88</td>
|
||||
<td class="red"> return isset(self::$_errorMessages[$value]) ?
|
||||
<td class="normal"> return isset(self::$_errorMessages[$value]) ?
|
||||
</td></tr>
|
||||
<tr><td>89</td>
|
||||
<td class="red"> self::$_errorMessages[$value] : self::$_errorMessages[Doctrine::ERR];
|
||||
<td class="normal"> self::$_errorMessages[$value] : self::$_errorMessages[Doctrine::ERR];
|
||||
</td></tr>
|
||||
<tr><td>90</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>91</td>
|
||||
<td class="normal">
|
||||
|
@ -139,10 +139,10 @@
|
||||
<td class="covered"> if ($conn !== null) {
|
||||
</td></tr>
|
||||
<tr><td>44</td>
|
||||
<td class="red"> $this->_conn = $conn;
|
||||
<td class="normal"> $this->_conn = $conn;
|
||||
</td></tr>
|
||||
<tr><td>45</td>
|
||||
<td class="red"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>46</td>
|
||||
<td class="covered"> }
|
||||
|
@ -262,13 +262,13 @@
|
||||
<td class="covered"> } elseif ($query instanceof Doctrine_Query) {
|
||||
</td></tr>
|
||||
<tr><td>85</td>
|
||||
<td class="red"> $this->query = $query;
|
||||
<td class="normal"> $this->query = $query;
|
||||
</td></tr>
|
||||
<tr><td>86</td>
|
||||
<td class="red"> } else {
|
||||
<td class="normal"> } else {
|
||||
</td></tr>
|
||||
<tr><td>87</td>
|
||||
<td class="red"> throw new Doctrine_Exception('Constructor argument should be either Doctrine_Query object or valid DQL query');
|
||||
<td class="normal"> throw new Doctrine_Exception('Constructor argument should be either Doctrine_Query object or valid DQL query');
|
||||
</td></tr>
|
||||
<tr><td>88</td>
|
||||
<td class="normal"> }
|
||||
|
@ -130,7 +130,7 @@
|
||||
<td class="covered"> return $this->condition;
|
||||
</td></tr>
|
||||
<tr><td>41</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>42</td>
|
||||
<td class="normal">
|
||||
|
@ -151,7 +151,7 @@
|
||||
<td class="covered"> return $coll;
|
||||
</td></tr>
|
||||
<tr><td>48</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>49</td>
|
||||
<td class="normal"> public function search(Doctrine_Record $record, Doctrine_Collection $coll)
|
||||
|
@ -196,7 +196,7 @@
|
||||
<td class="covered"> if (class_exists($this->_options['className'])) {
|
||||
</td></tr>
|
||||
<tr><td>63</td>
|
||||
<td class="red"> return false;
|
||||
<td class="covered"> return false;
|
||||
</td></tr>
|
||||
<tr><td>64</td>
|
||||
<td class="orange"> }
|
||||
|
@ -154,10 +154,10 @@
|
||||
<td class="covered"> if ( ! isset($this->sql['listDatabases'])) {
|
||||
</td></tr>
|
||||
<tr><td>49</td>
|
||||
<td class="red"> throw new Doctrine_Import_Exception(__FUNCTION__ . ' not supported by this driver.');
|
||||
<td class="normal"> throw new Doctrine_Import_Exception(__FUNCTION__ . ' not supported by this driver.');
|
||||
</td></tr>
|
||||
<tr><td>50</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>51</td>
|
||||
<td class="normal">
|
||||
@ -166,7 +166,7 @@
|
||||
<td class="covered"> return $this->conn->fetchColumn($this->sql['listDatabases']);
|
||||
</td></tr>
|
||||
<tr><td>53</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>54</td>
|
||||
<td class="normal">
|
||||
|
@ -397,7 +397,7 @@
|
||||
<td class="normal">
|
||||
</td></tr>
|
||||
<tr><td>130</td>
|
||||
<td class="red"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>131</td>
|
||||
<td class="normal">
|
||||
|
@ -181,10 +181,10 @@
|
||||
<td class="covered"> if ($bool !== null) {
|
||||
</td></tr>
|
||||
<tr><td>58</td>
|
||||
<td class="red"> $this->generateBaseClasses = $bool;
|
||||
<td class="normal"> $this->generateBaseClasses = $bool;
|
||||
</td></tr>
|
||||
<tr><td>59</td>
|
||||
<td class="red"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>60</td>
|
||||
<td class="normal">
|
||||
@ -193,7 +193,7 @@
|
||||
<td class="covered"> return $this->generateBaseClasses;
|
||||
</td></tr>
|
||||
<tr><td>62</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>63</td>
|
||||
<td class="normal">
|
||||
|
@ -193,13 +193,13 @@
|
||||
<td class="normal"> {
|
||||
</td></tr>
|
||||
<tr><td>62</td>
|
||||
<td class="red"> $this->_locator = $locator;
|
||||
<td class="normal"> $this->_locator = $locator;
|
||||
</td></tr>
|
||||
<tr><td>63</td>
|
||||
<td class="red"> return $this;
|
||||
<td class="normal"> return $this;
|
||||
</td></tr>
|
||||
<tr><td>64</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>65</td>
|
||||
<td class="normal">
|
||||
|
@ -241,28 +241,28 @@
|
||||
<td class="covered"> if ($table->getOption('inheritanceMap')) {
|
||||
</td></tr>
|
||||
<tr><td>78</td>
|
||||
<td class="red"> $subclasses = $table->getOption('subclasses');
|
||||
<td class="normal"> $subclasses = $table->getOption('subclasses');
|
||||
</td></tr>
|
||||
<tr><td>79</td>
|
||||
<td class="red"> while (in_array($class, $subclasses)) {
|
||||
<td class="normal"> while (in_array($class, $subclasses)) {
|
||||
</td></tr>
|
||||
<tr><td>80</td>
|
||||
<td class="red"> $class = get_parent_class($class);
|
||||
<td class="normal"> $class = get_parent_class($class);
|
||||
</td></tr>
|
||||
<tr><td>81</td>
|
||||
<td class="red"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>82</td>
|
||||
<td class="red"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>83</td>
|
||||
<td class="covered"> if ($class != $table->getComponentName()) {
|
||||
</td></tr>
|
||||
<tr><td>84</td>
|
||||
<td class="red"> $this->_tree = $table->getConnection()->getTable($class)->getTree();
|
||||
<td class="normal"> $this->_tree = $table->getConnection()->getTable($class)->getTree();
|
||||
</td></tr>
|
||||
<tr><td>85</td>
|
||||
<td class="red"> } else {
|
||||
<td class="normal"> } else {
|
||||
</td></tr>
|
||||
<tr><td>86</td>
|
||||
<td class="covered"> $this->_tree = $table->getTree();
|
||||
|
@ -154,19 +154,19 @@
|
||||
<td class="normal"> {
|
||||
</td></tr>
|
||||
<tr><td>49</td>
|
||||
<td class="red"> if (isset($this->_options[$option])) {
|
||||
<td class="normal"> if (isset($this->_options[$option])) {
|
||||
</td></tr>
|
||||
<tr><td>50</td>
|
||||
<td class="red"> return $this->_options[$option];
|
||||
<td class="normal"> return $this->_options[$option];
|
||||
</td></tr>
|
||||
<tr><td>51</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>52</td>
|
||||
<td class="red"> return null;
|
||||
<td class="normal"> return null;
|
||||
</td></tr>
|
||||
<tr><td>53</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>54</td>
|
||||
<td class="normal">
|
||||
|
@ -370,7 +370,7 @@
|
||||
<td class="covered"> return new Doctrine_Query($conn);
|
||||
</td></tr>
|
||||
<tr><td>121</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>122</td>
|
||||
<td class="normal"> public function reset()
|
||||
|
@ -193,7 +193,7 @@
|
||||
<td class="covered"> } else {
|
||||
</td></tr>
|
||||
<tr><td>62</td>
|
||||
<td class="red"> $this->parts[$queryPartName][] = $queryPart;
|
||||
<td class="normal"> $this->parts[$queryPartName][] = $queryPart;
|
||||
</td></tr>
|
||||
<tr><td>63</td>
|
||||
<td class="normal"> }
|
||||
@ -205,7 +205,7 @@
|
||||
<td class="covered"> return $this;
|
||||
</td></tr>
|
||||
<tr><td>66</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>67</td>
|
||||
<td class="normal">
|
||||
|
@ -16,7 +16,7 @@
|
||||
<td class="normal">/*
|
||||
</td></tr>
|
||||
<tr><td>3</td>
|
||||
<td class="normal"> * $Id: Record.php 2963 2007-10-21 06:23:59Z Jonathan.Wage $
|
||||
<td class="normal"> * $Id: Record.php 2975 2007-10-21 20:12:36Z romanb $
|
||||
</td></tr>
|
||||
<tr><td>4</td>
|
||||
<td class="normal"> *
|
||||
@ -103,7 +103,7 @@
|
||||
<td class="normal"> * @since 1.0
|
||||
</td></tr>
|
||||
<tr><td>32</td>
|
||||
<td class="normal"> * @version $Revision: 2963 $
|
||||
<td class="normal"> * @version $Revision: 2975 $
|
||||
</td></tr>
|
||||
<tr><td>33</td>
|
||||
<td class="normal"> */
|
||||
@ -1240,13 +1240,13 @@
|
||||
<td class="covered"> if ($default === null) {
|
||||
</td></tr>
|
||||
<tr><td>411</td>
|
||||
<td class="covered"> $default = self::$_null;
|
||||
<td class="covered"> continue;
|
||||
</td></tr>
|
||||
<tr><td>412</td>
|
||||
<td class="covered"> }
|
||||
<td class="orange"> }
|
||||
</td></tr>
|
||||
<tr><td>413</td>
|
||||
<td class="normal">
|
||||
<td class="normal">
|
||||
</td></tr>
|
||||
<tr><td>414</td>
|
||||
<td class="covered"> if ($value === self::$_null || $overwrite) {
|
||||
|
@ -160,7 +160,7 @@
|
||||
<td class="covered"> return $this;
|
||||
</td></tr>
|
||||
<tr><td>51</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>52</td>
|
||||
<td class="normal">
|
||||
@ -982,7 +982,7 @@
|
||||
<td class="normal"> {
|
||||
</td></tr>
|
||||
<tr><td>325</td>
|
||||
<td class="red"> if (is_array($constraint)) {
|
||||
<td class="covered"> if (is_array($constraint)) {
|
||||
</td></tr>
|
||||
<tr><td>326</td>
|
||||
<td class="red"> foreach ($constraint as $name => $def) {
|
||||
@ -997,13 +997,13 @@
|
||||
<td class="red"> } else {
|
||||
</td></tr>
|
||||
<tr><td>330</td>
|
||||
<td class="red"> $this->_table->addCheckConstraint($constraint, $name);
|
||||
<td class="covered"> $this->_table->addCheckConstraint($constraint, $name);
|
||||
</td></tr>
|
||||
<tr><td>331</td>
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>332</td>
|
||||
<td class="red"> return $this;
|
||||
<td class="covered"> return $this;
|
||||
</td></tr>
|
||||
<tr><td>333</td>
|
||||
<td class="orange"> }
|
||||
|
@ -175,10 +175,10 @@
|
||||
<td class="normal">
|
||||
</td></tr>
|
||||
<tr><td>56</td>
|
||||
<td class="red"> throw new Doctrine_EventListener_Exception("Couldn't add eventlistener. Record listeners should implement either Doctrine_EventListener_Interface or Doctrine_Overloadable");
|
||||
<td class="normal"> throw new Doctrine_EventListener_Exception("Couldn't add eventlistener. Record listeners should implement either Doctrine_EventListener_Interface or Doctrine_Overloadable");
|
||||
</td></tr>
|
||||
<tr><td>57</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>58</td>
|
||||
<td class="covered"> if ($name === null) {
|
||||
@ -190,7 +190,7 @@
|
||||
<td class="covered"> } else {
|
||||
</td></tr>
|
||||
<tr><td>61</td>
|
||||
<td class="red"> $this->_listeners[$name] = $listener;
|
||||
<td class="normal"> $this->_listeners[$name] = $listener;
|
||||
</td></tr>
|
||||
<tr><td>62</td>
|
||||
<td class="normal"> }
|
||||
|
@ -394,10 +394,10 @@
|
||||
<td class="covered"> if ( ! isset($definition[$key]) && $val) {
|
||||
</td></tr>
|
||||
<tr><td>129</td>
|
||||
<td class="red"> throw new Doctrine_Exception($key . ' is required!');
|
||||
<td class="normal"> throw new Doctrine_Exception($key . ' is required!');
|
||||
</td></tr>
|
||||
<tr><td>130</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>131</td>
|
||||
<td class="covered"> if (isset($definition[$key])) {
|
||||
|
@ -865,7 +865,7 @@
|
||||
<td class="covered"> continue;
|
||||
</td></tr>
|
||||
<tr><td>286</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>287</td>
|
||||
<td class="covered"> $lower = strtolower(trim($term));
|
||||
@ -880,7 +880,7 @@
|
||||
<td class="covered"> continue;
|
||||
</td></tr>
|
||||
<tr><td>291</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>292</td>
|
||||
<td class="normal">
|
||||
@ -898,7 +898,7 @@
|
||||
<td class="covered"> return $ret;
|
||||
</td></tr>
|
||||
<tr><td>297</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>298</td>
|
||||
<td class="normal">}
|
||||
|
@ -178,10 +178,10 @@
|
||||
<td class="covered"> if ( ! $table instanceof Doctrine_Table) {
|
||||
</td></tr>
|
||||
<tr><td>57</td>
|
||||
<td class="red"> throw new Doctrine_Search_Exception('Invalid argument type. Expected instance of Doctrine_Table.');
|
||||
<td class="normal"> throw new Doctrine_Search_Exception('Invalid argument type. Expected instance of Doctrine_Table.');
|
||||
</td></tr>
|
||||
<tr><td>58</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>59</td>
|
||||
<td class="normal"> }
|
||||
|
@ -1657,7 +1657,7 @@
|
||||
<td class="normal"> {
|
||||
</td></tr>
|
||||
<tr><td>550</td>
|
||||
<td class="red"> if (is_string($name)) {
|
||||
<td class="covered"> if (is_string($name)) {
|
||||
</td></tr>
|
||||
<tr><td>551</td>
|
||||
<td class="red"> $this->_options['checks'][$name] = $definition;
|
||||
@ -1666,7 +1666,7 @@
|
||||
<td class="red"> } else {
|
||||
</td></tr>
|
||||
<tr><td>553</td>
|
||||
<td class="red"> $this->_options['checks'][] = $definition;
|
||||
<td class="covered"> $this->_options['checks'][] = $definition;
|
||||
</td></tr>
|
||||
<tr><td>554</td>
|
||||
<td class="normal"> }
|
||||
@ -1675,7 +1675,7 @@
|
||||
<td class="normal">
|
||||
</td></tr>
|
||||
<tr><td>556</td>
|
||||
<td class="red"> return $this;
|
||||
<td class="covered"> return $this;
|
||||
</td></tr>
|
||||
<tr><td>557</td>
|
||||
<td class="orange"> }
|
||||
|
@ -247,7 +247,7 @@
|
||||
<td class="covered"> if (isset($this->registry[$oid])) {
|
||||
</td></tr>
|
||||
<tr><td>80</td>
|
||||
<td class="covered"> return false;
|
||||
<td class="red"> return false;
|
||||
</td></tr>
|
||||
<tr><td>81</td>
|
||||
<td class="orange"> }
|
||||
|
@ -271,7 +271,7 @@
|
||||
<td class="covered"> return $this;
|
||||
</td></tr>
|
||||
<tr><td>88</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>89</td>
|
||||
<td class="normal">
|
||||
|
@ -184,22 +184,22 @@
|
||||
<td class="covered"> if ($table->getOption('inheritanceMap')) {
|
||||
</td></tr>
|
||||
<tr><td>59</td>
|
||||
<td class="red"> $subclasses = $table->getOption('subclasses');
|
||||
<td class="normal"> $subclasses = $table->getOption('subclasses');
|
||||
</td></tr>
|
||||
<tr><td>60</td>
|
||||
<td class="red"> while (in_array($class, $subclasses)) {
|
||||
<td class="normal"> while (in_array($class, $subclasses)) {
|
||||
</td></tr>
|
||||
<tr><td>61</td>
|
||||
<td class="red"> $class = get_parent_class($class);
|
||||
<td class="normal"> $class = get_parent_class($class);
|
||||
</td></tr>
|
||||
<tr><td>62</td>
|
||||
<td class="red"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>63</td>
|
||||
<td class="red"> $this->_baseComponent = $class;
|
||||
<td class="normal"> $this->_baseComponent = $class;
|
||||
</td></tr>
|
||||
<tr><td>64</td>
|
||||
<td class="red"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>65</td>
|
||||
<td class="normal"> //echo $this->_baseComponent;
|
||||
|
@ -169,7 +169,7 @@
|
||||
<td class="covered"> } else {
|
||||
</td></tr>
|
||||
<tr><td>54</td>
|
||||
<td class="red"> throw new Doctrine_Exception("Validator named '$name' not available.");
|
||||
<td class="normal"> throw new Doctrine_Exception("Validator named '$name' not available.");
|
||||
</td></tr>
|
||||
<tr><td>55</td>
|
||||
<td class="normal"> }
|
||||
@ -184,7 +184,7 @@
|
||||
<td class="covered"> return self::$validators[$name];
|
||||
</td></tr>
|
||||
<tr><td>59</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>60</td>
|
||||
<td class="normal">
|
||||
|
@ -151,19 +151,19 @@
|
||||
<td class="normal"> {
|
||||
</td></tr>
|
||||
<tr><td>48</td>
|
||||
<td class="red"> if (isset($this->_args[$arg])) {
|
||||
<td class="normal"> if (isset($this->_args[$arg])) {
|
||||
</td></tr>
|
||||
<tr><td>49</td>
|
||||
<td class="red"> return $this->_args[$arg];
|
||||
<td class="normal"> return $this->_args[$arg];
|
||||
</td></tr>
|
||||
<tr><td>50</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>51</td>
|
||||
<td class="red"> return null;
|
||||
<td class="normal"> return null;
|
||||
</td></tr>
|
||||
<tr><td>52</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>53</td>
|
||||
<td class="normal">
|
||||
|
@ -283,10 +283,10 @@
|
||||
<td class="normal"> {
|
||||
</td></tr>
|
||||
<tr><td>92</td>
|
||||
<td class="red"> return self::$states;
|
||||
<td class="normal"> return self::$states;
|
||||
</td></tr>
|
||||
<tr><td>93</td>
|
||||
<td class="orange"> }
|
||||
<td class="normal"> }
|
||||
</td></tr>
|
||||
<tr><td>94</td>
|
||||
<td class="normal">
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user