Passed
Push — master ( 476c9e...533bc0 )
by Fabio
04:31
created
framework/Util/Cron/TShellCronAction.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
 				}
66 66
 			}
67 67
 			if (!$this->_cron) {
68
-				$this->_outWriter->writeError("A {$moduleClass} is not found");
68
+				$this->_outWriter->writeError("a {$moduleClass} is not found");
69 69
 				return null;
70 70
 			}
71 71
 		}
Please login to merge, or discard this patch.
framework/Util/Cron/TDbCronCleanLogTask.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 			$count = $cron->clearCronLog($this->getTimePeriod());
50 50
 			
51 51
 			if ($cron->asa(TCronModule::SHELL_LOG_BEHAVIOR)) {
52
-				$cron->getOutputWriter()->writeLine("Cleared {$count} Cron Task Logs", TShellWriter::GREEN);
52
+				$cron->getOutputWriter()->writeLine("cleared {$count} Cron Task Logs", TShellWriter::GREEN);
53 53
 			}
54 54
 		} elseif (is_object($cron) && $cron->asa(TCronModule::SHELL_LOG_BEHAVIOR)) {
55 55
 			/** @var TCronModule $cron */
Please login to merge, or discard this patch.
framework/Data/ActiveRecord/TActiveRecordConfig.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
 	 * @var string|TActiveRecordInvalidFinderResult
101 101
 	 * @since 3.1.5
102 102
 	 */
103
-	private $_invalidFinderResult = TActiveRecordInvalidFinderResult::Null;
103
+	private $_invalidFinderResult = TActiveRecordInvalidFinderResult::null;
104 104
 
105 105
 	/**
106 106
 	 * Initialize the active record manager.
Please login to merge, or discard this patch.
framework/Util/Cron/TDbCronModule.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
 		$task->setProcessCount($count = ($task->getProcessCount() + 1));
334 334
 
335 335
 		$cmd = $this->getDbConnection()->createCommand(
336
-			"UPDATE {$this->_tableName} SET processcount=:count, lastexectime=:time, options=:task WHERE name=:name AND active IS NOT NULL"
336
+			"update {$this->_tableName} SET processcount=:count, lastexectime=:time, options=:task WHERE name=:name AND active IS NOT NULL"
337 337
 		);
338 338
 		$cmd->bindValue(":count", $count, PDO::PARAM_STR);
339 339
 		$cmd->bindValue(":time", $time, PDO::PARAM_STR);
@@ -604,7 +604,7 @@  discard block
 block discarded – undo
604 604
 		}
605 605
 
606 606
 		$cmd = $this->getDbConnection()->createCommand(
607
-			"UPDATE {$this->_tableName} SET schedule=:schedule, task=:task, moduleid=:mid, username=:username, options=:options, processcount=:count, lastexectime=:time WHERE name=:name AND active IS NOT NULL"
607
+			"update {$this->_tableName} SET schedule=:schedule, task=:task, moduleid=:mid, username=:username, options=:options, processcount=:count, lastexectime=:time WHERE name=:name AND active IS NOT NULL"
608 608
 		);
609 609
 		$cmd->bindValue(":schedule", $schedule, PDO::PARAM_STR);
610 610
 		$cmd->bindValue(":task", $taskExec = $task->getTask(), PDO::PARAM_STR);
Please login to merge, or discard this patch.
framework/PHPStan/DynamicMethodsClassReflectionExtension.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -8,17 +8,17 @@
 block discarded – undo
8 8
 
9 9
 class DynamicMethodsClassReflectionExtension implements MethodsClassReflectionExtension
10 10
 {
11
-     public function hasMethod(ClassReflection $classReflection, string $methodName): bool
12
-     {
13
-          if (!$classReflection->is('Prado\TComponent')) {
14
-               return false;
15
-          }
11
+	 public function hasMethod(ClassReflection $classReflection, string $methodName): bool
12
+	 {
13
+		  if (!$classReflection->is('Prado\TComponent')) {
14
+			   return false;
15
+		  }
16 16
 
17
-          return strncasecmp($methodName, 'dy', 2) === 0 || strncasecmp($methodName, 'fx', 2) === 0;
18
-     }
17
+		  return strncasecmp($methodName, 'dy', 2) === 0 || strncasecmp($methodName, 'fx', 2) === 0;
18
+	 }
19 19
 
20
-     public function getMethod(ClassReflection $classReflection, string $methodName): MethodReflection
21
-     {
22
-          return new DynamicMethodReflection($classReflection, $methodName);
23
-     }
20
+	 public function getMethod(ClassReflection $classReflection, string $methodName): MethodReflection
21
+	 {
22
+		  return new DynamicMethodReflection($classReflection, $methodName);
23
+	 }
24 24
 }
Please login to merge, or discard this patch.