From 3b27216c5153b962a4436b0549c8c59986e0483e Mon Sep 17 00:00:00 2001 From: barelon Date: Tue, 2 Oct 2012 00:14:24 +0300 Subject: [PATCH] add empty lines around if block --- lib/Doctrine/ORM/Tools/Export/Driver/PhpExporter.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Doctrine/ORM/Tools/Export/Driver/PhpExporter.php b/lib/Doctrine/ORM/Tools/Export/Driver/PhpExporter.php index 50236fd12..d2c26d7ee 100644 --- a/lib/Doctrine/ORM/Tools/Export/Driver/PhpExporter.php +++ b/lib/Doctrine/ORM/Tools/Export/Driver/PhpExporter.php @@ -99,9 +99,11 @@ class PhpExporter extends AbstractExporter unset($cascade[$key]); } } + if (count($cascade) === 5) { $cascade = array('all'); } + $associationMappingArray = array( 'fieldName' => $associationMapping['fieldName'], 'targetEntity' => $associationMapping['targetEntity'],