Skip to content

PHP extension mbstring not listed as dependency in composer.json #6

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

Closed
Potherca opened this issue Sep 20, 2016 · 0 comments
Closed

Comments

@Potherca
Copy link

Potherca commented Sep 20, 2016

I recently switched over to this package from the PhpSpec version.

When I tried to deploy my application to Heroku I encountered an error:

Call to undefined function Phalcon\Diff\Renderer\Html\mb_strlen() on line 142 in php-diff/src/Diff/Renderer/Html/BaseArray.php

This is caused by the mbstring extension not being registered as a dependency. The workaround for me was to add the dependency in my propjects `composer.json.

    {
        "require" : {
            "ext-mbstring": "*"
        }
    }

As this is trivial to fix, I will send in a pull-request shortly.

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