File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -137,9 +137,11 @@ jobs:
137137 SDKGEN_CLIENT_ID : ${{ secrets.SDKGEN_CLIENT_ID }}
138138 SDKGEN_CLIENT_SECRET : ${{ secrets.SDKGEN_CLIENT_SECRET }}
139139 run : docker compose up
140+ - name : Create src dir
141+ run : mkdir src
140142 - name : Move
141143 working-directory : .
142- run : cp ./output/*.php ./integration/php/
144+ run : cp ./output/*.php ./integration/php/src
143145 - name : Composer install
144146 run : composer install --no-interaction --no-ansi --no-progress
145147 - name : Run
Original file line number Diff line number Diff line change 22 "require" : {
33 "php" : " >=8.1" ,
44 "sdkgen/client" : " ^2.0"
5+ },
6+ "autoload" : {
7+ "psr-4" : {
8+ "SDK\\ " : " src/"
9+ }
510 }
611}
Original file line number Diff line number Diff line change 22
33require_once __DIR__ . '/vendor/autoload.php ' ;
44
5- require_once __DIR__ . '/TestTag.php ' ;
6- require_once __DIR__ . '/Error.php ' ;
7- require_once __DIR__ . '/ErrorException.php ' ;
8- require_once __DIR__ . '/HelloWorld.php ' ;
9- require_once __DIR__ . '/Response.php ' ;
10- require_once __DIR__ . '/Todo.php ' ;
11- require_once __DIR__ . '/Todos.php ' ;
12- require_once __DIR__ . '/Client.php ' ;
13- require_once __DIR__ . '/CommonFormElement.php ' ;
14- require_once __DIR__ . '/CommonFormElementInput.php ' ;
15- require_once __DIR__ . '/CommonFormElementSelect.php ' ;
16- require_once __DIR__ . '/CommonFormElementTextArea.php ' ;
17-
185$ credentials = new \Sdkgen \Client \Credentials \Anonymous ();
196$ client = new \SDK \Client ('http://127.0.0.1:1080 ' , $ credentials );
207
You can’t perform that action at this time.
0 commit comments