Skip to content

Commit

Permalink
Add @deprecated markers to web.Route and all classes in web.routing
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Apr 6, 2024
1 parent 8d67046 commit fe3c79e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/php/web/Route.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
use web\handler\Call;
use web\routing\RouteMatch;

/** @deprecated */
class Route {
private $match, $handler;

Expand Down
1 change: 1 addition & 0 deletions src/main/php/web/routing/Path.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/**
* Matches a path suffix
*
* @deprecated
* @test xp://web.unittest.routing.PathTest
*/
class Path implements RouteMatch {
Expand Down
1 change: 1 addition & 0 deletions src/main/php/web/routing/RouteMatch.class.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php namespace web\routing;

/** @deprecated */
interface RouteMatch {

/**
Expand Down
1 change: 1 addition & 0 deletions src/main/php/web/routing/Target.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/**
* Matches a request method and, optionally a target
*
* @deprecated
* @test xp://web.unittest.routing.TargetTest
*/
class Target implements RouteMatch {
Expand Down

0 comments on commit fe3c79e

Please sign in to comment.