* add phpunit as a dev dependency

* add some basic tests for UrlHelper::rewrite_relative()
 * fix UrlHelper::rewrite_relative() to work better on non-absolute
   relative URL paths
This commit is contained in:
Andrew Dolgov
2022-03-22 12:24:31 +03:00
parent 7116629487
commit 1c4f7ab3b8
1346 changed files with 137062 additions and 689 deletions
+18
View File
@@ -0,0 +1,18 @@
# phpunit/php-invoker
[![CI Status](https://github.com/sebastianbergmann/php-invoker/workflows/CI/badge.svg)](https://github.com/sebastianbergmann/php-invoker/actions)
[![Type Coverage](https://shepherd.dev/github/sebastianbergmann/php-invoker/coverage.svg)](https://shepherd.dev/github/sebastianbergmann/php-invoker)
## Installation
You can add this library as a local, per-project dependency to your project using [Composer](https://getcomposer.org/):
```
composer require phpunit/php-invoker
```
If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:
```
composer require --dev phpunit/php-invoker
```