Skip to content

Commit

Permalink
PSR12
Browse files Browse the repository at this point in the history
  • Loading branch information
roberto-butti committed Nov 18, 2023
1 parent 5ea564c commit aa80caf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Lens/Traits/DatabaseLens.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function getDatabaseConnectionInfos(
);
}

if (! $pdoIsOk) {
if (!$pdoIsOk) {
if ($driverName === "mongodb") {
$this->checksBag->addInfoAndHint(
"Connection and PDO driver",
Expand Down
4 changes: 2 additions & 2 deletions src/Lens/Traits/FilesystemLens.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ public function checkFiles(): \HiFolks\LaraLens\ResultLens
);

foreach ($this->links() as $link => $dir) {
if (! file_exists($link)) {
if (!file_exists($link)) {
$this->checksBag->addWarningAndHint(
"Check storage link",
$this->stripPrefixDir($link) . " it doesn't exist.",
"Check config/filesystem.php 'links' parameter, and execute 'php artisan storage:link'"
);
}
if (! file_exists($dir)) {
if (!file_exists($dir)) {
$this->checksBag->addWarningAndHint(
"Check storage target link",
$this->stripPrefixDir($dir) . " it doesn't exist.",
Expand Down
2 changes: 1 addition & 1 deletion src/Lens/Traits/RuntimeLens.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public function checkServerRequirements(): \HiFolks\LaraLens\ResultLens
]

];
if (! key_exists($laravelMajorVersion, $phpExtensionRequirements)) {
if (!key_exists($laravelMajorVersion, $phpExtensionRequirements)) {
$laravelMajorVersion = "8";
}
$phpVersionRequired = $phpExtensionRequirements[$laravelMajorVersion]["phpversion"];
Expand Down

0 comments on commit aa80caf

Please sign in to comment.