Commit 0618b80
authored
feat: php version bump to 8.2 (#5)
* chore: php version bump to 8.2
* chore: bump travis php version to 8.2
* style: added space between type
* style: removed redundant comments
* refactor: added type for uri
* style: removed redundant comment
* style: removed redundant comment
* refactor: maxBufferLength is now readonly
* refactor: removed redundant imports
* refactor: renamed getUnpackedMiddleware -> unpackMiddleware
* refactor: server property is now readonly
* refactor: factory property is now readonly
* refactor: removed redundant non-capturing group
* refactor: added back non-capturing group
* refactor: added return type to createUploadedFileFromSpec()
* style: removed unnecessary curly braces in string
* refactor: replaced substr with str_ends_with
* refactor: updated parseCookieHeader regex pattern
* chore: added suggestion for ext-fileinfo extension
* style: unwrap unnecessary curly braces in strings
* refactor: removed redundant default argument
* refactor: renamed getFileAsStream -> createStreamFromFile
* refactor: removed unused imports
* refactor: added method return types
* refactor: remove unused import
* refactor: made request property readonly
* refactor: add throws tag in method comment
* style: add trailing comma to import list
* refactor: replaced substr with str_ends_with
* chore: travis ci php 8.2 support
* chore: updated travis ci config
* chore: update copyright year
* chore: add github actions
* fix: updated property
* chore: bump phpunit version + add extensions
* fix: removed json ext requirement
* fix: updated phpunit version number
* fix: pin composer version to 2.5.5
* fix: allow composer.lock
* fix: added testsuite
* chore: update ci workflow
* chore: update ci workflow
* fix: bash script path
* fix: file path
* chore: update text
* fix: bash script step
* fix: updated phpunit step
* chore: updated file permissions
* fix: added php version
* fix: removed quotes
* fix: switch to containerized builds
* fix: add php 8.2 support
* chore: update code coverage
* chore: added coverage file support
* chore: remove code cov
* fix: docker container clean-up
* chore: removed .travis.yml + updated badges
* chore: update psr interfaces
* docs: update copyright notice to present
* chore: updated ci script
* chore: updated ci script
* chore: updated dev dependency
* chore: removed outdated line
* docs: updated return type in docblock
* refactor: removed ServerRequestBuilder::fromSapi
* docs: updated php version in prerequisites
* refactor: removed unnecessary non-caputring group in regex
* refactor: renamed getDecoratedCallableMiddleware -> createDecoratedCallableMiddleware
* refactor: renamed getDecoratedMiddleware -> createDecoratedMiddleware
* refactor: removed unused dependency
* refactor: renamed getPreferredMediaParser -> createPreferredMediaParser
* refactor: removed redundant dependency
* refactor: added typehints
* docs: removed redundant docblocks
* refactor: removed unused dependency
* refactor: updated Container typehints
* refactor: added typehint + updated docblock
* refactor: removed redundant test
* refactor: added missing type
* refactor: removed private methods and created parser + normalizer classes
* refactor: moved media parsers into folder + updated namespace
* refactor: moved Parser\ServerRequest -> Http\Parser
* refactor: moved Parser\Media -> Http\Parser
* refactor: added newline
* refactor: moved Test\Parser -> Test\Http\Parser
* test: added tests for UploadedFilesNormalizer
* refactor: renamed CookieHeaderParser -> HttpCookieParser
* test: added tests for HttpCookieParser
* test: added test for UriParser
* chore: directive to not run workflow in certain scenarios
* chore: add coverage
* chore: run on push
* docs: added coverage badge
* chore: add branch name
* chore: remove branch env var
* chore: replaced php-http/message-factory with psr/http-factory
* chore: updated composer.lock file
* feat: added registerControllers method for adding attriubte-based routes
* feat: added Route class
* refactor: created attribute router trait + split AbstractRouter
* docs: updated readme1 parent fe33a60 commit 0618b80
File tree
62 files changed
+4920
-870
lines changed- .github
- scripts
- workflows
- src
- Emitter
- Exception
- Factory
- Http
- Message
- Normalizer
- Parser
- Router
- test
- Asset
- Http
- Normalizer
- Parser
- Router
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
62 files changed
+4920
-870
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | | - | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
15 | 21 | | |
16 | 22 | | |
17 | 23 | | |
| |||
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
38 | | - | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
| |||
0 commit comments