Skip to content

Commit c5daa97

Browse files
committed
fix bugs
1 parent 723406a commit c5daa97

18 files changed

Lines changed: 10 additions & 16 deletions

composer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@
1515
},
1616
"autoload" : {
1717
"psr-4" : {
18-
"Swango\\HttpServer\\" : "src"
18+
"Swango\\HttpServer\\" : "src",
19+
"ExceptionToResponse\\" : "src/ExceptionToResponse"
1920
},
2021
"classmap" : [
21-
"src/HttpServer.php"
22+
"src/HttpServer.php",
23+
"src/ExceptionToResponse.php"
2224
]
2325
}
2426
}

src/Controller/StaticResourceController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace Swango\HttpServer;
2+
namespace Swango\HttpServer\Controller;
33
class StaticResourceController extends \Swango\HttpServer\Controller {
44
private static $file_exists_cache = [];
55
protected static function file_exists(string $file): bool {

src/Exception/CannotHaveNormalAdapterInReadOnlyModeException.php

Lines changed: 0 additions & 6 deletions
This file was deleted.
File renamed without changes.

src/Exception/ExceptionToResponse/DuplicatedRandException.php renamed to src/ExceptionToResponse/DuplicatedRandException.php

File renamed without changes.

src/Exception/ExceptionToResponse/InsufficientPermissionsException.php renamed to src/ExceptionToResponse/InsufficientPermissionsException.php

File renamed without changes.

src/Exception/ExceptionToResponse/InvalidParameterException.php renamed to src/ExceptionToResponse/InvalidParameterException.php

File renamed without changes.

src/Exception/ExceptionToResponse/ResourceNotBelongToCurrentException.php renamed to src/ExceptionToResponse/ResourceNotBelongToCurrentException.php

File renamed without changes.

src/Exception/ExceptionToResponse/ResourceNotExistsException.php renamed to src/ExceptionToResponse/ResourceNotExistsException.php

File renamed without changes.

0 commit comments

Comments
 (0)