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

Prevent invalid range offset #33

Merged
merged 1 commit into from
Apr 26, 2019
Merged

Prevent invalid range offset #33

merged 1 commit into from
Apr 26, 2019

Conversation

shadowhand
Copy link
Contributor

Errors seen:

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 12 in vendor/str/str/src/Str.php on line 1940

Solution: always place - at the beginning or end of expressions to prevent PCRE from interpreting the character as a range.

@coveralls
Copy link

coveralls commented Apr 26, 2019

Pull Request Test Coverage Report for Build 133

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 131: 0.0%
Covered Lines: 480
Relevant Lines: 480

💛 - Coveralls

@fe3dback fe3dback merged commit 15cae2d into fe3dback:master Apr 26, 2019
@fe3dback
Copy link
Owner

thanks

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

Successfully merging this pull request may close these issues.

None yet

3 participants