6.0.0-beta1
7/12/25

[#13792] PHP Fatal error: Can't inherit abstract function Sabberworm\\CSS\\Renderable::__toString()...
Summary PHP Fatal error: Can't inherit abstract function Sabberworm\\CSS\\Renderable::__toString()...
Queue Horde Framework Packages
Type Bug
State Resolved
Priority 2. Medium
Owners
Requester klaus (at) tachtler (dot) net
Created 01/09/2015 (3837 days ago)
Due
Updated 01/22/2016 (3459 days ago)
Assigned
Resolved 01/22/2016 (3459 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/22/2016 11:44:31 AM Jan Schneider State ⇒ Resolved
 
01/09/2015 08:40:12 PM Michael Slusarz Comment #3 Reply to this comment
Fixed in the next version of CSS_Parser.

But there is something very wrong with our packaging software 
regarding processing composer-generated files so that needs to be 
fixed before a package can be released.
01/09/2015 08:32:18 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit c24f46ec4c8a1c946fb078642badc9fdbf1f11b9
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Fri Jan 9 13:04:17 2015 -0700

     [mms] Update PHP-CSS-Parser lib to latest dev to fix issues on 
PHP < 5.3.9 (Bug #13792).

  framework/Css_Parser/bundle/composer.json          |    2 +-
  framework/Css_Parser/bundle/composer.lock          |   16 +-
  framework/Css_Parser/bundle/vendor/autoload.php    |    2 +-
  .../bundle/vendor/composer/autoload_real.php       |    8 +-
  .../bundle/vendor/composer/installed.json          |   14 +-
  .../vendor/sabberworm/php-css-parser/.travis.yml   |    1 +
  .../vendor/sabberworm/php-css-parser/Doxyfile      | 2310 
++++++++++++++++++++
  .../vendor/sabberworm/php-css-parser/README.md     |    2 +-
  .../lib/Sabberworm/CSS/Value/Value.php             |    5 +-
  framework/Css_Parser/package.xml                   |    4 +-
  10 files changed, 2339 insertions(+), 25 deletions(-)

http://github.com/horde/horde/commit/c24f46ec4c8a1c946fb078642badc9fdbf1f11b9
01/09/2015 04:03:43 PM klaus (at) tachtler (dot) net Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ PHP Fatal error: Can't inherit abstract function Sabberworm\\CSS\\Renderable::__toString()...
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Hi,

following error occurs after Update 
Horde/Css/Parser/vendor/sabberworm/php-css-parser...

PHP Fatal error:  Can't inherit abstract function 
Sabberworm\\CSS\\Renderable::__toString() (previously declared 
abstract in Sabberworm\\CSS\\Value\\Value) in 
/usr/share/pear/Horde/Css/Parser/vendor/sabberworm/php-css-parser/lib/Sabberworm/CSS/Value/Value.php on line 
7

after a little bit research - the solution to solve the problem was 
described under follwowing link:

https://github.com/sabberworm/PHP-CSS-Parser/issues/83

Is this the coorect way to solve the problem for Horde too?

Thank you for your help!

Saved Queries