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

PHP Warning: preg_replace(): No ending delimiter '~' found #77

Closed
fezfez opened this issue Sep 3, 2015 · 3 comments
Closed

PHP Warning: preg_replace(): No ending delimiter '~' found #77

fezfez opened this issue Sep 3, 2015 · 3 comments
Labels

Comments

@fezfez
Copy link

fezfez commented Sep 3, 2015

When i generate coverage clover, this error happen.

PHP Warning:  preg_replace(): No ending delimiter '~' found in vendor\crysalead\kahlan\src\reporter\coverage\Collector.php on line 290
PHP Stack trace:
PHP   1. {main}() vendor\crysalead\kahlan\bin\kahlan:0
PHP   2. kahlan\cli\Kahlan->run() vendor\crysalead\kahlan\bin\kahlan:44
PHP   3. filter\Filter::on() vendor\crysalead\kahlan\src\cli\Kahlan.php:369
PHP   4. call_user_func_array() vendor\crysalead\filter\src\Filter.php:215
PHP   5. kahlan\cli\Kahlan->kahlan\cli\{closure}() vendor\crysalead\filter\src\Filter.php:215
PHP   6. kahlan\cli\Kahlan->_reporting() vendor\crysalead\kahlan\src\cli\Kahlan.php:363
PHP   7. filter\Filter::on() vendor\crysalead\kahlan\src\cli\Kahlan.php:558
PHP   8. call_user_func_array() vendor\crysalead\filter\src\Filter.php:215
PHP   9. kahlan\cli\Kahlan->{closure:kahlan-config.php:47-59}() vendor\crysalead\filter\src\Filter.php:215
PHP  10. kahlan\reporter\coverage\exporter\Clover::write() kahlan-config.php:57
PHP  11. kahlan\reporter\coverage\exporter\Clover::export() vendor\crysalead\kahlan\src\reporter\coverage\exporter\Clover.php:27
PHP  12. kahlan\reporter\Coverage->export() vendor\crysalead\kahlan\src\reporter\coverage\exporter\Clover.php:62
PHP  13. kahlan\reporter\coverage\Collector->export() vendor\crysalead\kahlan\src\reporter\Coverage.php:141
PHP  14. preg_replace() vendor\crysalead\kahlan\src\reporter\coverage\Collector.php:290
php -v
PHP 5.5.8 (cli) (built: Jan  8 2014 15:32:25)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies

Kahlan 1.1.8

@jails
Copy link
Contributor

jails commented Sep 3, 2015

Please check with the 1.1.9 version.
But with no more information on the code itself I can only make guesses.

@jails jails added the bug label Sep 3, 2015
@jails
Copy link
Contributor

jails commented Sep 17, 2015

I'm assuming this issue has been solved in 1.1.9, otherwise open this issue back with further details so I can reproduce the issue.

@jails jails closed this as completed Sep 17, 2015
@fezfez
Copy link
Author

fezfez commented Sep 17, 2015

i will try with new version, i'll give you feed back

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

No branches or pull requests

2 participants