PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » PEAR » PEAR » Bug #618

Warnings from PhpEclipse in Registry.php

Details

Submitted2004-01-24 11:11 UTC
Frompear-01 at oliverklee dot de
StatusBogus
PackagePEAR
PHP VersionIrrelevant
OSLinux
Roadmaps(Not assigned)

Comments

[2004-01-24 11:11 UTC] pear-01 at oliverklee dot de

Description:
------------
(Using PEAR 1.3b5)

PhpEclipse shows the following two warnings/errors for Registry.php:

Line 283: Error ')' expected after 'if' condition.
Line 581: Error Too many closing '}'; end-of-file not reached.

Both errors can be fixed by changing line 283 from
if (@!is_file($this->lockfile)) {
to
if (!is_file($this->lockfile)) {