Make static analyzers happy.
@@ -461,16 +461,6 @@ parameters:
path: src/TestSuite/Fixture/TestFixture.php
-
- message: "#^Parameter \\#1 \\$separator of function explode expects non\\-empty\\-string, string given\\.$#"
- count: 1
- path: src/Utility/Hash.php
- -
- path: src/Utility/Text.php
message: "#^Unsafe usage of new static\\(\\)\\.$#"
count: 1
path: src/View/Form/ContextFactory.php
@@ -36,7 +36,9 @@ class PostgresCompiler extends QueryCompiler
protected bool $_quotedSelectAliases = true;
/**
- * @inheritDoc
+ * {@inheritDoc}
+ *
+ * @var array<string, string>
*/
protected array $_templates = [
'delete' => 'DELETE',
@@ -35,7 +35,9 @@ class SqlserverCompiler extends QueryCompiler
protected bool $_orderedUnion = false;
@@ -47,7 +49,9 @@ class SqlserverCompiler extends QueryCompiler
];
+ * @var array<string>
protected array $_selectParts = [
'with', 'select', 'from', 'join', 'where', 'group', 'having', 'window', 'order',
@@ -27,7 +27,9 @@ class DateTimeFractionalType extends DateTimeType
protected string $_format = 'Y-m-d H:i:s.u';
protected array $_marshalFormats = [
'Y-m-d H:i',
@@ -27,8 +27,11 @@ class DateTimeTimezoneType extends DateTimeType
protected string $_format = 'Y-m-d H:i:s.uP';
+
'Y-m-d H:i:s',
@@ -32,7 +32,9 @@ class DateType extends DateTimeType
protected string $_format = 'Y-m-d';
'Y-m-d',
@@ -31,7 +31,9 @@ class TimeType extends DateTimeType
protected string $_format = 'H:i:s';
'H:i:s',