Skip to content
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

chore: bump dependency #372

Merged
merged 2 commits into from
Sep 3, 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 composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
"require-dev": {
"phpunit/phpunit": "^9.6",
"mockery/mockery": "^1.6",
"friendsofphp/php-cs-fixer": "^3.52",
"phpstan/phpstan": "^1.10",
"friendsofphp/php-cs-fixer": "^3.64",
"phpstan/phpstan": "^1.12",
"symplify/monorepo-builder": "^11.2",
"rector/rector": "^1.0"
"rector/rector": "^1.2"
},
"autoload": {
"psr-4": {
Expand Down
4 changes: 2 additions & 2 deletions src/System/Database/MyModel/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class Model implements \ArrayAccess, \IteratorAggregate
*/
public function __construct(
MyPDO $pdo,
array $column
array $column,
) {
$this->pdo = $pdo;
$this->columns = $this->fresh = $column;
Expand Down Expand Up @@ -91,7 +91,7 @@ public function setUp(
Where $where,
string $primery_key,
array $stash,
array $resistant
array $resistant,
): self {
$this->table_name = $table;
$this->columns = $this->fresh = $column;
Expand Down
6 changes: 3 additions & 3 deletions src/System/Http/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function __construct(
array $headers = [],
string $method = 'GET',
string $remoteAddress = '::1',
?string $rawBody = null
?string $rawBody = null,
) {
$this->initialize($url, $query, $post, $attributes, $cookies, $files, $headers, $method, $remoteAddress, $rawBody);
}
Expand All @@ -157,7 +157,7 @@ public function initialize(
array $headers = [],
string $method = 'GET',
string $remoteAddress = '::1',
?string $rawBody = null
?string $rawBody = null,
) {
$this->url = $url;
$this->query = new Collection($query);
Expand Down Expand Up @@ -191,7 +191,7 @@ public function duplicate(
?array $attributes = null,
?array $cookies = null,
?array $files = null,
?array $headers = null
?array $headers = null,
) {
$dupplicate = clone $this;

Expand Down
2 changes: 1 addition & 1 deletion src/System/Http/StreamedResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class StreamedResponse extends Response
public function __construct(
$callable_stream,
int $respone_code = Response::HTTP_OK,
array $headers = []
array $headers = [],
) {
$this->setStream($callable_stream);
$this->setResponeCode($respone_code);
Expand Down
2 changes: 1 addition & 1 deletion src/System/Integrate/Http/Exception/HttpException.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function __construct(
string $message,
?\Throwable $previous = null,
array $headers = [],
int $code = 0
int $code = 0,
) {
$this->status_code = $status_code;
$this->headers = $headers;
Expand Down
2 changes: 1 addition & 1 deletion src/System/Integrate/PackageManifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ final class PackageManifest
public function __construct(
private string $base_path,
private string $application_cache_path,
private ?string $vendor_path = null
private ?string $vendor_path = null,
) {
$this->vendor_path ??= DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'composer' . DIRECTORY_SEPARATOR;
}
Expand Down
4 changes: 2 additions & 2 deletions src/System/Security/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
function encrypt(
string $plain_text,
?string $passphrase = null,
string $algo = Algo::AES_256_CBC
string $algo = Algo::AES_256_CBC,
): string {
return (new Crypt($passphrase, $algo))->encrypt($plain_text);
}
Expand All @@ -18,7 +18,7 @@ function encrypt(
function decrypt(
string $encrypted,
?string $passphrase = null,
string $algo = Algo::AES_256_CBC
string $algo = Algo::AES_256_CBC,
): string {
return (new Crypt($passphrase, $algo))->decrypt($encrypted);
}
Expand Down
Loading