diff --git a/docs/uri/7.0/base-uri.md b/docs/uri/7.0/base-uri.md index 4656a3d9..7d4786b0 100644 --- a/docs/uri/7.0/base-uri.md +++ b/docs/uri/7.0/base-uri.md @@ -6,6 +6,8 @@ title: URI context aware wrapper URI info and full manipulation ======= +
+ The `League\Uri\BaseUri` class is build to ease gathering information regarding a specific URI. The class makes it easier to transform and crawl pages containing URIs (ie: a web page, or an HTTP client for instance). diff --git a/phpstan.neon b/phpstan.neon index 087159ba..5e790c3a 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -21,5 +21,6 @@ parameters: - message: '#Variable method call on Psr\\Http\\Message\\UriInterface.#' path: components/Modifier.php - '#Attribute class Deprecated does not exist.#' + - '#deprecated class League\\Uri\\BaseUri#' reportUnmatchedIgnoredErrors: true treatPhpDocTypesAsCertain: false diff --git a/uri/BaseUri.php b/uri/BaseUri.php index b276d317..bfbd7600 100644 --- a/uri/BaseUri.php +++ b/uri/BaseUri.php @@ -42,6 +42,10 @@ /** * @phpstan-import-type ComponentMap from UriInterface + * @deprecated since version 7.6.0 + * + * @see Modifier + * @see Uri */ class BaseUri implements Stringable, JsonSerializable, UriAccess { diff --git a/uri/CHANGELOG.md b/uri/CHANGELOG.md index efca090b..73c51f1e 100644 --- a/uri/CHANGELOG.md +++ b/uri/CHANGELOG.md @@ -20,7 +20,7 @@ All Notable changes to `League\Uri` will be documented in this file ### Deprecated -- None +- `BasUri` use the `Uri` class or the component `Modifier` class depending on the needed requirement. ### Removed