Skip to content
This repository was archived by the owner on May 2, 2023. It is now read-only.
This repository was archived by the owner on May 2, 2023. It is now read-only.

Rename the String class for PHP 7.0 #42

@tomzx

Description

@tomzx

Under PHP 7.0, classes named as String are not allowed. As such, it will generate a fatal error that looks like this:

PHP Fatal error: Cannot use vierbergenlars\LibJs\String as String because 'String' is a special class name in /home/travis/build/tomzx/php-semver-checker-git/vendor/vierbergenlars/php-semver/src/vierbergenlars/SemVer/internal.php on line 5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions