From e064560a5a1483ae1bb73de9aa658ef8e42b0631 Mon Sep 17 00:00:00 2001 From: lmajano Date: Wed, 11 Sep 2024 22:02:28 +0000 Subject: [PATCH] Apply cfformat changes --- system/TestBox.cfc | 12 ++++++------ system/reports/BaseReporter.cfc | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/system/TestBox.cfc b/system/TestBox.cfc index e456bd7..88bfc73 100644 --- a/system/TestBox.cfc +++ b/system/TestBox.cfc @@ -33,14 +33,14 @@ component accessors="true" { property name="bundlesPattern"; // Static Variables - variables.TESTBOX_PATH = expandPath( "/testbox" ); - variables.IS_BOXLANG = server.keyExists( "boxlang" ); - variables.IS_CLI = !getFunctionList().keyExists( "getPageContext" ); - variables.DEFAULT_REPORTER = variables.IS_CLI ? "text" : "simple"; + variables.TESTBOX_PATH = expandPath( "/testbox" ); + variables.IS_BOXLANG = server.keyExists( "boxlang" ); + variables.IS_CLI = !getFunctionList().keyExists( "getPageContext" ); + variables.DEFAULT_REPORTER = variables.IS_CLI ? "text" : "simple"; variables.DEFAULT_BUNDLES_PATTERN = "*.bx|*.cfc"; // TestBox Info : Modified by the build process. - variables.VERSION = "@build.version@+@build.number@"; - variables.CODENAME = ""; + variables.VERSION = "@build.version@+@build.number@"; + variables.CODENAME = ""; /** * Constructor diff --git a/system/reports/BaseReporter.cfc b/system/reports/BaseReporter.cfc index 0e61c13..bcd7076 100644 --- a/system/reports/BaseReporter.cfc +++ b/system/reports/BaseReporter.cfc @@ -18,7 +18,7 @@ component { */ function getPageContextResponse(){ // If running in CLI mode, we don't have a page context - if( !getFunctionList().keyExists( "pageContext" ) ){ + if ( !getFunctionList().keyExists( "pageContext" ) ) { return { "setContentType" : function(){ // do nothing @@ -38,7 +38,7 @@ component { */ function resetHTMLResponse(){ // If running in CLI mode, we don't have a page context - if( !getFunctionList().keyExists( "pageContext" ) ){ + if ( !getFunctionList().keyExists( "pageContext" ) ) { return; } // reset cfhtmlhead from integration tests