Skip to content

fix: use new uri template lib #567

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
key: cache-v1 # can be any string, change to clear the extension cache.
strategy:
matrix:
php-versions: ['8.1', '8.2']
php-versions: ['8.1', '8.2', '8.3']
experimental: [ false ]
include:
- php-versions: 8.3
- php-versions: '8.4'
experimental: true
steps:
- name: Checkout
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
key: cache-v1 # can be any string, change to clear the extension cache.
strategy:
matrix:
php-versions: ['8.2']
php-versions: ['8.3']
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@
],
"require": {
"php": "^8.1",
"ql/uri-template": "~1.0",
"vanilla/garden-cli": "~4.0",
"michelf/php-markdown": "~2.0",
"lukasoppermann/http-status": "~4.0",
"ext-json": "*",
"ext-curl": "*",
"twig/twig": "^3.0",
"twig/markdown-extra": "^3.0",
"matthiasmullie/minify": "^1.3"
"matthiasmullie/minify": "^1.3",
"rize/uri-template": "*"
},
"require-dev": {
"lunr/halo": "dev-master",
"phpunit/phpunit": "~10.2",
"lunr/halo": "~0.8.0",
"phpunit/phpunit": "~10.0",
"theseer/autoload": "~1.0",
"phing/phing": "~2.0",
"phpstan/phpstan": "^1.2.0",
Expand Down
138 changes: 66 additions & 72 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions src/PHPDraft/Model/HTTPRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

use PHPDraft\Model\Elements\RequestBodyElement;
use PHPDraft\Model\Elements\StructureElement;
use QL\UriTemplate\Exception;

class HTTPRequest implements Comparable
{
Expand Down Expand Up @@ -179,8 +178,6 @@ public function get_id(): string
* @param string $base_url URL to the base server
* @param array<string> $additional Extra options to pass to cURL
*
* @throws Exception
*
* @return string An executable cURL command
*/
public function get_curl_command(string $base_url, array $additional = []): string
Expand Down
Loading