The following patch will resolve lint warnings/errors shown in "Eclipse for PHP":
Index: API.html
===================================================================
--- API.html (revision 433)
+++ API.html (working copy)
@@ -325,7 +325,7 @@
Default value: <code>20</code>
</dd>
<dd>
- The <u>maximum</u> number of decimal places of the results of operations involving
+ The <span style="text-decoration:underline">maximum</span> number of decimal places of the results of operations involving
division, i.e. division, square root and base conversion operations, and power
operations with negative exponents.<br />
</dd>
@@ -1325,7 +1325,7 @@
</p>
<pre>
x = new BigNumber(-0)
-x.isZero() && x.isNegative() // true
+x.isZero() && x.isNegative() // true
y = new BigNumber(Infinity)
y.isZero() // false</pre>
<p>Note: <code>n == 0</code> can be used if <code>n >= Number.MIN_VALUE</code>.</p>
@@ -1448,7 +1448,7 @@
<p>
If <code>d</code> is omitted or is <code>null</code> or <code>undefined</code>, the return
value is the number of significant digits of the value of this BigNumber, or <code>null</code>
- if the value of this BigNumber is ±<code>Infinity</code> or <code>NaN</code>.</p>
+ if the value of this BigNumber is ±<code>Infinity</code> or <code>NaN</code>.
</p>
<p>
If <code>d</code> is <code>true</code> then any trailing zeros of the integer
@@ -2152,7 +2152,7 @@
try {
// ...
} catch (e) {
- if (e instanceof Error && e.message.indexOf('[BigNumber Error]') === 0) {
+ if (e instanceof Error && e.message.indexOf('[BigNumber Error]') === 0) {
// ...
}
}</pre>
The following patch will resolve lint warnings/errors shown in "Eclipse for PHP":