A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/cakephp/phinx/commit/577908073d3f355ceb47ca9fc6bd978cb1526c70 below:

Mark password as a SensitiveParameter (#2295) · cakephp/phinx@5779080 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+2

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+2

-1

lines changed Original file line number Diff line number Diff line change

@@ -41,6 +41,7 @@

41 41

use Phinx\Util\Literal;

42 42

use ReflectionProperty;

43 43

use RuntimeException;

44 +

use SensitiveParameter;

44 45

use Symfony\Component\Console\Output\OutputInterface;

45 46

use UnexpectedValueException;

46 47

@@ -86,7 +87,7 @@ protected function verboseLog(string $message): void

86 87

* @param array<int, mixed> $options Connection options

87 88

* @return \PDO

88 89

*/

89 -

protected function createPdoConnection(string $dsn, ?string $username = null, ?string $password = null, array $options = []): PDO

90 +

protected function createPdoConnection(string $dsn, ?string $username = null, #[SensitiveParameter] ?string $password = null, array $options = []): PDO

90 91

{

91 92

$adapterOptions = $this->getOptions() + [

92 93

'attr_errmode' => PDO::ERRMODE_EXCEPTION,

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4