Skip to content

Commit

Permalink
Remove protocols from apidoc references, fix test package
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Mar 25, 2024
1 parent 4f220ea commit 8f3d8db
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/main/php/util/Authority.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
* authority = [ userinfo "@" ] host [ ":" port ]
* ```
*
* @see xp://util.URI#authority
* @see util.URI::authority
* @see https://tools.ietf.org/html/rfc3986#section-3.2
* @test xp://net.xp_framework.unittest.util.AuthorityTest
* @test util.unittest.AuthorityTest
*/
class Authority implements Value {
public static $EMPTY;
Expand Down
2 changes: 1 addition & 1 deletion src/main/php/util/URI.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*
* @see https://tools.ietf.org/html/rfc3986
* @see http://stackoverflow.com/questions/1546419/convert-file-path-to-a-file-uri
* @test xp://net.xp_framework.unittest.util.URITest
* @test util.unittest.URITest
*/
class URI implements Value {
private $scheme, $authority, $path, $query, $fragment;
Expand Down
4 changes: 2 additions & 2 deletions src/main/php/util/uri/Canonicalization.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Canonicalizes URIs
*
* @test xp://net.xp_framework.unittest.util.URICanonicalizationTest
* @test util.unittest.URICanonicalizationTest
* @see https://en.wikipedia.org/wiki/URL_normalization
*/
class Canonicalization {
Expand Down Expand Up @@ -47,7 +47,7 @@ function($match) {
* Path canonicalization normalizes escape sequences, replaces multiple
* consecutive forward slashes by a single one and removes dot segments.
*
* @see xp://util.uri.Canonicalization::normalize
* @see util.uri.Canonicalization::normalize
* @see https://tools.ietf.org/html/rfc3986#section-5.2.4
* @param string $path
* @return string
Expand Down
6 changes: 3 additions & 3 deletions src/main/php/util/uri/Creation.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
/**
* Creates URI instances
*
* @see xp://util.URI#using
* @see xp://util.URI#with
* @test xp://net.xp_framework.unittest.util.URICreationTest
* @see util.URI::using
* @see util.URI::with
* @test util.unittest.URICreationTest
*/
class Creation {
public $scheme = null;
Expand Down
2 changes: 1 addition & 1 deletion src/main/php/util/uri/Parameters.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @see http://php.net/urldecode
* @see http://php.net/urlencode
* @see https://en.wikipedia.org/wiki/Query_string#URL_encoding
* @test xp://util.unittest.URIParametersTest
* @test util.unittest.URIParametersTest
*/
class Parameters implements Value, IteratorAggregate {
private $pairs= [];
Expand Down

0 comments on commit 8f3d8db

Please sign in to comment.