From 48c7442b63fd74bea6416d80f5095a1723374b05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=96=D0=B0=D0=BA=D0=BE=D0=B2=20=D0=92=D0=B8=D1=82=D0=B0?= =?UTF-8?q?=D0=BB=D0=B8=D0=B9?= Date: Mon, 20 Jan 2020 16:25:38 +0500 Subject: [PATCH] should be || not OR --- src/Composer/Autoload/AutoloadGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Autoload/AutoloadGenerator.php b/src/Composer/Autoload/AutoloadGenerator.php index 6432c8065..940ab3f18 100644 --- a/src/Composer/Autoload/AutoloadGenerator.php +++ b/src/Composer/Autoload/AutoloadGenerator.php @@ -1014,7 +1014,7 @@ INITIALIZER; */ protected function safeCopy($source, $target) { - if (!file_exists($target) OR !file_exists($source) OR !$this->filesAreEqual($source, $target)) { + if (!file_exists($target) || !file_exists($source) || !$this->filesAreEqual($source, $target)) { $source = fopen($source, 'r'); $target = fopen($target, 'w+');