From d8b0e3dd0f9fb32673f468ec36164ce0c9c41fba Mon Sep 17 00:00:00 2001 From: Mariano Custiel Date: Fri, 24 Mar 2023 21:17:05 +0100 Subject: [PATCH] fix(#10): check if config file is actually a file (#11) * Updated phar * fix: check if phiremock config file is actually a file * chore(#10): added php8.2 to scrutinizer * fix: modified another file_exists check to be is_file * chore: updated phiremock.phar --- .scrutinizer.yml | 4 ++++ phiremock.phar | Bin 2315751 -> 2315743 bytes src/Utils/Config/ConfigBuilder.php | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.scrutinizer.yml b/.scrutinizer.yml index af23217..0e8f8d6 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -34,3 +34,7 @@ build: environment: php: version: 8.1 + php82: + environment: + php: + version: 8.2 diff --git a/phiremock.phar b/phiremock.phar index aa72b4b61aa228b4340a2a5926c1afced4cadd7d..b988b95df9d2580f868e2f212a73c5a11d7da5ab 100755 GIT binary patch delta 11060 zcmZWvd0dWJ^nc#Ar@gn{df&H23q=cBNSjuMvW8HSYGejcVGJ25GsakpF0Q?du~y0& zLS+|9Gh-iQjGfes8EgE`bI!x>_xb$(cs{4+x#ymH&i5?$-23*hWU1l~JQX1d-8%=h zEKCuF^an*hq?Z&!OyPUlNF70lD7dkNZL(Lf2pwPi7z!V)i~H_ka|~UXvqF!>>YA_$ z9W~B8r!x$xlkNzlGj)3-t=0{bXrW#l$}j~Py|xYfi&>6Qu@GG~FW1r9iPrE{QfH^$ zaO5h2cdtLPG;H}p6?4=NMoEeK2}mpT`=CUFDCB)&APBXK{~gL&LDieOcKqX7wV7xP zUnPkJ2ECB$fFKA7?Q(X=23fLVBYh@{_9)R!?1eO4BpYf)vcb+U9=}gF9E!Bga3l(| zR|vw{Es^zXcMYIp?>?&WlL zw@JkY8UvJ1$d=hYA@DUsbV!|9g*p=StwEubMkkVc?2?>nh8SqYS&11 z%c>KPs8CypezKF_o0ARU78n^U&w|7UOD?NjR>9`#s@QtasB5`eD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812N(q-cl-Oy(LX=yd_P0y!#TzH@>5*l@ISIt(-uJ^NP;p z;Eixr_+EwOYzxH2fM48vAlAH@@|`Kaa1QphA+#>DY$J!JwNVwRZKGIs`#_=>e;9*O z-hq@(shdZBmJ$;Wf%HIfXZS}_u;3%@MK3?%e!C`I-b++;&3rlT+-s_&_YZPBMDjqn zJXmDlv*g6V%jNR!_@!Ac$1@`L)stg=;AwhtI%?X&sz=WVyZK8!xt5>NlRM&!hk9~s z54pR(9GetASznS`tS|3@JP-8c0m=f(wN#N_@*LI5I~&Nm;&7sYwEAiT`VU8b(?E{x z3wJVP2>)|OslaH#P(c7_@Ig07v(%Qkq6-)Zl)5jNv3k_MEMR=xjzowHI-wt#=9uw z*sbx|3OTk){Ir5pU27&m8fYegoMk4*`w3oaCShS~E`gU|E(vDla!*{L`qLjT%;nDb zMQI`LDE{$7poJVBJ$UrtF@VPq9wT@Jc#PpOfyWdc1w3Z(n8PE^vxG+pj}<)D@TlOi zfyWjeH9Q)4wD9QQv4h7R9tU{Z!Q%*z6Fko4ffg?JZYsW-IC*^1_}LSu&zN5B^4MjA z9unohC1v5z-9d+2SxrD DuyCsT diff --git a/src/Utils/Config/ConfigBuilder.php b/src/Utils/Config/ConfigBuilder.php index 9d57c45..646a9f9 100644 --- a/src/Utils/Config/ConfigBuilder.php +++ b/src/Utils/Config/ConfigBuilder.php @@ -82,7 +82,7 @@ protected function getConfigurationFromConfigFile(): array $configFiles = ['.phiremock', '.phiremock.dist']; foreach ($configFiles as $configFileName) { $configFilePath = $this->configPath->getFullSubpathAsString($configFileName); - if (file_exists($configFilePath)) { + if (is_file($configFilePath)) { return require $configFilePath; } } @@ -108,7 +108,7 @@ protected function searchFileAndGetConfig(): array '.phiremock.dist', ]; foreach ($configFiles as $configFilePath) { - if (file_exists($configFilePath)) { + if (is_file($configFilePath)) { return require $configFilePath; } }