Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug : Final Class String #230

Open
ghost opened this issue Feb 12, 2019 · 3 comments
Open

Bug : Final Class String #230

ghost opened this issue Feb 12, 2019 · 3 comments

Comments

@ghost
Copy link

ghost commented Feb 12, 2019

Hi,

Thank you for this bundle. Is it possible to make it work with php7.2 ?
Tks

PHP Fatal error: Cannot use JMS\SecurityExtraBundle\Security\Util\String as String because 'String' is a special class name in /var/www/websav/src/Sedona/WebSAVBundle/Controller/ProductItemController.php on line 6

PHP version : PHP 7.2.15-1+020190209065123.16+stretch1.gbp3ad8c0 (cli) (built: Feb 9 2019 06:51:24) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.15-1+020190209065123.16+stretch1.gbp3ad8c0, Copyright (c) 1999-2018, by Zend Technologies

OS Version : PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

@jamalo
Copy link

jamalo commented Feb 13, 2019

Solution would be here renaming the string class to text class since String is a reserved name in PHP7. @izitech-evolution

@jamalo
Copy link

jamalo commented Feb 13, 2019

See #231

@ghost
Copy link
Author

ghost commented Feb 13, 2019

Hi,

Tks for your fast responses. You save my day. It works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant