[pkg-php-pear] Bug#824175: Error: Class '...\PropertyAccess' not found

David Prévot taffit at debian.org
Sun May 15 15:39:53 UTC 2016

Control: tag -1 upstream

On Fri, May 13, 2016 at 01:29:46PM +0200, Antonio Ospite wrote:
> Package: php-symfony-serializer
> Version: 2.8.6+dfsg-1
> Severity: normal
> Dear Maintainer,
> I installed php-symfony-serializer and tried the first example from the
> documentation at
> http://symfony.com/doc/current/components/serializer.html, the code is
> like this:
> PHP Fatal error:  Uncaught Error: Class 'Symfony\Component\PropertyAccess\PropertyAccess' not found in /usr/share/php/Symfony/Component/Serializer/Normalizer/ObjectNormalizer.php:40

The documentation page you’re referring to already warns about it:

“To use the ObjectNormalizer, the PropertyAccess component must also be

> Of course the error goes away if I install the
> php-symfony-property-access package.
> I see that php-symfony-property-access is a suggested package, but I was
> wondering it if should be a dependency or a least a recommended
> package.

This is intended upstream, that only suggests symfony/property-info in
their composer.json file.


Composer documents suggest as follow:

Suggested packages that can enhance or work well with this package. These are
just informational and are displayed after the package is installed, to give
your users a hint that they could add more packages, even though they are not
strictly required.


Debian documents suggests as follow:

This is used to declare that one package may be more useful with one or
more others. Using this field tells the packaging system and the user
that the listed packages are related to this one and can perhaps enhance
its usefulness, but that installing this one without them is perfectly


Both Composer and Debian interpretation of suggest seem to match well
enough, so if you believe the relation is too weak, you should try to
convince upstream about it.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20160515/612400a5/attachment.sig>

More information about the pkg-php-pear mailing list