Skip to content

Commit 48c67e1

Browse files
committed
v1.2.2 upgrade, adding php-core dependency
1 parent d7bd80b commit 48c67e1

10 files changed

+21
-414
lines changed

composer.json

+5-9
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,17 @@
3535
],
3636
"require": {
3737
"php": "^8.1",
38+
"ext-json": "*",
3839
"guzzlehttp/guzzle": "^7.0",
40+
"laravel/framework": "^9.0|^10.0|^11.0",
41+
"illuminate/contracts": "^9.0|^10.0|^11.0",
3942
"kongulov/interact-with-enum": "^1.0",
43+
"sharpapi/php-core": "^1.0",
4044
"spatie/laravel-data": "^3.0|^4.0",
4145
"spatie/url": "^2.4"
4246
},
4347
"require-dev": {
44-
"laravel/pint": "^1.0",
45-
"nunomaduro/collision": "^7.0",
46-
"nunomaduro/larastan": "^2.0.1",
47-
"pestphp/pest": "^2.20",
48-
"pestphp/pest-plugin-arch": "^2.0",
49-
"pestphp/pest-plugin-laravel": "^2.0",
50-
"phpstan/extension-installer": "^1.1",
51-
"phpstan/phpstan-deprecation-rules": "^1.0",
52-
"phpstan/phpstan-phpunit": "^1.0"
48+
"laravel/pint": "^1.0"
5349
},
5450
"autoload": {
5551
"psr-4": {

src/Dto/JobDescriptionParameters.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,5 @@ public function __construct(
2222
public ?string $voice_tone = null,
2323
public ?string $context = null,
2424
public ?string $language = null
25-
) {
26-
}
25+
) {}
2726
}

src/Dto/SharpApiJob.php

-80
This file was deleted.

src/Dto/SharpApiSubscriptionInfo.php

-39
This file was deleted.

src/Enums/SharpApiJobStatusEnum.php

-37
This file was deleted.

src/Enums/SharpApiLanguages.php

+5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
<?php
22

3+
/** @noinspection PhpUnused */
4+
35
declare(strict_types=1);
46

57
namespace SharpAPI\SharpApiService\Enums;
68

79
use Kongulov\Traits\InteractWithEnum;
810

11+
/**
12+
* @api
13+
*/
914
class SharpApiLanguages
1015
{
1116
use InteractWithEnum;

src/Enums/SharpApiVoiceTone.php

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66

77
use Kongulov\Traits\InteractWithEnum;
88

9+
/**
10+
* @api
11+
*/
912
enum SharpApiVoiceTone: string
1013
{
1114
use InteractWithEnum;

src/Facades/SharpApiService.php

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
/**
1010
* @see \SharpAPI\SharpApiService\SharpApiService
11+
*
12+
* @api
1113
*/
1214
class SharpApiService extends Facade
1315
{

0 commit comments

Comments
 (0)