File tree 2 files changed +10
-13
lines changed
2 files changed +10
-13
lines changed Original file line number Diff line number Diff line change 29
29
"php" : " ~8.1.0 || ~8.2.0" ,
30
30
"ext-dom" : " *" ,
31
31
"azjezz/psl" : " ^2.1" ,
32
- "league/uri" : " ^6.5 " ,
33
- "league/uri-components" : " ^2.4 " ,
32
+ "league/uri" : " ^7.0 " ,
33
+ "league/uri-components" : " ^7.0 " ,
34
34
"php-soap/xml" : " ^1.4" ,
35
35
"symfony/console" : " ^5.4|^6.0" ,
36
36
"veewee/xml" : " ~2.2"
Original file line number Diff line number Diff line change 4
4
5
5
namespace Soap \Wsdl \Uri ;
6
6
7
- use League \Uri \Uri ;
8
- use League \Uri \UriModifier ;
9
- use League \Uri \UriResolver ;
7
+ use League \Uri \BaseUri ;
8
+ use League \Uri \Modifier ;
10
9
11
10
final class IncludePathBuilder
12
11
{
13
12
public static function build (string $ relativePath , string $ fromFile ): string
14
13
{
15
- return UriModifier::removeEmptySegments (
16
- UriModifier::removeDotSegments (
17
- UriResolver::resolve (
18
- Uri::createFromString ($ relativePath ),
19
- Uri::createFromString ($ fromFile )
20
- )
21
- )
22
- )->__toString ();
14
+ return Modifier::from (BaseUri::from ($ fromFile )->resolve ($ relativePath ))
15
+ ->removeDotSegments ()
16
+ ->removeEmptySegments ()
17
+ ->getUri ()
18
+ ->__toString ()
19
+ ;
23
20
}
24
21
}
You can’t perform that action at this time.
0 commit comments