diff --git a/.phpcs.xml b/.phpcs.xml
index a36c292f..4d67538c 100644
--- a/.phpcs.xml
+++ b/.phpcs.xml
@@ -34,7 +34,6 @@
-
diff --git a/lessc.inc.php b/lessc.inc.php
index a3c66dd2..2262d15e 100644
--- a/lessc.inc.php
+++ b/lessc.inc.php
@@ -213,15 +213,15 @@ public function cachedCompile( $in, $force = false ) {
if ( is_string( $in ) ) {
$root = $in;
- } elseif ( is_array( $in ) and isset( $in['root'] ) ) {
- if ( $force or !isset( $in['files'] ) ) {
+ } elseif ( is_array( $in ) && isset( $in['root'] ) ) {
+ if ( $force || !isset( $in['files'] ) ) {
// If we are forcing a recompile or if for some reason the
// structure does not contain any file information we should
// specify the root to trigger a rebuild.
$root = $in['root'];
- } elseif ( isset( $in['files'] ) and is_array( $in['files'] ) ) {
+ } elseif ( isset( $in['files'] ) && is_array( $in['files'] ) ) {
foreach ( $in['files'] as $fname => $ftime ) {
- if ( !file_exists( $fname ) or filemtime( $fname ) > $ftime ) {
+ if ( !file_exists( $fname ) || filemtime( $fname ) > $ftime ) {
// One of the files we knew about previously has changed
// so we should look at our incoming root again.
$root = $in['root'];