Skip to content

Commit 888b401

Browse files
chore(deps-dev): update rector/rector requirement from 2.3.7 to 2.3.8 (#9994)
* chore(deps-dev): update rector/rector requirement from 2.3.7 to 2.3.8 Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version. - [Release notes](https://github.com/rectorphp/rector/releases) - [Commits](rectorphp/rector@2.3.7...2.3.8) --- updated-dependencies: - dependency-name: rector/rector dependency-version: 2.3.8 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> * refactor: run rector --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
1 parent b51eb5c commit 888b401

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"phpunit/phpcov": "^9.0.2 || ^10.0",
2929
"phpunit/phpunit": "^10.5.16 || ^11.2",
3030
"predis/predis": "^3.0",
31-
"rector/rector": "2.3.7",
31+
"rector/rector": "2.3.8",
3232
"shipmonk/phpstan-baseline-per-identifier": "^2.0"
3333
},
3434
"replace": {

system/Cache/Handlers/MemcachedHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function initialize(): void
9797
throw new CriticalError('Cache: Not support Memcache(d) extension.');
9898
}
9999
} catch (Exception $e) {
100-
throw new CriticalError('Cache: Memcache(d) connection refused (' . $e->getMessage() . ').');
100+
throw new CriticalError('Cache: Memcache(d) connection refused (' . $e->getMessage() . ').', $e->getCode(), $e);
101101
}
102102
}
103103

system/Cache/Handlers/PredisHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function initialize(): void
7676
$this->redis = new Client($this->config, ['prefix' => $this->prefix]);
7777
$this->redis->time();
7878
} catch (Exception $e) {
79-
throw new CriticalError('Cache: Predis connection refused (' . $e->getMessage() . ').');
79+
throw new CriticalError('Cache: Predis connection refused (' . $e->getMessage() . ').', $e->getCode(), $e);
8080
}
8181
}
8282

system/Cache/Handlers/RedisHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function initialize(): void
9494
throw new CriticalError('Cache: Redis select database failed.');
9595
}
9696
} catch (RedisException $e) {
97-
throw new CriticalError('Cache: RedisException occurred with message (' . $e->getMessage() . ').');
97+
throw new CriticalError('Cache: RedisException occurred with message (' . $e->getMessage() . ').', $e->getCode(), $e);
9898
}
9999
}
100100

system/Database/SQLite3/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public function connect(bool $persistent = false)
115115

116116
return $sqlite;
117117
} catch (Exception $e) {
118-
throw new DatabaseException('SQLite3 error: ' . $e->getMessage());
118+
throw new DatabaseException('SQLite3 error: ' . $e->getMessage(), $e->getCode(), $e);
119119
}
120120
}
121121

0 commit comments

Comments
 (0)