Commit Graph

564 Commits

Author SHA1 Message Date
PJ Dietz 8379dd69a0 Fix copyright date in docs 2021-01-22 14:06:56 -05:00
PJ Dietz 9a4b78b84a
Merge pull request #21 from wellrestedphp/fix-extra-leading-slash-in-path
Fix issue in Router with paths beginning with multiple slashes
2020-08-27 12:41:51 -04:00
PJ Dietz 2c80da2f79 Fix issue in Router with paths beginning with multiple slashes 2020-08-27 12:29:25 -04:00
PJ Dietz a15b5396e9 Fix php-cs-fixer instructions in README 2020-08-16 18:33:26 -04:00
PJ Dietz aeb9d733cc
Merge pull request #20 from wellrestedphp/v5
V5
2020-08-16 18:31:10 -04:00
PJ Dietz c74a468f3e Update documentation for v5 2020-08-16 18:03:17 -04:00
PJ Dietz 84b4bce04f Merge branch 'master' into v5 2020-08-16 17:48:13 -04:00
PJ Dietz 337baa2e26
Merge pull request #19 from wellrestedphp/archive
Archive
2020-08-16 17:41:05 -04:00
PJ Dietz bba0602122 Update README for v5 2020-08-16 17:39:41 -04:00
PJ Dietz 66ff6d2fc1
Merge pull request #18 from wellrestedphp/fix-tests
Fix broken test for Stream
2020-08-16 12:11:56 -04:00
PJ Dietz 198ebb60f7 Fix broken test for Stream 2020-08-16 12:08:57 -04:00
PJ Dietz 8f2206a65f Set min verision for Travis to 7.3 2020-08-16 11:55:00 -04:00
PJ Dietz 8b467193d7 Set minimum version to PHP 7.3 2020-08-16 11:54:28 -04:00
PJ Dietz 95c3be85c9 Create implementations for PSR-17 Response- and StreamFactoryInterface 2020-08-16 10:48:42 -04:00
PJ Dietz 9243dd7663 Refactor ServerRequestMarshaller and ServerRequest 2020-08-16 08:52:33 -04:00
PJ Dietz 20012dc671 Message constructor accepts $headers values as string or string[] 2020-08-16 08:49:47 -04:00
PJ Dietz 79d23e37a4 Reorganize Tests 2020-08-15 10:11:06 -04:00
PJ Dietz 5ba8771e93 Ensure all constants have visibility 2020-08-15 07:54:08 -04:00
PJ Dietz fe0f1ff8f9 Ensure typehints for bool are bool and not boolean 2020-08-15 07:53:03 -04:00
PJ Dietz 36df1f33c1 Refactor URI; fix coverage on UploadedFile 2020-08-15 07:51:30 -04:00
PJ Dietz c137a2066a Minor change to Server docblock 2020-08-15 07:24:57 -04:00
PJ Dietz 1d71f06e71 Router accepts custom RouteFactory through constructor; removes protected methods 2020-08-15 07:18:54 -04:00
PJ Dietz 997582f8d7 Router implements MiddlewareInterface; cleanup Router test 2020-08-14 07:49:33 -04:00
PJ Dietz 56503da35e Remove RouteFactoryInterface 2020-08-14 07:44:00 -04:00
PJ Dietz 79c4799a7b Clean up tests for routes 2020-08-14 07:38:38 -04:00
PJ Dietz fec5a4d405 Remove RouteInterface 2020-08-14 07:24:00 -04:00
PJ Dietz 4eec56b582 Mark Routing\Route classes as @internal 2020-08-14 07:00:50 -04:00
PJ Dietz c75168afae Stop tracking .env and set default in docker-compose.yml 2020-08-14 06:57:13 -04:00
PJ Dietz 288705b77a Edit comments for Dispatch namespace and clean up tests 2020-08-14 06:31:09 -04:00
PJ Dietz f542aaf3a9 Normalize length of dividers 2020-08-13 07:38:00 -04:00
PJ Dietz 2d7db1ed83 Change visibility from protected to private where possible 2020-08-13 07:36:30 -04:00
PJ Dietz 4796e1d5c5 Refactor Transmitter 2020-08-13 07:26:19 -04:00
PJ Dietz 8649090774 Fix visibility for setUp, tearDown to match PHPUnit base class 2020-08-13 07:13:14 -04:00
PJ Dietz d8294d3ac3 Refactor Uri 2020-08-13 07:08:41 -04:00
PJ Dietz 899ebb2492 Move UploadedFileState test components into test file 2020-08-13 06:37:51 -04:00
PJ Dietz 83c2290a2f Refactor streams 2020-08-13 06:21:19 -04:00
PJ Dietz 4a3545cd3c Refactor Message classes 2020-08-12 07:42:33 -04:00
PJ Dietz 2e3475b882 Refactor HeaderCollection 2020-08-12 07:12:42 -04:00
PJ Dietz 168867206e Extract server request marshalling to own class. 2020-08-12 06:49:10 -04:00
PJ Dietz cd2e4448e2 Update CS rules 2020-08-11 06:41:48 -04:00
PJ Dietz e6d1398bb1 Normalize imports for global namespace 2020-08-10 07:31:06 -04:00
PJ Dietz ff28f3c6eb Update CS rules 2020-08-10 07:30:04 -04:00
PJ Dietz 002bdb7541 Convert simple string literals to single quotes 2020-08-10 07:13:50 -04:00
PJ Dietz fb18d2ee1e Code style fixes 2020-08-10 07:09:48 -04:00
PJ Dietz a73ad17ddd Add php-cs-fixer as dev dependency 2020-08-10 06:48:32 -04:00
PJ Dietz d98789ebfd Fix test broken by Transmitter change 2020-08-09 14:54:26 -04:00
PJ Dietz 09dd1d7a32 Add type hints to Server; construct defaults for most dependencies 2020-08-09 14:51:43 -04:00
PJ Dietz 98014d8c59 Add type hints to Transmitter 2020-08-09 14:30:19 -04:00
PJ Dietz ca204a07e7 Add type hints to Router 2020-08-09 14:27:29 -04:00
PJ Dietz 967b6ac2a4 Add type hints for Routes 2020-08-09 13:58:24 -04:00