PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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)) {