Created
July 27, 2020 22:37
-
-
Save sunnysideup/aa01b7f485f1c95583d0ffd1b9681b05 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# RESULTS /src/Control: | |
```txt | |
------ ---------------------------------------------------------------------------------------------------------------------- | |
Line Controller.php | |
------ ---------------------------------------------------------------------------------------------------------------------- | |
128 Negated boolean expression is always true. | |
201 Negated boolean expression is always false. | |
287 Call to function is_array() with SilverStripe\Control\HTTPResponse will always evaluate to false. | |
338 Negated boolean expression is always false. | |
480 Method SilverStripe\Control\Controller::definingClassForAction() should return string but returns null. | |
520 Ternary operator condition is always true. | |
557 Method SilverStripe\Control\Controller::curr() should return SilverStripe\Control\Controller but returns null. | |
585 Call to function is_array() with string will always evaluate to false. | |
639 Method SilverStripe\Control\Controller::redirect() should return SilverStripe\Control\HTTPResponse but returns null. | |
654 Left side of && is always true. | |
654 Method SilverStripe\Control\Controller::redirectedTo() should return string|null but returns bool. | |
------ ---------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------- | |
Line CookieJar.php | |
------ ------------------------------------------------------------------------------------- | |
76 Strict comparison using === between string and false will always evaluate to false. | |
------ ------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------------------------------------------- | |
Line Director.php | |
------ ---------------------------------------------------------------------------------------------------------------------------------------- | |
71 Property SilverStripe\Control\Director::$current_page has unknown class SilverStripe\CMS\Model\SiteTree as its type. | |
211 Variable $_SESSION in isset() always exists and is not nullable. | |
411 Return typehint of method SilverStripe\Control\Director::get_current_page() has invalid type SilverStripe\CMS\Model\SiteTree. | |
413 Ternary operator condition is always true. | |
421 Parameter $page of method SilverStripe\Control\Director::set_current_page() has invalid typehint type SilverStripe\CMS\Model\SiteTree. | |
442 Call to function is_bool() with string will always evaluate to false. | |
445 Ternary operator condition is always false. | |
466 Method SilverStripe\Control\Director::absoluteURL() should return string but returns false. | |
550 Left side of && is always true. | |
640 Left side of && is always true. | |
911 PHPDoc tag @param has invalid value ($file): Unexpected token "$file", expected TOKEN_IDENTIFIER at offset 117 | |
1033 If condition is always true. | |
1080 Negated boolean expression is always false. | |
------ ---------------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
Line Email/Email.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
258 Negated boolean expression is always false. | |
651 Return type (string) of method SilverStripe\Control\Email\Email::debug() should be compatible with return type (SilverStripe\View\ViewableData_Debugger) of method SilverStripe\View\ViewableData::Debug() | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
------ ----------------------------------------------------------------------------------------- | |
Line HTTP.php | |
------ ----------------------------------------------------------------------------------------- | |
100 Method SilverStripe\Control\HTTP::filename2url() should return string but returns null. | |
107 Method SilverStripe\Control\HTTP::filename2url() should return string but returns null. | |
169 Call to function is_numeric() with 0|1|'a'|'base'|'link' will always evaluate to false. | |
------ ----------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------- | |
Line HTTPApplication.php | |
------ ----------------------------------------------------------------------- | |
67 If condition is always true. | |
90 Call to function is_null() with string will always evaluate to false. | |
------ ----------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------------ | |
Line HTTPRequest.php | |
------ ------------------------------------------------------------------------------------------------------------------------ | |
480 PHPDoc tag @param has invalid value ($fileData): Unexpected token "$fileData", expected TOKEN_IDENTIFIER at offset 451 | |
480 PHPDoc tag @param has invalid value ($fileName): Unexpected token "$fileName", expected TOKEN_IDENTIFIER at offset 475 | |
482 Negated boolean expression is always true. | |
513 PHPDoc tag @param has invalid value ($pattern): Unexpected token "$pattern", expected TOKEN_IDENTIFIER at offset 790 | |
695 PHPDoc tag @param has invalid value ($params): Unexpected token "$params", expected TOKEN_IDENTIFIER at offset 18 | |
722 Method SilverStripe\Control\HTTPRequest::param() should return string but returns null. | |
821 PHPDoc tag @param has invalid value ($ip string): Unexpected token "$ip", expected TOKEN_IDENTIFIER at offset 154 | |
------ ------------------------------------------------------------------------------------------------------------------------ | |
------ ---------------------------------------------------------------------------------------------- | |
Line HTTPResponse.php | |
------ ---------------------------------------------------------------------------------------------- | |
287 Method SilverStripe\Control\HTTPResponse::getHeader() should return string but returns null. | |
------ ---------------------------------------------------------------------------------------------- | |
------ -------------------------------------------------------------- | |
Line HTTPStreamResponse.php | |
------ -------------------------------------------------------------- | |
55 Negated boolean expression is always false. | |
94 Variable $body in isset() always exists and is not nullable. | |
123 Negated boolean expression is always false. | |
156 If condition is always true. | |
------ -------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line Middleware/ChangeDetectionMiddleware.php | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
29 Negated boolean expression is always false. | |
30 Method SilverStripe\Control\Middleware\ChangeDetectionMiddleware::process() should return SilverStripe\Control\HTTPResponse but returns null. | |
65 PHPDoc tag @param for parameter $response with type SilverStripe\Control\HTTPResponse|string is not subtype of native type SilverStripe\Control\HTTPResponse. | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line Middleware/ConfirmationMiddleware.php | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
69 PHPDoc tag @param for parameter $rules with type array<SilverStripe\Control\Middleware\ConfirmationMiddleware\Rule> is not subtype of native type array<int, mixed>. | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ -------------------------------------------------------- | |
Line Middleware/ConfirmationMiddleware/GetParameter.php | |
------ -------------------------------------------------------- | |
77 PHPDoc tag @param references unknown parameter: $param | |
------ -------------------------------------------------------- | |
------ --------------------------------------------------------- | |
Line Middleware/ConfirmationMiddleware/HttpMethodBypass.php | |
------ --------------------------------------------------------- | |
24 PHPDoc tag @param references unknown parameter: $method | |
------ --------------------------------------------------------- | |
------ ---------------------------------------------------------------------- | |
Line Middleware/ConfirmationMiddleware/Url.php | |
------ ---------------------------------------------------------------------- | |
87 PHPDoc tag @param references unknown parameter: $httpMethods | |
129 Call to function is_null() with array will always evaluate to false. | |
------ ---------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------ | |
Line Middleware/HTTPCacheControlMiddleware.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------ | |
47 Method SilverStripe\Control\Middleware\HTTPCacheControlMiddleware::process() should return SilverStripe\Control\HTTPResponse but returns null. | |
244 PHPDoc tag @param for parameter $varies with type array<array>|string is not subtype of native type array<int, mixed>. | |
337 Strict comparison using === between bool|int|string and null will always evaluate to false. | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------ | |
------ ------------------------------------------------------------------------------------------------------------------------------ | |
Line Middleware/TrustedProxyMiddleware.php | |
------ ------------------------------------------------------------------------------------------------------------------------------ | |
235 Method SilverStripe\Control\Middleware\TrustedProxyMiddleware::getIPFromHeaderValue() should return string but returns null. | |
------ ------------------------------------------------------------------------------------------------------------------------------ | |
------ ----------------------------------------------------------------------------------------------------------------- | |
Line RSS/RSSFeed.php | |
------ ----------------------------------------------------------------------------------------------------------------- | |
249 PHPDoc tag @param has invalid value (string): Unexpected token "\n ", expected TOKEN_VARIABLE at offset 160 | |
------ ----------------------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------------------------- | |
Line RSS/RSSFeed_Entry.php | |
------ ----------------------------------------------------------------------------------------------------------------------------------- | |
86 Method SilverStripe\Control\RSS\RSSFeed_Entry::Description() should return SilverStripe\ORM\FieldType\DBField but returns object. | |
113 Method SilverStripe\Control\RSS\RSSFeed_Entry::rssField() should return SilverStripe\ORM\FieldType\DBField but returns null. | |
------ ----------------------------------------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------------------- | |
Line RequestHandler.php | |
------ ----------------------------------------------------------------------------------------------------------------------------- | |
221 Instanceof between SilverStripe\Control\HTTPResponse and SilverStripe\Control\RequestHandler will always evaluate to false. | |
284 Method SilverStripe\Control\RequestHandler::findAction() should return array but returns null. | |
310 PHPDoc tag @param has invalid value ($action): Unexpected token "$action", expected TOKEN_IDENTIFIER at offset 217 | |
310 PHPDoc tag @param has invalid value ($request): Unexpected token "$request", expected TOKEN_IDENTIFIER at offset 194 | |
396 Negated boolean expression is always false. | |
445 Method SilverStripe\Control\RequestHandler::definingClassForAction() should return string but returns null. | |
579 Method SilverStripe\Control\RequestHandler::Link() should return string but returns null. | |
604 Negated boolean expression is always false. | |
605 Method SilverStripe\Control\RequestHandler::getBackURL() should return string but returns null. | |
613 Method SilverStripe\Control\RequestHandler::getBackURL() should return string but returns null. | |
618 Method SilverStripe\Control\RequestHandler::getBackURL() should return string but returns null. | |
645 Negated boolean expression is always false. | |
646 Method SilverStripe\Control\RequestHandler::getReferer() should return string but returns null. | |
------ ----------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------ | |
Line Session.php | |
------ ------------------------------------------------------------------ | |
342 Variable $_SESSION in isset() always exists and is not nullable. | |
------ ------------------------------------------------------------------ | |
------ ---------------------------------------- | |
Line SimpleResourceURLGenerator.php | |
------ ---------------------------------------- | |
120 Variable $method might not be defined. | |
------ ---------------------------------------- | |
``` | |
# RESULTS /src/Core: | |
```txt | |
----- ------------------------------------------------------------------------------------------------------------------- | |
Line Cache/DefaultCacheFactory.php | |
------ ------------------------------------------------------------------------------------------------------------------- | |
30 Property SilverStripe\Core\Cache\DefaultCacheFactory::$args (string) does not accept default value of type array. | |
43 Property SilverStripe\Core\Cache\DefaultCacheFactory::$args (string) does not accept array. | |
127 Left side of && is always true. | |
------ ------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------------------------- | |
Line Cache/ManifestCacheFactory.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------- | |
86 Left side of && is always true. | |
90 Method SilverStripe\Core\Cache\ManifestCacheFactory::createCache() should return Psr\SimpleCache\CacheInterface but returns object. | |
------ ------------------------------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------- | |
Line Cache/RateLimiter.php | |
------ --------------------------------------------- | |
52 Negated boolean expression is always false. | |
------ --------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------- | |
Line ClassInfo.php | |
------ ----------------------------------------------------------------------------------------------- | |
101 Static property SilverStripe\Core\ClassInfo::$_cache_all_tables (array) does not accept null. | |
113 Class SilverStripe\CMS\Model\SiteTree not found. | |
------ ----------------------------------------------------------------------------------------------- | |
------ -------------------------------------------- | |
Line Config/ConfigLoader.php | |
------ -------------------------------------------- | |
29 Ternary operator condition is always true. | |
------ -------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------- | |
Line Config/Config_ForClass.php | |
------ ----------------------------------------------------------------------------------------------------------------- | |
116 PHPDoc tag @param has invalid value (string): Unexpected token "\n *", expected TOKEN_VARIABLE at offset 24 | |
------ ----------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------ | |
Line Config/CoreConfigFactory.php | |
------ ------------------------------ | |
58 If condition is always true. | |
------ ------------------------------ | |
------ ---------------------------------------------------------------------------------------------------------------------------- | |
Line Convert.php | |
------ ---------------------------------------------------------------------------------------------------------------------------- | |
338 PHPDoc tag @param has invalid value (SimpleXMLElement): Unexpected token "\n *", expected TOKEN_VARIABLE at offset 180 | |
476 PHPDoc tag @param has invalid value ($data string): Unexpected token "$data", expected TOKEN_IDENTIFIER at offset 350 | |
492 PHPDoc tag @param has invalid value (string): Unexpected token "\n *", expected TOKEN_VARIABLE at offset 178 | |
551 PHPDoc tag @param has invalid value ($str): Unexpected token "$str", expected TOKEN_IDENTIFIER at offset 285 | |
599 Binary operation "*" between string|null and (float|int) results in an error. | |
------ ---------------------------------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------- | |
Line CoreKernel.php | |
------ ----------------------------------------------------------------------------------------------- | |
446 Method SilverStripe\Core\CoreKernel::getDatabaseName() should return string but returns null. | |
------ ----------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------ | |
Line Environment.php | |
------ ------------------------------------------------------------------------------------------------ | |
116 Variable $memoryLimit in isset() always exists and is not nullable. | |
130 Method SilverStripe\Core\Environment::getMemoryLimitMax() should return int but returns float. | |
------ ------------------------------------------------------------------------------------------------ | |
------ ------------------------------- | |
Line Injector/AopProxyService.php | |
------ ------------------------------- | |
42 If condition is always false. | |
------ ------------------------------- | |
------ -------------------------------------------------------------------------------------------------------- | |
Line Injector/Injectable.php (in context of class SilverStripe\Core\Cache\RateLimiter) | |
------ -------------------------------------------------------------------------------------------------------- | |
26 PHPDoc tag @param for parameter $args with type array is not subtype of native type array<int, mixed>. | |
------ -------------------------------------------------------------------------------------------------------- | |
------ -------------------------------------------------------------------------------------------------------- | |
Line Injector/Injectable.php (in context of class SilverStripe\Core\Manifest\ModuleResourceLoader) | |
------ -------------------------------------------------------------------------------------------------------- | |
26 PHPDoc tag @param for parameter $args with type array is not subtype of native type array<int, mixed>. | |
------ -------------------------------------------------------------------------------------------------------- | |
------ -------------------------------------------------------------------------------------------------------- | |
Line Injector/Injectable.php (in context of class SilverStripe\Core\Manifest\PrioritySorter) | |
------ -------------------------------------------------------------------------------------------------------- | |
26 PHPDoc tag @param for parameter $args with type array is not subtype of native type array<int, mixed>. | |
------ -------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------------- | |
Line Injector/Injector.php | |
------ --------------------------------------------------------------------------------------------------------------- | |
512 Call to function is_array() with string will always evaluate to false. | |
574 Call to function is_string() with array will always evaluate to false. | |
598 Method SilverStripe\Core\Injector\Injector::instantiate() should return object but returns null. | |
818 PHPDoc tag @param has invalid value ($name): Unexpected token "$name", expected TOKEN_IDENTIFIER at offset 77 | |
822 Method SilverStripe\Core\Injector\Injector::hasService() should return string but returns bool. | |
953 PHPDoc tag @throws with type Psr\Container\NotFoundExceptionInterface is not subtype of Throwable | |
------ --------------------------------------------------------------------------------------------------------------- | |
------ -------------------------------------------- | |
Line Injector/InjectorLoader.php | |
------ -------------------------------------------- | |
28 Ternary operator condition is always true. | |
------ -------------------------------------------- | |
------ -------------------------------------------- | |
Line Manifest/ClassLoader.php | |
------ -------------------------------------------- | |
33 Ternary operator condition is always true. | |
------ -------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------- | |
Line Manifest/ClassManifest.php | |
------ ------------------------------------------------------------------------------------------------------------- | |
196 Negated boolean expression is always false. | |
216 Method SilverStripe\Core\Manifest\ClassManifest::getManifestTimestamp() should return int but returns null. | |
288 Negated boolean expression is always false. | |
302 Negated boolean expression is always false. | |
318 Negated boolean expression is always false. | |
365 Method SilverStripe\Core\Manifest\ClassManifest::getItemName() should return string but returns null. | |
516 Anonymous function has an unused use $finder. | |
522 Empty array passed to foreach. | |
------ ------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------- | |
Line Manifest/ManifestFileFinder.php | |
------ --------------------------------------------------------------------------------------------------------- | |
200 Method SilverStripe\Core\Manifest\ManifestFileFinder::upLevels() should return string but returns null. | |
232 Strict comparison using === between string and 0 will always evaluate to false. | |
248 Result of && is always false. | |
248 Strict comparison using === between string and 1 will always evaluate to false. | |
------ --------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------ | |
Line Manifest/Module.php | |
------ ------------------------------------------------------------------------------------------------ | |
274 Method SilverStripe\Core\Manifest\Module::hasResource() should return string but returns bool. | |
287 PHPDoc tag @param references unknown parameter: $file | |
------ ------------------------------------------------------------------------------------------------ | |
------ -------------------------------------------- | |
Line Manifest/ModuleLoader.php | |
------ -------------------------------------------- | |
25 Ternary operator condition is always true. | |
------ -------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------------------------------------- | |
Line Manifest/ModuleManifest.php | |
------ --------------------------------------------------------------------------------------------------------------------------------------- | |
128 If condition is always true. | |
136 Right side of && is always true. | |
187 If condition is always true. | |
214 Method SilverStripe\Core\Manifest\ModuleManifest::getModule() should return SilverStripe\Core\Manifest\Module but returns null. | |
262 Method SilverStripe\Core\Manifest\ModuleManifest::getModuleByPath() should return SilverStripe\Core\Manifest\Module but returns null. | |
------ --------------------------------------------------------------------------------------------------------------------------------------- | |
------ -------------------------------------------------------------------------------------------------------------- | |
Line Manifest/ModuleResourceLoader.php | |
------ -------------------------------------------------------------------------------------------------------------- | |
28 Method SilverStripe\Core\Manifest\ModuleResourceLoader::resolvePath() should return string but returns null. | |
47 Method SilverStripe\Core\Manifest\ModuleResourceLoader::resolveURL() should return string but returns null. | |
105 Negated boolean expression is always false. | |
------ -------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------ | |
Line Manifest/PrioritySorter.php | |
------ ------------------------------------------------------------------------------------------------------------------ | |
147 PHPDoc tag @param has invalid value ($value): Unexpected token "$value", expected TOKEN_IDENTIFIER at offset 137 | |
160 PHPDoc tag @param has invalid value ($key): Unexpected token "$key", expected TOKEN_IDENTIFIER at offset 67 | |
208 PHPDoc tag @param has invalid value ($name): Unexpected token "$name", expected TOKEN_IDENTIFIER at offset 79 | |
------ ------------------------------------------------------------------------------------------------------------------ | |
------ ------------------------------------------ | |
Line Manifest/VersionProvider.php | |
------ ------------------------------------------ | |
106 Variable $cacheKey might not be defined. | |
------ ------------------------------------------ | |
------ --------------------------------------------------------------------------------------------------------- | |
Line Path.php | |
------ --------------------------------------------------------------------------------------------------------- | |
25 PHPDoc tag @param for parameter $parts with type array is not subtype of native type array<int, mixed>. | |
------ --------------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------- | |
Line Startup/AbstractConfirmationToken.php | |
------ ----------------------------------------------------------------------------------------------------------------- | |
62 PHPDoc tag @param has invalid value ($token): Unexpected token "$token", expected TOKEN_IDENTIFIER at offset 82 | |
------ ----------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line Startup/ErrorControlChain.php | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
125 PHPDoc tag @param has invalid value ($callback - The callback to call): Unexpected token "$callback", expected TOKEN_IDENTIFIER at offset 189 | |
125 PHPDoc tag @param has invalid value ($onErrorState - false if only call if no errors yet, true if only call if already errors, null for either): Unexpected token "$onErrorState", expected | |
TOKEN_IDENTIFIER at offset 236 | |
174 If condition is always true. | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------- | |
Line Startup/ErrorControlChainMiddleware.php | |
------ ----------------------------------------- | |
86 Left side of && is always true. | |
98 Left side of && is always true. | |
------ ----------------------------------------- | |
------ -------------------------------------------------------------------------------------------------------------------- | |
Line Startup/ParameterConfirmationToken.php | |
------ -------------------------------------------------------------------------------------------------------------------- | |
75 Method SilverStripe\Core\Startup\ParameterConfirmationToken::backURLToken() should return string but returns null. | |
85 Method SilverStripe\Core\Startup\ParameterConfirmationToken::backURLToken() should return string but returns null. | |
------ -------------------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------- | |
Line Startup/RequestFlushDiscoverer.php | |
------ ---------------------------------------------------------- | |
51 PHPDoc tag @param references unknown parameter: $request | |
------ ---------------------------------------------------------- | |
``` | |
# RESULTS /src/Dev: | |
```txt | |
------ -------------------------------------------------------------------------------------------------------------- | |
Line BuildTask.php | |
------ -------------------------------------------------------------------------------------------------------------- | |
60 PHPDoc tag @return has invalid value (): Unexpected token "\n ", expected TOKEN_IDENTIFIER at offset 147 | |
------ -------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
Line BulkLoader.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
186 PHPDoc tag @param has invalid value ($result BulkLoader_Result (passed as reference)): Unexpected token "$result", expected TOKEN_IDENTIFIER at offset 212 | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
------ ---------------------------------------------------------------------------------------------------------------------------- | |
Line BulkLoader_Result.php | |
------ ---------------------------------------------------------------------------------------------------------------------------- | |
139 PHPDoc tag @param has invalid value ($message string): Unexpected token "$message", expected TOKEN_IDENTIFIER at offset 48 | |
139 PHPDoc tag @param has invalid value ($obj DataObject): Unexpected token "$obj", expected TOKEN_IDENTIFIER at offset 18 | |
153 PHPDoc tag @param has invalid value ($message string): Unexpected token "$message", expected TOKEN_IDENTIFIER at offset 48 | |
153 PHPDoc tag @param has invalid value ($obj DataObject): Unexpected token "$obj", expected TOKEN_IDENTIFIER at offset 18 | |
167 PHPDoc tag @param has invalid value ($message string): Unexpected token "$message", expected TOKEN_IDENTIFIER at offset 48 | |
167 PHPDoc tag @param has invalid value ($obj DataObject): Unexpected token "$obj", expected TOKEN_IDENTIFIER at offset 18 | |
185 If condition is always true. | |
------ ---------------------------------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------- | |
Line CSVParser.php | |
------ ----------------------------------------------------------------------------------------------------------------- | |
139 PHPDoc tag @param has invalid value (array): Unexpected token "\n ", expected TOKEN_VARIABLE at offset 303 | |
161 PHPDoc tag @param has invalid value (array): Unexpected token "\n ", expected TOKEN_VARIABLE at offset 253 | |
184 If condition is always true. | |
188 Property SilverStripe\Dev\CSVParser::$fileHandle (resource) does not accept null. | |
190 Property SilverStripe\Dev\CSVParser::$currentRow (array) does not accept null. | |
191 Property SilverStripe\Dev\CSVParser::$headerRow (array) does not accept null. | |
217 PHPDoc tag @param has invalid value (array): Unexpected token "\n *", expected TOKEN_VARIABLE at offset 100 | |
238 Negated boolean expression is always false. | |
------ ----------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------- | |
Line CliDebugView.php | |
------ --------------------------------------------------------------------------------------------- | |
26 Method SilverStripe\Dev\CliDebugView::renderHeader() should return string but returns null. | |
123 Call to function is_string() with object will always evaluate to false. | |
------ --------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------------------------- | |
Line CsvBulkLoader.php | |
------ --------------------------------------------------------------------------------------------------------------------------- | |
59 Method SilverStripe\Dev\CsvBulkLoader::preview() should return array but returns SilverStripe\Dev\BulkLoader_Result|null. | |
115 Variable $headerMap might not be defined. | |
118 Variable $rows might not be defined. | |
290 Ternary operator condition is always true. | |
421 If condition is always true. | |
442 Method SilverStripe\Dev\CsvBulkLoader::findExistingObject() should return SilverStripe\ORM\DataObject but returns false. | |
------ --------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------- | |
Line DebugView.php | |
------ ------------------------------------------------------------------------- | |
41 Array has 2 duplicate keys with value 2 (2, E_WARNING). | |
69 Array has 2 duplicate keys with value 16 (E_CORE_ERROR, E_CORE_ERROR). | |
371 Call to function is_string() with object will always evaluate to false. | |
------ ------------------------------------------------------------------------- | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line Deprecation.php | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
88 PHPDoc tag @param has invalid value ($ver string - | |
A php standard version string, see http://php.net/manual/en/function.version-compare.php for details.): Unexpected token "$ver", expected TOKEN_IDENTIFIER at offset 221 | |
90 If condition is always false. | |
107 Method SilverStripe\Dev\Deprecation::get_calling_module_from_trace() should return SilverStripe\Core\Manifest\Module but returns null. | |
123 PHPDoc tag @param has invalid value ($backtrace array - a backtrace as returned from debug_backtrace): Unexpected token "$backtrace", expected TOKEN_IDENTIFIER at offset 143 | |
123 PHPDoc tag @param has invalid value ($level - 1 (default) will return immediate caller, 2 will return caller's caller, etc.): Unexpected token "$level", expected TOKEN_IDENTIFIER at offset 221 | |
192 If condition is always true. | |
263 PHPDoc tag @param has invalid value ($settings array An array as returned by {@see Deprecation::dump_settings()}): Unexpected token "$settings", expected TOKEN_IDENTIFIER at offset 114 | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------- | |
Line FixtureFactory.php | |
------ ----------------------------------------------------------------------------------------------------------- | |
131 Method SilverStripe\Dev\FixtureFactory::getId() should return int but returns false. | |
173 Method SilverStripe\Dev\FixtureFactory::get() should return SilverStripe\ORM\DataObject but returns null. | |
215 If condition is always true. | |
------ ----------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------------------- | |
Line FunctionalTest.php | |
------ ---------------------------------------------------------------------------------------------------------------- | |
161 Property SilverStripe\Dev\FunctionalTest::$cssParser (SilverStripe\Dev\CSSContentParser) does not accept null. | |
183 Property SilverStripe\Dev\FunctionalTest::$cssParser (SilverStripe\Dev\CSSContentParser) does not accept null. | |
212 Property SilverStripe\Dev\FunctionalTest::$cssParser (SilverStripe\Dev\CSSContentParser) does not accept null. | |
254 Negated boolean expression is always false. | |
------ ---------------------------------------------------------------------------------------------------------------- | |
------ -------------------------------------------------------------------------------------------------------------- | |
Line Install/DatabaseAdapterRegistry.php | |
------ -------------------------------------------------------------------------------------------------------------- | |
174 Caught class SilverStripe\Dev\Install\Exception not found. | |
213 Method SilverStripe\Dev\Install\DatabaseAdapterRegistry::get_adapter() should return array but returns null. | |
------ -------------------------------------------------------------------------------------------------------------- | |
------ -------------------------------------------------------------------------------------------------------------------------------- | |
Line Install/MySQLDatabaseConfigurationHelper.php | |
------ -------------------------------------------------------------------------------------------------------------------------------- | |
59 Left side of && is always true. | |
96 If condition is always true. | |
155 Method SilverStripe\Dev\Install\MySQLDatabaseConfigurationHelper::getDatabaseVersion() should return string but returns false. | |
161 Method SilverStripe\Dev\Install\MySQLDatabaseConfigurationHelper::getDatabaseVersion() should return string but returns false. | |
------ -------------------------------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------------------------------------- | |
Line SapphireTest.php | |
------ ---------------------------------------------------------------------------------------------------------------------------------- | |
176 Negated boolean expression is always false. | |
290 Class SilverStripe\CMS\Controllers\RootURLController not found. | |
329 PHPDoc tag @param has invalid value ($fixtureFiles): Unexpected token "$fixtureFiles", expected TOKEN_IDENTIFIER at offset 109 | |
387 Negated boolean expression is always false. | |
500 Negated boolean expression is always false. | |
583 Right side of && is always true. | |
739 PHPDoc tag @param has invalid value ($dataObjectSet): Unexpected token "$dataObjectSet", expected TOKEN_IDENTIFIER at offset 112 | |
739 PHPDoc tag @param has invalid value ($matches): Unexpected token "$matches", expected TOKEN_IDENTIFIER at offset 89 | |
793 PHPDoc tag @param has invalid value ($dataObjectSet): Unexpected token "$dataObjectSet", expected TOKEN_IDENTIFIER at offset 115 | |
793 PHPDoc tag @param has invalid value ($matches): Unexpected token "$matches", expected TOKEN_IDENTIFIER at offset 92 | |
817 PHPDoc tag @param for parameter $list with type mixed is not subtype of native type SilverStripe\ORM\SS_List. | |
841 PHPDoc tag @param has invalid value ($matches): Unexpected token "$matches", expected TOKEN_IDENTIFIER at offset 87 | |
861 PHPDoc tag @param for parameter $list with type mixed is not subtype of native type SilverStripe\ORM\SS_List. | |
885 PHPDoc tag @param has invalid value ($match): Unexpected token "$match", expected TOKEN_IDENTIFIER at offset 89 | |
1085 Negated boolean expression is always false. | |
1180 Call to function is_array() with string will always evaluate to false. | |
------ ---------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------ | |
Line State/ExtensionTestState.php | |
------ ------------------------------------------------------------ | |
122 Cannot call static method add_extension() on (int|string). | |
------ ------------------------------------------------------------ | |
------ --------------------------------------------------------------------------------------------------------------- | |
Line State/FixtureTestState.php | |
------ --------------------------------------------------------------------------------------------------------------- | |
27 Property SilverStripe\Dev\State\FixtureTestState::$loaded (bool) does not accept default value of type array. | |
163 Call to function is_array() with string will always evaluate to false. | |
169 Cannot assign offset string to bool. | |
270 Cannot assign offset string to bool. | |
281 Cannot assign offset string to bool. | |
------ --------------------------------------------------------------------------------------------------------------- | |
------ -------------------------------------------------------------------------------------- | |
Line State/KernelTestState.php | |
------ -------------------------------------------------------------------------------------- | |
84 Array (array<SilverStripe\Dev\TestKernel>) does not accept SilverStripe\Core\Kernel. | |
------ -------------------------------------------------------------------------------------- | |
------ --------------------------------- | |
Line State/LoggerState.php | |
------ --------------------------------- | |
23 Left side of && is always true. | |
------ --------------------------------- | |
------ ------------------------------------ | |
Line Tasks/CleanupTestDatabasesTask.php | |
------ ------------------------------------ | |
28 If condition is always true. | |
------ ------------------------------------ | |
------ -------------------------------------------------------------------------------------------------------------------- | |
Line Tasks/MigrateFileTask.php | |
------ -------------------------------------------------------------------------------------------------------------------- | |
143 Class SilverStripe\AssetAdmin\Helper\ImageThumbnailHelper not found. | |
168 Class SilverStripe\Dev\Tasks\FixFolderPermissionsHelper not found. | |
239 Class SilverStripe\UserForms\Task\RecoverUploadLocationsHelper not found. | |
277 Property SilverStripe\Dev\Tasks\MigrateFileTask::$logger (Monolog\Logger) does not accept Psr\Log\LoggerInterface. | |
------ -------------------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------- | |
Line TestSession.php | |
------ ---------------------------------------------------------------------------------------------------- | |
110 Negated boolean expression is always false. | |
146 Negated boolean expression is always false. | |
186 Negated boolean expression is always false. | |
216 If condition is always true. | |
223 Instantiated class SimpleByName not found. | |
227 Instantiated class SimpleByName not found. | |
298 Call to function is_string() with SilverStripe\Control\HTTPResponse will always evaluate to false. | |
320 Return typehint of method SilverStripe\Dev\TestSession::lastPage() has invalid type SimplePage. | |
326 Instantiated class SimplePageBuilder not found. | |
327 If condition is always true. | |
------ ---------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------------- | |
Line Upgrade/UpgradeBootstrap.php | |
------ ----------------------------------------------------------------------------------------------------------------------- | |
37 PHPDoc tag @param has invalid value ($basePath): Unexpected token "$basePath", expected TOKEN_IDENTIFIER at offset 92 | |
------ ----------------------------------------------------------------------------------------------------------------------- | |
``` | |
# RESULTS /src/Forms: | |
```txt | |
------ ---------------------------------------------------------------------------------------------------------------------------- | |
Line CompositeField.php | |
------ ---------------------------------------------------------------------------------------------------------------------------- | |
78 Left side of && is always true. | |
330 PHPDoc tag @param has invalid value (FormField): Unexpected token "\n ", expected TOKEN_VARIABLE at offset 86 | |
340 PHPDoc tag @param has invalid value (FormField): Unexpected token "\n ", expected TOKEN_VARIABLE at offset 92 | |
390 PHPDoc tag @param has invalid value ($fieldName): Unexpected token "$fieldName", expected TOKEN_IDENTIFIER at offset 18 | |
390 PHPDoc tag @param has invalid value ($newField): Unexpected token "$newField", expected TOKEN_IDENTIFIER at offset 43 | |
399 Else branch is unreachable because previous condition is always true. | |
420 If condition is always true. | |
446 If condition is always true. | |
478 PHPDoc tag @param has invalid value (string|FormField): Unexpected token "\n *", expected TOKEN_VARIABLE at offset 152 | |
484 Method SilverStripe\Forms\CompositeField::fieldPosition() should return int but returns false. | |
496 Method SilverStripe\Forms\CompositeField::fieldPosition() should return int but returns false. | |
505 PHPDoc tag @param has invalid value (string|FormField): Unexpected token "\n *", expected TOKEN_VARIABLE at offset 96 | |
------ ---------------------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line ConfirmedPasswordField.php | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
130 Constructor of class SilverStripe\Forms\ConfirmedPasswordField has an unused parameter $form. | |
174 Method SilverStripe\Forms\ConfirmedPasswordField::Title() should return string but returns null. | |
188 Return type (string) of method SilverStripe\Forms\ConfirmedPasswordField::Field() should be compatible with return type (SilverStripe\ORM\FieldType\DBHTMLText) of method | |
SilverStripe\Forms\FormField::Field() | |
387 If condition is always true. | |
404 Right side of && is always true. | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line CurrencyField_Disabled.php | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
22 Return type (string) of method SilverStripe\Forms\CurrencyField_Disabled::Field() should be compatible with return type (SilverStripe\ORM\FieldType\DBHTMLText) of method | |
SilverStripe\Forms\FormField::Field() | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line CurrencyField_Readonly.php | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
20 Return type (string) of method SilverStripe\Forms\CurrencyField_Readonly::Field() should be compatible with return type (SilverStripe\ORM\FieldType\DBHTMLText) of method | |
SilverStripe\Forms\FormField::Field() | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line DatalessField.php | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
57 Return type (SilverStripe\ORM\FieldType\DBHTMLText) of method SilverStripe\Forms\DatalessField::SmallFieldHolder() should be compatible with return type (string) of method | |
SilverStripe\Forms\FormField::SmallFieldHolder() | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ -------------------------------------------------------------------------------------------------- | |
Line DateField.php | |
------ -------------------------------------------------------------------------------------------------- | |
181 If condition is always false. | |
199 Property SilverStripe\Forms\DateField::$dateFormat (null) does not accept string. | |
211 Result of && is always false. | |
211 Right side of && is always false. | |
238 Elseif condition is always false. | |
522 Method SilverStripe\Forms\DateField::frontendToInternal() should return string but returns null. | |
527 Strict comparison using === between int and false will always evaluate to false. | |
528 Method SilverStripe\Forms\DateField::frontendToInternal() should return string but returns null. | |
545 Method SilverStripe\Forms\DateField::internalToFrontend() should return string but returns null. | |
550 Strict comparison using === between int and false will always evaluate to false. | |
551 Method SilverStripe\Forms\DateField::internalToFrontend() should return string but returns null. | |
566 Method SilverStripe\Forms\DateField::tidyInternal() should return string but returns null. | |
571 Strict comparison using === between int and false will always evaluate to false. | |
575 Method SilverStripe\Forms\DateField::tidyInternal() should return string but returns null. | |
------ -------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------------------- | |
Line DateField_Disabled.php | |
------ ------------------------------------------------------------------------------------------------------------------------------- | |
47 Method SilverStripe\Forms\DateField_Disabled::Field() should return SilverStripe\ORM\FieldType\DBHTMLText but returns string. | |
------ ------------------------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------------- | |
Line DatetimeField.php | |
------ --------------------------------------------------------------------------------------------------------------- | |
145 PHPDoc tag @param has invalid value ($bool): Unexpected token "$bool", expected TOKEN_IDENTIFIER at offset 18 | |
188 Method SilverStripe\Forms\DatetimeField::frontendToInternal() should return string but returns null. | |
198 Result of && is always false. | |
198 Strict comparison using === between int and false will always evaluate to false. | |
203 Strict comparison using === between array()|int and false will always evaluate to false. | |
204 Method SilverStripe\Forms\DatetimeField::frontendToInternal() should return string but returns null. | |
217 Result of && is always false. | |
217 Right side of && is always false. | |
246 Elseif condition is always false. | |
266 If condition is always false. | |
284 Property SilverStripe\Forms\DatetimeField::$datetimeFormat (null) does not accept string. | |
348 Strict comparison using === between int and false will always evaluate to false. | |
385 Method SilverStripe\Forms\DatetimeField::internalToFrontend() should return string but returns null. | |
390 Strict comparison using === between int and false will always evaluate to false. | |
391 Method SilverStripe\Forms\DatetimeField::internalToFrontend() should return string but returns null. | |
407 Method SilverStripe\Forms\DatetimeField::tidyInternal() should return string but returns null. | |
412 Strict comparison using === between int and false will always evaluate to false. | |
416 Method SilverStripe\Forms\DatetimeField::tidyInternal() should return string but returns null. | |
------ --------------------------------------------------------------------------------------------------------------- | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line DropdownField.php | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
131 Return type (string) of method SilverStripe\Forms\DropdownField::Field() should be compatible with return type (SilverStripe\ORM\FieldType\DBHTMLText) of method SilverStripe\Forms\FormField::Field() | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line EmailField.php | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
30 Return type (string) of method SilverStripe\Forms\EmailField::validate() should be compatible with return type (bool) of method SilverStripe\Forms\TextField::validate() | |
46 Method SilverStripe\Forms\EmailField::validate() should return string but returns false. | |
49 Method SilverStripe\Forms\EmailField::validate() should return string but returns true. | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------- | |
Line FieldGroup.php | |
------ ----------------------------------------------------------------------------------------------- | |
88 Instanceof between null and SilverStripe\Forms\FieldList will always evaluate to false. | |
168 Method SilverStripe\Forms\FieldGroup::getMessage() should return string but returns null. | |
190 Method SilverStripe\Forms\FieldGroup::getMessageType() should return string but returns null. | |
------ ----------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line FieldList.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
156 PHPDoc tag @param has invalid value ($functionName): Unexpected token "$functionName", expected TOKEN_IDENTIFIER at offset 106 | |
181 Property SilverStripe\Forms\FieldList::$sequentialSet (array<SilverStripe\Forms\FormField>) does not accept null. | |
182 Property SilverStripe\Forms\FieldList::$sequentialSaveableSet (array<SilverStripe\Forms\FormField>) does not accept null. | |
190 PHPDoc tag @param has invalid value ($list): Unexpected token "$list", expected TOKEN_IDENTIFIER at offset 89 | |
412 Negated boolean expression is always false. | |
454 Method SilverStripe\Forms\FieldList::findTab() should return SilverStripe\Forms\Tab|null but returns $this(SilverStripe\Forms\FieldList)|SilverStripe\Forms\FormField. | |
482 Negated boolean expression is always false. | |
505 Method SilverStripe\Forms\FieldList::findOrMakeTab() should return SilverStripe\Forms\Tab but returns $this(SilverStripe\Forms\FieldList)|SilverStripe\Forms\FormField. | |
536 Method SilverStripe\Forms\FieldList::fieldByName() should return SilverStripe\Forms\FormField but returns null. | |
543 Method SilverStripe\Forms\FieldList::fieldByName() should return SilverStripe\Forms\FormField but returns null. | |
562 Method SilverStripe\Forms\FieldList::dataFieldByName() should return SilverStripe\Forms\FormField but returns null. | |
577 Instanceof between string and SilverStripe\Forms\FormField will always evaluate to false. | |
619 Instanceof between string and SilverStripe\Forms\FormField will always evaluate to false. | |
786 If condition is always true. | |
835 If condition is always true. | |
893 PHPDoc tag @param has invalid value (string|FormField): Unexpected token "\n *", expected TOKEN_VARIABLE at offset 152 | |
907 Method SilverStripe\Forms\FieldList::fieldPosition() should return int but returns false. | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line FileField.php | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
80 Return type (string) of method SilverStripe\Forms\FileField::Field() should be compatible with return type (SilverStripe\ORM\FieldType\DBHTMLText) of method SilverStripe\Forms\FormField::Field() | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------------------------- | |
Line Form.php | |
------ ----------------------------------------------------------------------------------------------------------------------------------- | |
258 Property SilverStripe\Forms\Form::$formActionPath (string) does not accept default value of type false. | |
331 PHPDoc tag @param has invalid value (bool): Unexpected token "\n ", expected TOKEN_VARIABLE at offset 22 | |
345 Variable $result in isset() always exists and is not nullable. | |
351 Variable $data in isset() always exists and is not nullable. | |
380 Left side of && is always true. | |
387 Method SilverStripe\Forms\Form::getRequest() should return SilverStripe\Control\HTTPRequest but returns null. | |
398 If condition is always true. | |
437 Method SilverStripe\Forms\Form::getSessionValidationResult() should return SilverStripe\ORM\ValidationResult but returns null. | |
451 If condition is always true. | |
452 If condition is always true. | |
461 Ternary operator condition is always true. | |
492 Ternary operator condition is always true. | |
518 If condition is always true. | |
565 PHPDoc tag @param has invalid value ($callback): Unexpected token "$callback", expected TOKEN_IDENTIFIER at offset 348 | |
627 If condition is always true. | |
648 If condition is always true. | |
660 Property SilverStripe\Forms\Form::$validator (SilverStripe\Forms\Validator) does not accept null. | |
670 PHPDoc tag @param has invalid value (array): Unexpected token "\n *", expected TOKEN_VARIABLE at offset 81 | |
695 Negated boolean expression is always false. | |
743 Negated boolean expression is always false. | |
839 Method SilverStripe\Forms\Form::getAttribute() should return string but returns null. | |
856 Left side of && is always true. | |
878 Call to function is_string() with array|null will always evaluate to false. | |
888 If condition is always false. | |
921 PHPDoc tag @param has invalid value (string|FormTemplateHelper): Unexpected token "\n ", expected TOKEN_VARIABLE at offset 187 | |
934 If condition is always true. | |
1109 PHPDoc tag @param has invalid value ($bool boolean): Unexpected token "$bool", expected TOKEN_IDENTIFIER at offset 411 | |
1256 Ternary operator condition is always true. | |
1272 Ternary operator condition is always true. | |
1289 Ternary operator condition is always true. | |
1338 Ternary operator condition is always true. | |
1340 Negated boolean expression is always false. | |
1409 Result of && is always false. | |
1415 Strict comparison using === between int and true will always evaluate to false. | |
1417 Strict comparison using === between int and false will always evaluate to false. | |
1543 Call to function is_array() with SilverStripe\Forms\FieldList will always evaluate to false. | |
1543 Result of && is always false. | |
1543 Result of && is always false. | |
1684 Right side of && is always true. | |
1687 Method SilverStripe\Forms\Form::defaultAction() should return SilverStripe\Forms\FormAction but returns null. | |
1808 If condition is always true. | |
1813 Method SilverStripe\Forms\Form::debug() should return SilverStripe\View\ViewableData_Debugger but returns string. | |
1831 Negated boolean expression is always false. | |
------ ----------------------------------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line FormAction.php | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
80 PHPDoc tag @param has invalid value (Form form The parent form, auto-set when the field is placed inside a form): Unexpected token "form", expected TOKEN_VARIABLE at offset 241 | |
231 PHPDoc tag @param has invalid value (boolean): Unexpected token "\n *", expected TOKEN_VARIABLE at offset 102 | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line FormField.php | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
338 Parameter $title of method SilverStripe\Forms\FormField::__construct() has invalid typehint type SilverStripe\Forms\SilverStripe\View\ViewableData. | |
380 Negated boolean expression is always false. | |
425 If condition is always true. | |
527 PHPDoc tag @param has invalid value (string|DBField Plain text string, or a DBField with appropriately escaped HTML): Unexpected token "Plain", expected TOKEN_VARIABLE at offset 87 | |
584 Cannot use [] for reading. | |
670 Method SilverStripe\Forms\FormField::getAttribute() should return string but returns null. | |
718 Call to function is_string() with array|null will always evaluate to false. | |
722 Call to function is_string() with array will always evaluate to false. | |
732 If condition is always false. | |
872 Negated boolean expression is always false. | |
1348 Return type (string) of method SilverStripe\Forms\FormField::debug() should be compatible with return type (SilverStripe\View\ViewableData_Debugger) of method SilverStripe\View\ViewableData::Debug() | |
1378 Left side of && is always true. | |
1378 Right side of && is always true. | |
1412 If condition is always true. | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ -------------------------------------------------------------------------------------------------- | |
Line FormMessage.php (in context of class SilverStripe\Forms\Form) | |
------ -------------------------------------------------------------------------------------------------- | |
108 Method SilverStripe\Forms\Form::getMessageCastingHelper() should return string but returns null. | |
------ -------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------- | |
Line FormMessage.php (in context of class SilverStripe\Forms\FormField) | |
------ ------------------------------------------------------------------------------------------------------- | |
108 Method SilverStripe\Forms\FormField::getMessageCastingHelper() should return string but returns null. | |
------ ------------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------------------------- | |
Line FormRequestHandler.php | |
------ ----------------------------------------------------------------------------------------------------------------------------------- | |
65 If condition is always true. | |
83 Method SilverStripe\Forms\FormRequestHandler::Link() should return string but returns null. | |
184 Right side of && is always true. | |
196 Left side of && is always true. | |
196 Result of && is always false. | |
201 Negated boolean expression is always false. | |
229 Left side of && is always true. | |
246 If condition is always true. | |
286 Left side of && is always true. | |
310 Left side of && is always true. | |
404 If condition is always true. | |
411 Method SilverStripe\Forms\FormRequestHandler::checkFieldsForAction() should return SilverStripe\Forms\FormField but returns null. | |
429 If condition is always true. | |
462 Method SilverStripe\Forms\FormRequestHandler::buttonClicked() should return SilverStripe\Forms\FormAction but returns null. | |
505 Negated boolean expression is always false. | |
527 PHPDoc tag @param has invalid value ($subject): Unexpected token "$subject", expected TOKEN_IDENTIFIER at offset 18 | |
------ ----------------------------------------------------------------------------------------------------------------------------------- | |
------ -------------------------------------------- | |
Line FormScaffolder.php | |
------ -------------------------------------------- | |
143 Cannot assign offset 'has_many' to false. | |
143 Result of || is always true. | |
172 Cannot assign offset 'many_many' to false. | |
172 Result of || is always true. | |
------ -------------------------------------------- | |
------ ------------------------------ | |
Line FormTemplateHelper.php | |
------ ------------------------------ | |
64 If condition is always true. | |
------ ------------------------------ | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
Line GridField/GridField.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
207 Left side of && is always true. | |
262 Left side of && is always true. | |
262 Negated boolean expression is always false. | |
298 Negated boolean expression is always false. | |
423 Return type (string) of method SilverStripe\Forms\GridField\GridField::FieldHolder() should be compatible with return type (SilverStripe\ORM\FieldType\DBHTMLText) of method | |
SilverStripe\Forms\FormField::FieldHolder() | |
553 Strict comparison using === between string and null will always evaluate to false. | |
735 Return type (string) of method SilverStripe\Forms\GridField\GridField::Field() should be compatible with return type (SilverStripe\ORM\FieldType\DBHTMLText) of method | |
SilverStripe\Forms\FormField::Field() | |
1240 PHPDoc tag @param has invalid value ($content): Unexpected token "$content", expected TOKEN_IDENTIFIER at offset 18 | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
------ ------------------------------------------------- | |
Line GridField/GridFieldAddExistingAutocompleter.php | |
------ ------------------------------------------------- | |
145 If condition is always true. | |
198 If condition is always true. | |
227 Ternary operator condition is always true. | |
------ ------------------------------------------------- | |
------ ------------------------------------- | |
Line GridField/GridFieldAddNewButton.php | |
------ ------------------------------------- | |
43 Left side of && is always true. | |
------ ------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line GridField/GridFieldConfig.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
118 Negated boolean expression is always false. | |
151 Method SilverStripe\Forms\GridField\GridFieldConfig::getComponentByType() should return SilverStripe\Forms\GridField\GridFieldComponent but returns object. | |
154 Method SilverStripe\Forms\GridField\GridFieldConfig::getComponentByType() should return SilverStripe\Forms\GridField\GridFieldComponent but returns null. | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------ | |
Line GridField/GridFieldDataColumns.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------ | |
39 PHPDoc tag @param has invalid value (array - List reference of all column names.): Unexpected token "-", expected TOKEN_VARIABLE at offset 218 | |
252 Call to function is_object() with string will always evaluate to false. | |
254 Call to function method_exists() with *NEVER* and 'Nice' will always evaluate to false. | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------ | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line GridField/GridFieldDeleteAction.php | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
79 Return type (string|null) of method SilverStripe\Forms\GridField\GridFieldDeleteAction::getExtraData() should be compatible with return type (array) of method | |
SilverStripe\Forms\GridField\GridField_ActionMenuItem::getExtraData() | |
85 Method SilverStripe\Forms\GridField\GridFieldDeleteAction::getExtraData() should return string|null but returns array. | |
185 Negated boolean expression is always false. | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------- | |
Line GridField/GridFieldDetailForm.php | |
------ --------------------------------------------- | |
126 Negated boolean expression is always false. | |
126 Result of && is always false. | |
------ --------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line GridField/GridFieldDetailForm_ItemRequest.php | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
204 Negated boolean expression is always false. | |
213 If condition is always true. | |
251 Class SilverStripe\Admin\LeftAndMain not found. | |
251 Left side of && is always true. | |
270 If condition is always true. | |
289 Left side of && is always true. | |
313 Left side of && is always true. | |
313 Right side of && is always true. | |
348 Left side of && is always true. | |
410 Left side of && is always true. | |
440 Left side of && is always true. | |
443 Method SilverStripe\Forms\GridField\GridFieldDetailForm_ItemRequest::getToplevelController() should return SilverStripe\Control\Controller but returns SilverStripe\Control\RequestHandler. | |
451 Class SilverStripe\Admin\LeftAndMain not found. | |
451 Left side of && is always true. | |
481 Method SilverStripe\Forms\GridField\GridFieldDetailForm_ItemRequest::getExtraSavedData() should return array but returns null. | |
658 Method SilverStripe\ORM\SS_List::add() invoked with 2 parameters, 1 required. | |
689 Class SilverStripe\Admin\LeftAndMain not found. | |
689 Left side of && is always true. | |
741 Method SilverStripe\Forms\GridField\GridFieldDetailForm_ItemRequest::getController() should return SilverStripe\Control\Controller but returns SilverStripe\Control\RequestHandler. | |
771 Method SilverStripe\Forms\GridField\GridFieldDetailForm_ItemRequest::Breadcrumbs() should return SilverStripe\ORM\ArrayList but returns null. | |
777 Left side of && is always true. | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line GridField/GridFieldEditButton.php | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------- | |
30 Property SilverStripe\Forms\GridField\GridFieldEditButton::$extraClass (array<string>) does not accept default value of type array<string, true>. | |
66 Parameter $record of method SilverStripe\Forms\GridField\GridFieldEditButton::getUrl() has invalid typehint type SilverStripe\Forms\GridField\DataObject. | |
178 Array (array<string>) does not accept true. | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------------------------------------------- | |
Line GridField/GridFieldExportButton.php | |
------ --------------------------------------------------------------------------------------------------------------------------------------------- | |
134 Method SilverStripe\Forms\GridField\GridFieldExportButton::handleExport() should return SilverStripe\Control\HTTPResponse but returns null. | |
152 If condition is always true. | |
------ --------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------ | |
Line GridField/GridFieldFilterHeader.php | |
------ ------------------------------------------------------------ | |
246 PHPDoc tag @param references unknown parameter: $gridfield | |
248 Negated boolean expression is always false. | |
251 If condition is always true. | |
265 PHPDoc tag @param references unknown parameter: $gridfield | |
324 If condition is always true. | |
343 If condition is always true. | |
367 If condition is always true. | |
380 PHPDoc tag @param references unknown parameter: $gridfield | |
406 PHPDoc tag @param references unknown parameter: $gridfield | |
------ ------------------------------------------------------------ | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line GridField/GridFieldGroupDeleteAction.php | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------- | |
41 Method SilverStripe\Forms\GridField\GridFieldGroupDeleteAction::getColumnContent() should return string but returns null. | |
51 PHPDoc tag @param has invalid value ($columnName): Unexpected token "$columnName", expected TOKEN_IDENTIFIER at offset 148 | |
87 PHPDoc tag @param has invalid value ($record - the record of the User to unlink with): Unexpected token "$record", expected TOKEN_IDENTIFIER at offset 18 | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------- | |
Line GridField/GridFieldImportButton.php | |
------ ------------------------------------- | |
58 Left side of && is always true. | |
------ ------------------------------------- | |
------ ----------------------------------- | |
Line GridField/GridFieldLazyLoader.php | |
------ ----------------------------------- | |
76 Left side of && is always true. | |
------ ----------------------------------- | |
------ --------------------------------------------- | |
Line GridField/GridFieldLevelup.php | |
------ --------------------------------------------- | |
65 Negated boolean expression is always false. | |
------ --------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------ | |
Line GridField/GridFieldPageCount.php | |
------ ------------------------------------------------------------------------------------------------------------------ | |
52 Negated boolean expression is always false. | |
52 Result of && is always false. | |
69 Left side of && is always true. | |
69 Right side of && is always true. | |
76 Method SilverStripe\Forms\GridField\GridFieldPageCount::getHTMLFragments() should return array but returns null. | |
------ ------------------------------------------------------------------------------------------------------------------ | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line GridField/GridFieldPaginator.php | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
120 Parameter #3 $arguments (string) of method SilverStripe\Forms\GridField\GridFieldPaginator::handleAction() should be compatible with parameter $arguments (array) of method | |
SilverStripe\Forms\GridField\GridField_ActionProvider::handleAction() | |
206 Method SilverStripe\Forms\GridField\GridFieldPaginator::getTemplateParameters() should return SilverStripe\View\ArrayData but returns null. | |
214 Method SilverStripe\Forms\GridField\GridFieldPaginator::getTemplateParameters() should return SilverStripe\View\ArrayData but returns null. | |
313 Negated boolean expression is always false. | |
314 Method SilverStripe\Forms\GridField\GridFieldPaginator::getHTMLFragments() should return array but returns null. | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------- | |
Line GridField/GridFieldPrintButton.php | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------- | |
60 PHPDoc tag @param has invalid value (GridField): Unexpected token "\n *", expected TOKEN_VARIABLE at offset 93 | |
85 PHPDoc tag @param has invalid value (GridField): Unexpected token "\n *", expected TOKEN_VARIABLE at offset 68 | |
112 PHPDoc tag @param has invalid value (GridField): Unexpected token "\n *", expected TOKEN_VARIABLE at offset 73 | |
142 Method SilverStripe\Forms\GridField\GridFieldPrintButton::handlePrint() should return SilverStripe\ORM\FieldType\DBHTMLText but returns null. | |
152 PHPDoc tag @param has invalid value (GridField): Unexpected token "\n *", expected TOKEN_VARIABLE at offset 69 | |
160 If condition is always true. | |
174 PHPDoc tag @param has invalid value (GridField): Unexpected token "\n *", expected TOKEN_VARIABLE at offset 78 | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------------- | |
Line GridField/GridFieldSortableHeader.php | |
------ ----------------------------------------------------------------------------------------------------------------------- | |
116 Method SilverStripe\Forms\GridField\GridFieldSortableHeader::getHTMLFragments() should return array but returns null. | |
193 Left side of && is always true. | |
------ ----------------------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------------- | |
Line GridField/GridFieldStateAware.php (in context of class SilverStripe\Forms\GridField\GridFieldDetailForm) | |
------ ---------------------------------------------------------------------------------------------------------- | |
38 Ternary operator condition is always true. | |
------ ---------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------------------------- | |
Line GridField/GridFieldStateAware.php (in context of class SilverStripe\Forms\GridField\GridFieldDetailForm_ItemRequest) | |
------ ---------------------------------------------------------------------------------------------------------------------- | |
38 Ternary operator condition is always true. | |
------ ---------------------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------------- | |
Line GridField/GridFieldStateAware.php (in context of class SilverStripe\Forms\GridField\GridFieldEditButton) | |
------ ---------------------------------------------------------------------------------------------------------- | |
38 Ternary operator condition is always true. | |
------ ---------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------- | |
Line GridField/GridFieldStateManager.php | |
------ ------------------------------------- | |
23 If condition is always true. | |
------ ------------------------------------- | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line GridField/GridFieldVersionedState.php | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Class SilverStripe\Forms\GridField\GridFieldVersionedState was not found while trying to analyse it - autoloading is probably not configured properly. | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line GridField/GridFieldViewButton.php | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------- | |
45 Parameter $record of method SilverStripe\Forms\GridField\GridFieldViewButton::getUrl() has invalid typehint type SilverStripe\Forms\GridField\DataObject. | |
65 Method SilverStripe\Forms\GridField\GridFieldViewButton::getColumnContent() should return string but returns null. | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------------------- | |
Line GridField/GridField_ActionMenu.php | |
------ --------------------------------------------------------------------------------------------------------------------- | |
31 Method SilverStripe\Forms\GridField\GridField_ActionMenu::getColumnContent() should return string but returns null. | |
------ --------------------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line GridField/GridField_ActionMenuLink.php | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
20 Parameter $record of method SilverStripe\Forms\GridField\GridField_ActionMenuLink::getUrl() has invalid typehint type SilverStripe\Forms\GridField\DataObject. | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------------------- | |
Line GridField/GridField_ActionProvider.php | |
------ --------------------------------------------------------------------------------------------------------------------- | |
31 PHPDoc tag @param has invalid value (GridField): Unexpected token "\n *", expected TOKEN_VARIABLE at offset 353 | |
------ --------------------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------------------------------------------- | |
Line GridField/GridState.php | |
------ ---------------------------------------------------------------------------------------------------------------------------------------- | |
75 Negated boolean expression is always false. | |
87 Method SilverStripe\Forms\GridField\GridState::getList() should return SilverStripe\ORM\DataList but returns SilverStripe\ORM\SS_List. | |
97 Negated boolean expression is always false. | |
------ ---------------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
Line HTMLEditor/HTMLEditorField.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
171 Method SilverStripe\Forms\HTMLEditor\HTMLEditorField::performReadonlyTransformation() should return SilverStripe\Forms\HTMLEditor\HTMLEditorField_Readonly but returns SilverStripe\Forms\FormField. | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line HTMLEditor/HTMLEditorSanitiser.php | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
37 PHPDoc tag @var has invalid value ([stdClass] - $element => $rule hash for whitelist element rules where the element name isn't a pattern): Unexpected token "[", expected TOKEN_IDENTIFIER at offset 9 | |
39 PHPDoc tag @var has invalid value ([stdClass] - Sequential list of whitelist element rules where the element name is a pattern): Unexpected token "[", expected TOKEN_IDENTIFIER at offset 9 | |
42 PHPDoc tag @var has invalid value ([stdClass] - The list of attributes that apply to all further whitelisted elements added): Unexpected token "[", expected TOKEN_IDENTIFIER at offset 9 | |
71 PHPDoc tag @param has invalid value ($str - The TinyMCE pattern): Unexpected token "$str", expected TOKEN_IDENTIFIER at offset 119 | |
199 Method SilverStripe\Forms\HTMLEditor\HTMLEditorSanitiser::getRuleForElement() should return stdClass but returns null. | |
219 Method SilverStripe\Forms\HTMLEditor\HTMLEditorSanitiser::getRuleForAttribute() should return stdClass but returns null. | |
252 Negated boolean expression is always false. | |
252 Result of && is always false. | |
320 Negated boolean expression is always false. | |
320 Result of && is always false. | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line HTMLEditor/TinyMCECombinedGenerator.php | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
193 Method SilverStripe\Forms\HTMLEditor\TinyMCECombinedGenerator::getFileContents() should return string but returns null. | |
275 Method SilverStripe\Forms\HTMLEditor\TinyMCECombinedGenerator::resolveRelativeResource() should return SilverStripe\Core\Manifest\ModuleResource|string but returns null. | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line HeaderField.php | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
78 Return type (null) of method SilverStripe\Forms\HeaderField::Type() should be compatible with return type (string) of method SilverStripe\Forms\DatalessField::Type() | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line HiddenField.php | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
19 Return type (string) of method SilverStripe\Forms\HiddenField::FieldHolder() should be compatible with return type (SilverStripe\ORM\FieldType\DBHTMLText) of method | |
SilverStripe\Forms\FormField::FieldHolder() | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line ListboxField.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
70 Return type (string) of method SilverStripe\Forms\ListboxField::Field() should be compatible with return type (SilverStripe\ORM\FieldType\DBHTMLText) of method SilverStripe\Forms\FormField::Field() | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line LiteralField.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
53 Return type (string) of method SilverStripe\Forms\LiteralField::FieldHolder() should be compatible with return type (SilverStripe\ORM\FieldType\DBHTMLText) of method | |
SilverStripe\Forms\DatalessField::FieldHolder() | |
73 Return type (string) of method SilverStripe\Forms\LiteralField::Field() should be compatible with return type (SilverStripe\ORM\FieldType\DBHTMLText) of method SilverStripe\Forms\FormField::Field() | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line LookupField.php | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
33 Return type (string) of method SilverStripe\Forms\LookupField::Field() should be compatible with return type (SilverStripe\ORM\FieldType\DBHTMLText) of method SilverStripe\Forms\FormField::Field() | |
92 Return type (SilverStripe\Forms\LookupField) of method SilverStripe\Forms\LookupField::performReadonlyTransformation() should be compatible with return type (SilverStripe\Forms\ReadonlyField) of method | |
SilverStripe\Forms\MultiSelectField::performReadonlyTransformation() | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
Line MoneyField.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
61 Parameter $title of method SilverStripe\Forms\MoneyField::__construct() has invalid typehint type SilverStripe\Forms\SilverStripe\View\ViewableData. | |
90 Ternary operator condition is always true. | |
216 PHPDoc tag @param for parameter $dataObject with type object is not subtype of native type SilverStripe\ORM\DataObjectInterface. | |
270 Call to function is_string() with array will always evaluate to false. | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------ | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line MultiSelectField.php | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
284 Method SilverStripe\Forms\MultiSelectField::performReadonlyTransformation() should return SilverStripe\Forms\ReadonlyField but returns SilverStripe\Forms\FormField. | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line NullableField.php | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
89 PHPDoc tag @param has invalid value ($isNulLabel string): Unexpected token "$isNulLabel", expected TOKEN_IDENTIFIER at offset 77 | |
111 Return type (string) of method SilverStripe\Forms\NullableField::Field() should be compatible with return type (SilverStripe\ORM\FieldType\DBHTMLText) of method SilverStripe\Forms\FormField::Field() | |
171 Call to sprintf contains 3 placeholders, 4 values given. | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------ | |
Line NumericField.php | |
------ ------------------------------------------------------------------------------------------------------ | |
49 Property SilverStripe\Forms\NumericField::$scale (string) does not accept default value of type int. | |
158 Method SilverStripe\Forms\NumericField::cast() should return float|int but returns null. | |
304 Method SilverStripe\Forms\NumericField::getScale() should return int|null but returns string. | |
316 Property SilverStripe\Forms\NumericField::$scale (string) does not accept int|null. | |
------ ------------------------------------------------------------------------------------------------------ | |
------ ----------------------------------------------------------------------------------------------------------------------------------- | |
Line PrintableTransformation_TabSet.php | |
------ ----------------------------------------------------------------------------------------------------------------------------------- | |
13 SilverStripe\Forms\PrintableTransformation_TabSet::__construct() does not call parent constructor from SilverStripe\Forms\TabSet. | |
15 Property SilverStripe\Forms\CompositeField::$children (SilverStripe\Forms\FieldList) does not accept array. | |
22 Ternary operator condition is always true. | |
------ ----------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------- | |
Line RequiredFields.php | |
------ ------------------------------------------------------------------------------------------- | |
64 Method SilverStripe\Forms\RequiredFields::debug() should return string but returns false. | |
123 Left side of && is always true. | |
------ ------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------------------------------ | |
Line SelectionGroup.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------ | |
112 Method SilverStripe\Forms\SelectionGroup::FieldList() should return SilverStripe\Forms\FieldList but returns SilverStripe\ORM\ArrayList. | |
------ ------------------------------------------------------------------------------------------------------------------------------------------ | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
Line SingleLookupField.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
116 Return type (string) of method SilverStripe\Forms\SingleLookupField::Field() should be compatible with return type (SilverStripe\ORM\FieldType\DBHTMLText) of method SilverStripe\Forms\FormField::Field() | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
------ --------------------------------------------------------------------------------------------- | |
Line SingleSelectField.php | |
------ --------------------------------------------------------------------------------------------- | |
111 Binary operation "+" between array('' => string) and array|ArrayAccess results in an error. | |
------ --------------------------------------------------------------------------------------------- | |
------ ------------------------------ | |
Line Tab.php | |
------ ------------------------------ | |
80 If condition is always true. | |
------ ------------------------------ | |
------ ------------------------------ | |
Line TabSet.php | |
------ ------------------------------ | |
107 If condition is always true. | |
------ ------------------------------ | |
------ -------------------------------------------------------------------- | |
Line TextField.php | |
------ -------------------------------------------------------------------- | |
144 Call to function is_null() with int will always evaluate to false. | |
------ -------------------------------------------------------------------- | |
------ -------------------------------------------------------------------------------------------------- | |
Line TimeField.php | |
------ -------------------------------------------------------------------------------------------------- | |
397 Method SilverStripe\Forms\TimeField::frontendToInternal() should return string but returns null. | |
405 Result of && is always false. | |
405 Strict comparison using === between int and false will always evaluate to false. | |
411 Strict comparison using === between array()|int and false will always evaluate to false. | |
412 Method SilverStripe\Forms\TimeField::frontendToInternal() should return string but returns null. | |
430 Method SilverStripe\Forms\TimeField::internalToFrontend() should return string but returns null. | |
435 Strict comparison using === between int and false will always evaluate to false. | |
436 Method SilverStripe\Forms\TimeField::internalToFrontend() should return string but returns null. | |
453 Method SilverStripe\Forms\TimeField::tidyInternal() should return string but returns null. | |
458 Strict comparison using === between int and false will always evaluate to false. | |
462 Method SilverStripe\Forms\TimeField::tidyInternal() should return string but returns null. | |
------ -------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line ToggleCompositeField.php | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
32 Parameter $title of method SilverStripe\Forms\ToggleCompositeField::__construct() has invalid typehint type SilverStripe\Forms\SilverStripe\View\ViewableData. | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------------- | |
Line TreeDropdownField.php | |
------ --------------------------------------------------------------------------------------------------------------- | |
467 Negated boolean expression is always false. | |
477 Negated boolean expression is always false. | |
491 Left side of || is always true. | |
506 Negated boolean expression is always false. | |
522 Negated boolean expression is always false. | |
577 Left side of && is always true. | |
593 PHPDoc tag @param has invalid value ($node): Unexpected token "$node", expected TOKEN_IDENTIFIER at offset 73 | |
596 Left side of && is always true. | |
744 Negated boolean expression is always false. | |
782 If condition is always true. | |
861 If condition is always true. | |
------ --------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------------------------------------- | |
Line TreeDropdownField_Readonly.php | |
------ --------------------------------------------------------------------------------------------------------------------------------------- | |
14 Ternary operator condition is always true. | |
23 Method SilverStripe\Forms\TreeDropdownField_Readonly::Field() should return SilverStripe\ORM\FieldType\DBHTMLText but returns string. | |
------ --------------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------ | |
Line TreeMultiselectField.php | |
------ ------------------------------------------------------------------------ | |
127 Call to function is_array() with string will always evaluate to false. | |
147 If condition is always true. | |
155 If condition is always true. | |
181 Left side of && is always true. | |
197 If condition is always true. | |
------ ------------------------------------------------------------------------ | |
------ ------------------------------------------------------------------------------------------------------------------------------------------ | |
Line TreeMultiselectField_Readonly.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------ | |
38 Method SilverStripe\Forms\TreeMultiselectField_Readonly::Field() should return SilverStripe\ORM\FieldType\DBHTMLText but returns string. | |
------ ------------------------------------------------------------------------------------------------------------------------------------------ | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line UploadReceiver.php (in context of class SilverStripe\Forms\FileField) | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------- | |
34 Property SilverStripe\Forms\FileField::$folderName (string) does not accept default value of type false. | |
103 PHPDoc tag @param has invalid value (string,... $categories Additional category names): Unexpected token ",", expected TOKEN_VARIABLE at offset 368 | |
163 Else branch is unreachable because ternary operator condition is always true. | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------ | |
Line Validator.php | |
------ ------------------------------ | |
107 If condition is always true. | |
------ ------------------------------ | |
``` | |
# RESULTS /src/i18n: | |
```txt | |
------ ------------------------------ | |
Line Data/Sources.php | |
------ ------------------------------ | |
85 If condition is always true. | |
------ ------------------------------ | |
------ ----------------------------------------------------------------------------------------------------------------------- | |
Line Messages/Symfony/ModuleYamlLoader.php | |
------ ----------------------------------------------------------------------------------------------------------------------- | |
120 Method SilverStripe\i18n\Messages\Symfony\ModuleYamlLoader::normaliseMessage() should return string but returns null. | |
------ ----------------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------- | |
Line Messages/YamlReader.php | |
------ --------------------------------------------- | |
22 Negated boolean expression is always false. | |
------ --------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------------- | |
Line Messages/YamlWriter.php | |
------ --------------------------------------------------------------------------------------------------------------- | |
31 Negated boolean expression is always false. | |
125 Method SilverStripe\i18n\Messages\YamlWriter::denormaliseValue() should return array|string but returns null. | |
------ --------------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------- | |
Line TextCollection/Parser.php | |
------ ---------------------------------------------------------------------------------------------------- | |
58 Property SilverStripe\i18n\TextCollection\Parser::$currentEntityKey (string) does not accept null. | |
------ ---------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------------- | |
Line TextCollection/i18nTextCollector.php | |
------ ------------------------------------------------------------------------------------------------------------------------- | |
101 PHPDoc tag @param has invalid value ($locale): Unexpected token "$locale", expected TOKEN_IDENTIFIER at offset 18 | |
215 Ternary operator condition is always true. | |
319 Method SilverStripe\i18n\TextCollection\i18nTextCollector::getBestModuleForKey() should return string but returns null. | |
334 If condition is always true. | |
341 Method SilverStripe\i18n\TextCollection\i18nTextCollector::findModuleForClass() should return string but returns null. | |
353 Ternary operator condition is always true. | |
361 Method SilverStripe\i18n\TextCollection\i18nTextCollector::findModuleForClass() should return string but returns null. | |
421 If condition is always true. | |
------ ------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------- | |
Line i18n.php | |
------ ------------------------------------------------------------------------------------------------- | |
267 Method SilverStripe\i18n\i18n::encode_plurals() should return string but returns null. | |
291 Method SilverStripe\i18n\i18n::get_closest_translation() should return string but returns null. | |
------ ------------------------------------------------------------------------------------------------- | |
``` | |
# RESULTS /src/includes: | |
```txt | |
------ --------------------------------------------- | |
Line constants.php | |
------ --------------------------------------------- | |
75 Ternary operator condition is always false. | |
143 Result of || is always true. | |
143 Result of || is always true. | |
143 Result of || is always true. | |
144 Negated boolean expression is always true. | |
175 Ternary operator condition is always false. | |
185 Ternary operator condition is always false. | |
------ --------------------------------------------- | |
------ ------------------------------------------------------------------- | |
Line functions.php | |
------ ------------------------------------------------------------------- | |
26 Variable $className in isset() always exists and is not nullable. | |
------ ------------------------------------------------------------------- | |
``` | |
# RESULTS /src/Logging: | |
```txt | |
------ ---------------------------------- | |
Line HTTPOutputHandler.php | |
------ ---------------------------------- | |
111 Right side of && is always true. | |
------ ---------------------------------- | |
``` | |
# RESULTS /src/ORM: | |
```txt | |
------ ---------------------------------------------------------------------------------------------------------------------------- | |
Line ArrayLib.php | |
------ ---------------------------------------------------------------------------------------------------------------------------- | |
72 PHPDoc tag @param has invalid value ($arr array): Unexpected token "$arr", expected TOKEN_IDENTIFIER at offset 92 | |
97 PHPDoc tag @param has invalid value ($arr array): Unexpected token "$arr", expected TOKEN_IDENTIFIER at offset 122 | |
97 PHPDoc tag @param has invalid value ($keys array): Unexpected token "$keys", expected TOKEN_IDENTIFIER at offset 147 | |
167 PHPDoc tag @param has invalid value ($array array): Unexpected token "$array", expected TOKEN_IDENTIFIER at offset 192 | |
167 PHPDoc tag @param has invalid value ($f callback to apply): Unexpected token "$f", expected TOKEN_IDENTIFIER at offset 157 | |
------ ---------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line ArrayList.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
67 Method SilverStripe\ORM\ArrayList::dataClass() should return string but returns null. | |
150 Method SilverStripe\ORM\ArrayList::debug() should return SilverStripe\View\ViewableData_Debugger but returns string. | |
187 Result of || is always false. | |
661 PHPDoc tag @param has invalid value (string|array See {@link filter()}): Unexpected token "See", expected TOKEN_VARIABLE at offset 792 | |
692 PHPDoc tag @param has invalid value ($column array|string The column name to filter OR an assosicative array of column => value): Unexpected token "$column", expected TOKEN_IDENTIFIER at offset 158 | |
692 PHPDoc tag @param has invalid value ($value array|string|null The values to filter the $column against): Unexpected token "$value", expected TOKEN_IDENTIFIER at offset 263 | |
836 Method SilverStripe\ORM\ArrayList::offsetGet() should return SilverStripe\ORM\DataObject but returns null. | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------- | |
Line Connect/DBQueryBuilder.php | |
------ --------------------------------------------------------------------------------------------------- | |
43 Method SilverStripe\ORM\Connect\DBQueryBuilder::buildSQL() should return string but returns null. | |
------ --------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------- | |
Line Connect/DBSchemaManager.php | |
------ ----------------------------------------------------------------------------------------------------------------- | |
63 PHPDoc tag @param has invalid value (string): Unexpected token "\n *", expected TOKEN_VARIABLE at offset 24 | |
170 Empty array passed to foreach. | |
197 Property SilverStripe\ORM\Connect\DBSchemaManager::$schemaUpdateTransaction (array) does not accept null. | |
207 Property SilverStripe\ORM\Connect\DBSchemaManager::$schemaUpdateTransaction (array) does not accept null. | |
------ ----------------------------------------------------------------------------------------------------------------- | |
------ -------------------------------------------------------------------------------------------------------------------------- | |
Line Connect/Database.php | |
------ -------------------------------------------------------------------------------------------------------------------------- | |
108 If condition is always true. | |
151 Method SilverStripe\ORM\Connect\Database::query() should return SilverStripe\ORM\Connect\Query but returns null. | |
177 Method SilverStripe\ORM\Connect\Database::preparedQuery() should return SilverStripe\ORM\Connect\Query but returns null. | |
------ -------------------------------------------------------------------------------------------------------------------------- | |
------ -------------------------------------------------------------------- | |
Line Connect/MySQLDatabase.php | |
------ -------------------------------------------------------------------- | |
176 Class SilverStripe\CMS\Model\SiteTree not found. | |
318 Negated boolean expression is always false. | |
376 Class SilverStripe\ORM\Connect\TransactionalDBConnector not found. | |
------ -------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------- | |
Line Connect/MySQLQuery.php | |
------ ------------------------------------------------------------------------------------------------- | |
33 Constructor of class SilverStripe\ORM\Connect\MySQLQuery has an unused parameter $database. | |
57 Method SilverStripe\ORM\Connect\MySQLQuery::seek() should return array but returns null. | |
65 Method SilverStripe\ORM\Connect\MySQLQuery::numRecords() should return int but returns null. | |
85 Method SilverStripe\ORM\Connect\MySQLQuery::nextRecord() should return array but returns false. | |
------ ------------------------------------------------------------------------------------------------- | |
------ -------------------------------- | |
Line Connect/MySQLSchemaManager.php | |
------ -------------------------------- | |
81 Cannot use [] for reading. | |
86 Cannot use [] for reading. | |
91 Cannot use [] for reading. | |
96 Cannot use [] for reading. | |
97 Cannot use [] for reading. | |
------ -------------------------------- | |
------ ----------------------------------------------------------------------------------------------------- | |
Line Connect/MySQLStatement.php | |
------ ----------------------------------------------------------------------------------------------------- | |
102 Property SilverStripe\ORM\Connect\Query::$currentRecord (array) does not accept false. | |
125 Method SilverStripe\ORM\Connect\MySQLStatement::nextRecord() should return array but returns false. | |
------ ----------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line Connect/MySQLiConnector.php | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
61 PHPDoc tag @param has invalid value (boolean &$success): Unexpected token "&", expected TOKEN_VARIABLE at offset 119 | |
140 Call to function is_resource() with mysqli will always evaluate to false. | |
142 Property SilverStripe\ORM\Connect\MySQLiConnector::$dbConn (mysqli) does not accept null. | |
196 PHPDoc tag @param has invalid value (array &$blobs Out parameter for list of blobs to bind separately): Unexpected token "&", expected TOKEN_VARIABLE at offset 174 | |
303 Method SilverStripe\ORM\Connect\MySQLiConnector::preparedQuery() should return SilverStripe\ORM\Connect\Query but returns null. | |
333 Property SilverStripe\ORM\Connect\MySQLiConnector::$databaseName (string) does not accept null. | |
338 Right side of && is always true. | |
354 Left side of && is always true. | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------------------------------------- | |
Line Connect/PDOConnector.php | |
------ ---------------------------------------------------------------------------------------------------------------------------------- | |
118 Strict comparison using === between PDOStatement and false will always evaluate to false. | |
236 Variable $isEmulatePrepares in isset() always exists and is not nullable. | |
253 Left side of && is always true. | |
330 Method SilverStripe\ORM\Connect\PDOConnector::exec() should return int but returns null. | |
418 Method SilverStripe\ORM\Connect\PDOConnector::preparedQuery() should return SilverStripe\ORM\Connect\Query but returns null. | |
449 Method SilverStripe\ORM\Connect\PDOConnector::prepareResults() should return SilverStripe\ORM\Connect\PDOQuery but returns null. | |
492 Method SilverStripe\ORM\Connect\PDOConnector::getLastError() should return string but returns null. | |
519 Property SilverStripe\ORM\Connect\PDOConnector::$databaseName (string) does not accept null. | |
524 Right side of && is always true. | |
------ ---------------------------------------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line Connect/PDOQuery.php | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
19 PHPDoc tag @param for parameter $statement with type SilverStripe\ORM\Connect\PDOStatement is not subtype of native type SilverStripe\ORM\Connect\PDOStatementHandle. | |
19 Parameter $statement of method SilverStripe\ORM\Connect\PDOQuery::__construct() has invalid typehint type SilverStripe\ORM\Connect\PDOStatement. | |
47 Method SilverStripe\ORM\Connect\PDOQuery::nextRecord() should return array but returns false. | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line Connect/PDOStatementHandle.php | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
37 PHPDoc tag @param has invalid value ($statement The statement to provide a handle to): Unexpected token "$statement", expected TOKEN_IDENTIFIER at offset 53 | |
141 PHPDoc tag @param has invalid value ($parameters An array of values with as many elements as there are bound parameters in the SQL statement | |
being executed): Unexpected token "$parameters", expected TOKEN_IDENTIFIER at offset 86 | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------- | |
Line Connect/Query.php | |
------ --------------------------------------------------------------------------------------- | |
129 Method SilverStripe\ORM\Connect\Query::value() should return string but returns null. | |
177 Property SilverStripe\ORM\Connect\Query::$currentRecord (array) does not accept null. | |
------ --------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------- | |
Line Connect/TempDatabase.php | |
------ ----------------------------------------------------------------------------------------------------- | |
311 Left side of && is always true. | |
323 Property SilverStripe\ORM\Connect\TempDatabase::$skippedException (Exception) does not accept null. | |
------ ----------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------------------------ | |
Line DB.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------ | |
54 Static property SilverStripe\ORM\DB::$connections (SilverStripe\ORM\Connect\Database) does not accept default value of type array. | |
89 Cannot access offset string on SilverStripe\ORM\Connect\Database. | |
89 Cannot assign offset string to SilverStripe\ORM\Connect\Database. | |
101 Cannot access offset string on SilverStripe\ORM\Connect\Database. | |
101 Cannot assign offset string to SilverStripe\ORM\Connect\Database. | |
111 Method SilverStripe\ORM\DB::get_conn() should return SilverStripe\ORM\Connect\Database but returns null. | |
134 If condition is always true. | |
137 Method SilverStripe\ORM\DB::get_schema() should return SilverStripe\ORM\Connect\DBSchemaManager but returns null. | |
152 If condition is always true. | |
156 Method SilverStripe\ORM\DB::build_sql() should return string but returns null. | |
170 If condition is always true. | |
173 Method SilverStripe\ORM\DB::get_connector() should return SilverStripe\ORM\Connect\DBConnector but returns null. | |
239 Method SilverStripe\ORM\DB::get_alternative_database_name() should return string|false but returns null. | |
245 Method SilverStripe\ORM\DB::get_alternative_database_name() should return string|false but returns null. | |
426 Else branch is unreachable because ternary operator condition is always true. | |
492 Static property SilverStripe\ORM\DB::$lastQuery (string) does not accept array. | |
514 Left side of && is always true. | |
------ ------------------------------------------------------------------------------------------------------------------------------------ | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
Line DataList.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
315 PHPDoc tag @param has invalid value (String|array Escaped SQL statement. If passed as array, all keys and values are assumed to be escaped.): Unexpected token "Escaped", expected TOKEN_VARIABLE at | |
offset 462 | |
386 PHPDoc tag @param has invalid value (string|array Escaped SQL statement. If passed as array, all keys and values will be escaped internally): Unexpected token "Escaped", expected TOKEN_VARIABLE at | |
offset 1056 | |
448 PHPDoc tag @param has invalid value (string|array See {@link filter()}): Unexpected token "See", expected TOKEN_VARIABLE at offset 1195 | |
520 PHPDoc tag @param has invalid value (string &$columnName Quoted column name): Unexpected token "&", expected TOKEN_VARIABLE at offset 586 | |
534 Method SilverStripe\ORM\DataList::applyRelation() should return $this(SilverStripe\ORM\DataList) but returns static(SilverStripe\ORM\DataList). | |
616 PHPDoc tag @param has invalid value (string [optional]): Unexpected token "[", expected TOKEN_VARIABLE at offset 807 | |
616 PHPDoc tag @param has invalid value (string|array): Unexpected token "\n *", expected TOKEN_VARIABLE at offset 785 | |
629 Method SilverStripe\ORM\DataList::exclude() should return $this(SilverStripe\ORM\DataList) but returns static(SilverStripe\ORM\DataList). | |
654 PHPDoc tag @param has invalid value (string [optional]): Unexpected token "[", expected TOKEN_VARIABLE at offset 722 | |
654 PHPDoc tag @param has invalid value (string|array): Unexpected token "\n *", expected TOKEN_VARIABLE at offset 700 | |
667 Method SilverStripe\ORM\DataList::excludeAny() should return $this(SilverStripe\ORM\DataList) but returns static(SilverStripe\ORM\DataList). | |
789 PHPDoc tag @return contains unresolvable type. | |
805 Method SilverStripe\ORM\DataList::debug() should return SilverStripe\View\ViewableData_Debugger but returns string. | |
936 Method SilverStripe\ORM\DataList::first() should return SilverStripe\ORM\DataObject but returns null. | |
949 Method SilverStripe\ORM\DataList::last() should return SilverStripe\ORM\DataObject but returns null. | |
1153 Method SilverStripe\ORM\DataList::shuffle() should return $this(SilverStripe\ORM\DataList) but returns static(SilverStripe\ORM\DataList). | |
1216 If condition is always true. | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line DataObject.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
343 Instanceof between array and stdClass will always evaluate to false. | |
350 Else branch is unreachable because previous condition is always true. | |
428 Call to function is_string() with array|false|null will always evaluate to false. | |
428 Result of || is always false. | |
428 Strict comparison using === between array|false|null and true will always evaluate to false. | |
429 Strict comparison using === between *NEVER* and true will always evaluate to false. | |
641 Method SilverStripe\ORM\DataObject::getObsoleteClassName() should return string but returns null. | |
780 Negated boolean expression is always false. | |
1100 Left side of && is always true. | |
1111 Left side of && is always true. | |
1321 Method SilverStripe\ORM\DataObject::validateWrite() should return SilverStripe\ORM\ValidationException but returns null. | |
1332 If condition is always true. | |
1341 If condition is always true. | |
1402 Negated boolean expression is always false. | |
1488 Left side of && is always true. | |
1628 If condition is always true. | |
1687 If condition is always true. | |
1730 If condition is always true. | |
1774 Method SilverStripe\ORM\DataObject::getComponent() should return SilverStripe\ORM\DataObject but returns null. | |
1959 Method SilverStripe\ORM\DataObject::getRelationClass() should return string but returns null. | |
1978 Method SilverStripe\ORM\DataObject::getRelationType() should return string but returns null. | |
2018 Method SilverStripe\ORM\DataObject::inferReciprocalComponent() should return SilverStripe\ORM\DataList|SilverStripe\ORM\DataObject but returns null. | |
2052 Method SilverStripe\ORM\DataObject::inferReciprocalComponent() should return SilverStripe\ORM\DataList|SilverStripe\ORM\DataObject but returns null. | |
2056 Method SilverStripe\ORM\DataObject::inferReciprocalComponent() should return SilverStripe\ORM\DataList|SilverStripe\ORM\DataObject but returns null. | |
2091 Method SilverStripe\ORM\DataObject::inferReciprocalComponent() should return SilverStripe\ORM\DataList|SilverStripe\ORM\DataObject but returns null. | |
2748 Left side of && is always true. | |
2798 If condition is always true. | |
2995 Return type (string) of method SilverStripe\ORM\DataObject::debug() should be compatible with return type (SilverStripe\View\ViewableData_Debugger) of method SilverStripe\View\ViewableData::Debug() | |
3024 Method SilverStripe\ORM\DataObject::dbObject() should return SilverStripe\ORM\FieldType\DBField but returns null. | |
3083 Ternary operator condition is always true. | |
3084 Right side of && is always true. | |
3152 Method SilverStripe\ORM\DataObject::getReverseAssociation() should return string but returns false. | |
3404 PHPDoc tag @param has invalid value (array): Unexpected token "\n ", expected TOKEN_VARIABLE at offset 54 | |
3429 Method SilverStripe\ORM\DataObject::getSourceQueryParam() should return string but returns null. | |
3455 Strict comparison using === between 'SilverStripe\\View…' and 'SilverStripe\\ORM…' will always evaluate to false. | |
4077 Right side of && is always true. | |
4233 If condition is always true. | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------ | |
Line DataObjectSchema.php | |
------ ------------------------------------------------------------------------------------------------------------------ | |
133 Method SilverStripe\ORM\DataObjectSchema::tableName() should return string but returns null. | |
537 PHPDoc tag @param has invalid value ($class): Unexpected token "$class", expected TOKEN_IDENTIFIER at offset 106 | |
688 Method SilverStripe\ORM\DataObjectSchema::tableForField() should return string but returns null. | |
706 Method SilverStripe\ORM\DataObjectSchema::classForField() should return string but returns null. | |
723 Method SilverStripe\ORM\DataObjectSchema::classForField() should return string but returns null. | |
------ ------------------------------------------------------------------------------------------------------------------ | |
------ ------------------------------------------------------------------------------------------------------------------ | |
Line DataQuery.php | |
------ ------------------------------------------------------------------------------------------------------------------ | |
790 Method SilverStripe\ORM\DataQuery::applyRelationPrefix() should return string but returns null. | |
1221 Method SilverStripe\ORM\DataQuery::expressionForField() should return string but returns null. | |
1267 Method SilverStripe\ORM\DataQuery::getQueryParam() should return string but returns null. | |
1323 PHPDoc tag @param has invalid value ($class): Unexpected token "$class", expected TOKEN_IDENTIFIER at offset 122 | |
1323 PHPDoc tag @param has invalid value ($table): Unexpected token "$table", expected TOKEN_IDENTIFIER at offset 143 | |
------ ------------------------------------------------------------------------------------------------------------------ | |
------ --------------------------------------------------------------------------------------------------- | |
Line DataQuery_SubGroup.php | |
------ --------------------------------------------------------------------------------------------------- | |
59 Method SilverStripe\ORM\DataQuery_SubGroup::conditionSQL() should return string but returns null. | |
------ --------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------ | |
Line DatabaseAdmin.php | |
------ ------------------------------------------------------------------------------------------------ | |
213 Method SilverStripe\ORM\DatabaseAdmin::lastBuilt() should return string but returns int|false. | |
215 Method SilverStripe\ORM\DatabaseAdmin::lastBuilt() should return string but returns null. | |
325 Caught class SilverStripe\ORM\Exception not found. | |
------ ------------------------------------------------------------------------------------------------ | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line FieldType/DBCurrency.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
79 Return type (SilverStripe\Forms\CurrencyField) of method SilverStripe\ORM\FieldType\DBCurrency::scaffoldFormField() should be compatible with return type (SilverStripe\Forms\NumericField) of method | |
SilverStripe\ORM\FieldType\DBDecimal::scaffoldFormField() | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------- | |
Line FieldType/DBDate.php | |
------ ----------------------------------------------------------------------------------------------------- | |
76 Call to function is_null() with string will always evaluate to false. | |
81 Strict comparison using === between array|float|int|string and false will always evaluate to false. | |
98 Method SilverStripe\ORM\FieldType\DBDate::Nice() should return string but returns null. | |
168 Method SilverStripe\ORM\FieldType\DBDate::Short() should return string but returns null. | |
182 Method SilverStripe\ORM\FieldType\DBDate::Long() should return string but returns null. | |
196 Method SilverStripe\ORM\FieldType\DBDate::Full() should return string but returns null. | |
268 PHPDoc tag @param references unknown parameter: $locale | |
274 Method SilverStripe\ORM\FieldType\DBDate::Format() should return string but returns null. | |
355 Method SilverStripe\ORM\FieldType\DBDate::Rfc822() should return string but returns null. | |
390 Method SilverStripe\ORM\FieldType\DBDate::Ago() should return string but returns null. | |
419 Method SilverStripe\ORM\FieldType\DBDate::TimeDiff() should return string but returns false. | |
452 Method SilverStripe\ORM\FieldType\DBDate::TimeDiffIn() should return string but returns null. | |
594 Method SilverStripe\ORM\FieldType\DBDate::fixInputDate() should return string but returns null. | |
------ ----------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------- | |
Line FieldType/DBDatetime.php | |
------ ----------------------------------------------------------------------------------------------------------------- | |
196 Strict comparison using === between SilverStripe\ORM\FieldType\DBField and false will always evaluate to false. | |
------ ----------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------ | |
Line FieldType/DBDecimal.php | |
------ ------------------------------------------------------------------------------------------------------------------ | |
33 Property SilverStripe\ORM\FieldType\DBDecimal::$defaultValue (string) does not accept default value of type int. | |
45 Else branch is unreachable because ternary operator condition is always true. | |
46 Else branch is unreachable because ternary operator condition is always true. | |
58 Method SilverStripe\ORM\FieldType\DBDecimal::Nice() should return float but returns string. | |
66 Method SilverStripe\ORM\FieldType\DBDecimal::Int() should return int but returns float. | |
------ ------------------------------------------------------------------------------------------------------------------ | |
------ ------------------------------------------------------------------------------------------------------------------- | |
Line FieldType/DBEnum.php | |
------ ------------------------------------------------------------------------------------------------------------------- | |
161 PHPDoc tag @param has invalid value (string): Unexpected token "\n *", expected TOKEN_VARIABLE at offset 24 | |
175 PHPDoc tag @param has invalid value (boolean): Unexpected token "\n *", expected TOKEN_VARIABLE at offset 143 | |
------ ------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------------------------------- | |
Line FieldType/DBField.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------- | |
128 PHPDoc tag @var has invalid value ($default mixed Default-value in the database. | |
Might be overridden on DataObject-level, but still useful for setting defaults on | |
already existing records after a db-build.): Unexpected token "$default", expected TOKEN_IDENTIFIER at offset 16 | |
164 PHPDoc tag @param for parameter $args with type mixed is not subtype of native type array<int, mixed>. | |
341 PHPDoc tag @param has invalid value ($value mixed The value to check): Unexpected token "$value", expected TOKEN_IDENTIFIER at offset 229 | |
601 Method SilverStripe\ORM\FieldType\DBField::debug() should return SilverStripe\View\ViewableData_Debugger but returns string. | |
652 Method SilverStripe\ORM\FieldType\DBField::getIndexSpecs() should return array but returns null. | |
------ ------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------------------------------------- | |
Line FieldType/DBForeignKey.php | |
------ ---------------------------------------------------------------------------------------------------------------------------------- | |
62 Method SilverStripe\ORM\FieldType\DBForeignKey::scaffoldFormField() should return SilverStripe\Forms\FormField but returns null. | |
67 Method SilverStripe\ORM\FieldType\DBForeignKey::scaffoldFormField() should return SilverStripe\Forms\FormField but returns null. | |
------ ---------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------- | |
Line FieldType/DBHTMLText.php | |
------ ------------------------------------------------------------------------------------------------------------- | |
244 Method SilverStripe\ORM\FieldType\DBHTMLText::getSchemaValue() should return array|string but returns null. | |
------ ------------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------------------- | |
Line FieldType/DBHTMLVarchar.php | |
------ ---------------------------------------------------------------------------------------------------------------- | |
142 Method SilverStripe\ORM\FieldType\DBHTMLVarchar::getSchemaValue() should return array|string but returns null. | |
------ ---------------------------------------------------------------------------------------------------------------- | |
------ -------------------------------------------------------------------------------------------------------------- | |
Line FieldType/DBIndexable.php | |
------ -------------------------------------------------------------------------------------------------------------- | |
35 PHPDoc tag @param references unknown parameter: $indexType | |
35 PHPDoc tag @throws with type SilverStripe\ORM\FieldType\InvalidArgumentException is not subtype of Throwable | |
------ -------------------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------- | |
Line FieldType/DBLocale.php | |
------ ----------------------------------------------- | |
68 Anonymous function has an unused use $locale. | |
------ ----------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------------- | |
Line FieldType/DBMoney.php | |
------ --------------------------------------------------------------------------------------------------------------- | |
24 PHPDoc tag @param has invalid value (array): Unexpected token "\n ", expected TOKEN_VARIABLE at offset 23 | |
52 Method SilverStripe\ORM\FieldType\DBMoney::Nice() should return string but returns null. | |
75 Method SilverStripe\ORM\FieldType\DBMoney::getValue() should return string but returns null. | |
80 Method SilverStripe\ORM\FieldType\DBMoney::getValue() should return string but returns float. | |
------ --------------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line FieldType/DBMultiEnum.php | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
65 Return type (SilverStripe\Forms\CheckboxSetField) of method SilverStripe\ORM\FieldType\DBMultiEnum::formField() should be compatible with return type (SilverStripe\Forms\DropdownField) of method | |
SilverStripe\ORM\FieldType\DBEnum::formField() | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------------------------------------------- | |
Line FieldType/DBPolymorphicForeignKey.php | |
------ --------------------------------------------------------------------------------------------------------------------------------------------- | |
24 Method SilverStripe\ORM\FieldType\DBPolymorphicForeignKey::scaffoldFormField() should return SilverStripe\Forms\FormField but returns null. | |
------ --------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------------------------------------- | |
Line FieldType/DBPrimaryKey.php | |
------ ---------------------------------------------------------------------------------------------------------------------------------- | |
56 Method SilverStripe\ORM\FieldType\DBPrimaryKey::scaffoldFormField() should return SilverStripe\Forms\FormField but returns null. | |
------ ---------------------------------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line FieldType/DBString.php | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
66 PHPDoc tag @param has invalid value ($value boolean True if empty strings are to be converted to null): Unexpected token "$value", expected TOKEN_IDENTIFIER at offset 120 | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------- | |
Line FieldType/DBTime.php | |
------ ------------------------------------------------------------------------------------------- | |
93 Method SilverStripe\ORM\FieldType\DBTime::Short() should return string but returns null. | |
108 Method SilverStripe\ORM\FieldType\DBTime::Nice() should return string but returns null. | |
123 Method SilverStripe\ORM\FieldType\DBTime::Format() should return string but returns null. | |
------ ------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------- | |
Line FieldType/DBVarchar.php | |
------ ----------------------------------------------------------------------------------------------- | |
97 Method SilverStripe\ORM\FieldType\DBVarchar::Initial() should return string but returns null. | |
------ ----------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------------------------------- | |
Line Filterable.php | |
------ ----------------------------------------------------------------------------------------------------------------------------------------- | |
59 PHPDoc tag @param has invalid value (string|array See {@link filter()}): Unexpected token "See", expected TOKEN_VARIABLE at offset 1116 | |
------ ----------------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------ | |
Line Filters/ExactMatchFilter.php | |
------ ------------------------------------------------------------------------------------------ | |
59 Strict comparison using === between array|string and null will always evaluate to false. | |
------ ------------------------------------------------------------------------------------------ | |
------ ---------------------------------------------------------------------------------------------------------------- | |
Line Filters/SearchFilter.php | |
------ ---------------------------------------------------------------------------------------------------------------- | |
229 PHPDoc tag @param has invalid value (String): Unexpected token "\n ", expected TOKEN_VARIABLE at offset 24 | |
248 PHPDoc tag @param has invalid value (String): Unexpected token "\n ", expected TOKEN_VARIABLE at offset 24 | |
323 Method SilverStripe\ORM\Filters\SearchFilter::getDbFormattedValue() should return string but returns int. | |
------ ---------------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------- | |
Line HasManyList.php | |
------ ---------------------------------------------------------------------------------------------- | |
62 Method SilverStripe\ORM\HasManyList::foreignIDFilter() should return array but returns null. | |
------ ---------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------------------------- | |
Line Hierarchy/Hierarchy.php | |
------ ---------------------------------------------------------------------------------------------------------------------- | |
136 Left side of && is always true. | |
239 If condition is always true. | |
351 PHPDoc tag @param references unknown parameter: $class | |
351 PHPDoc tag @param references unknown parameter: $stage | |
404 Class SilverStripe\Admin\LeftAndMain not found. | |
408 Class SilverStripe\Admin\LeftAndMain not found. | |
502 Method SilverStripe\ORM\Hierarchy\Hierarchy::getParent() should return SilverStripe\ORM\DataObject but returns null. | |
------ ---------------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line Hierarchy/MarkedSet.php | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
560 Negated boolean expression is always false. | |
637 PHPDoc tag @param for parameter $childObj with type SilverStripe\ORM\DataObject|SilverStripe\ORM\Hierarchy\Hierarchy is not subtype of native type SilverStripe\ORM\DataObject. | |
639 Negated boolean expression is always false. | |
783 PHPDoc tag @param for parameter $node with type SilverStripe\ORM\DataObject|SilverStripe\ORM\Hierarchy\Hierarchy is not subtype of native type SilverStripe\ORM\DataObject. | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------------------------------- | |
Line ListDecorator.php | |
------ ----------------------------------------------------------------------------------------------------------------------------------------- | |
97 Method SilverStripe\ORM\ListDecorator::getIterator() should return ArrayIterator but returns Traversable. | |
152 Method SilverStripe\ORM\ListDecorator::each() should return $this(SilverStripe\ORM\ListDecorator) but returns SilverStripe\ORM\SS_List. | |
219 PHPDoc tag @param has invalid value (string|array See {@link filter()}): Unexpected token "See", expected TOKEN_VARIABLE at offset 1116 | |
------ ----------------------------------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line ManyManyList.php | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
186 Method SilverStripe\ORM\ManyManyList::foreignIDFilter() should return array but returns null. | |
378 Return type (void) of method SilverStripe\ORM\ManyManyList::removeAll() should be compatible with return type ($this(SilverStripe\ORM\DataList)) of method SilverStripe\ORM\DataList::removeAll() | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------- | |
Line ManyManyThroughList.php | |
------ ------------------------------------------------------------------------------------------------- | |
34 Constructor of class SilverStripe\ORM\ManyManyThroughList has an unused parameter $extraFields. | |
------ ------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------- | |
Line Map_Iterator.php | |
------ ----------------------------------------------------- | |
68 Result of method Iterator::rewind() (void) is used. | |
73 If condition is always false. | |
------ ----------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
Line PaginatedList.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
36 PHPDoc tag @param has invalid value (array|ArrayAccess Either a map of request parameters or | |
request object that the pagination offset is read from.): Unexpected token "Either", expected TOKEN_VARIABLE at offset 241 | |
214 Return type (IteratorIterator) of method SilverStripe\ORM\PaginatedList::getIterator() should be compatible with return type (ArrayIterator) of method SilverStripe\ORM\ListDecorator::getIterator() | |
516 PHPDoc tag @param has invalid value (HTTPRequest|ArrayAccess): Unexpected token "\n ", expected TOKEN_VARIABLE at offset 92 | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line Queries/SQLConditionalExpression.php | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------- | |
339 PHPDoc tag @param has invalid value ($from array - in the format of $this->from): Unexpected token "$from", expected TOKEN_IDENTIFIER at offset 362 | |
380 PHPDoc tag @param has invalid value (array &$array The array to sort): Unexpected token "&", expected TOKEN_VARIABLE at offset 254 | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------- | |
Line Queries/SQLExpression.php | |
------ --------------------------------------------------------------------------------------------- | |
97 Method SilverStripe\ORM\Queries\SQLExpression::sql() should return string but returns null. | |
------ --------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------- | |
Line Queries/SQLSelect.php | |
------ ------------------------------------------------------------------------------------- | |
354 Else branch is unreachable because previous condition is always true. | |
583 Property SilverStripe\ORM\Queries\SQLSelect::$limit (array) does not accept null. | |
584 Property SilverStripe\ORM\Queries\SQLSelect::$orderby (array) does not accept null. | |
644 Property SilverStripe\ORM\Queries\SQLSelect::$limit (array) does not accept null. | |
645 Property SilverStripe\ORM\Queries\SQLSelect::$orderby (array) does not accept null. | |
646 Property SilverStripe\ORM\Queries\SQLSelect::$groupby (array) does not accept null. | |
------ ------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------- | |
Line Search/FulltextSearchable.php | |
------ ----------------------------------------------------------------------------------------------------------------- | |
56 Class SilverStripe\CMS\Model\SiteTree not found. | |
59 Class SilverStripe\CMS\Model\SiteTree not found. | |
93 Property SilverStripe\ORM\Search\FulltextSearchable::$searchFields (string) does not accept array. | |
95 Property SilverStripe\ORM\Search\FulltextSearchable::$searchFields (string) does not accept array<int, string>. | |
------ ----------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------------------------------- | |
Line Search/SearchContext.php | |
------ --------------------------------------------------------------------------------------------------------------------------------- | |
109 Ternary operator condition is always true. | |
178 If condition is always true. | |
236 Method SilverStripe\ORM\Search\SearchContext::getFilter() should return SilverStripe\ORM\Filters\SearchFilter but returns null. | |
360 Negated boolean expression is always false. | |
365 Negated boolean expression is always false. | |
------ --------------------------------------------------------------------------------------------------------------------------------- | |
------ -------------------------------------------------------------------------------- | |
Line UnsavedRelationList.php | |
------ -------------------------------------------------------------------------------- | |
85 Method SilverStripe\ORM\DataList::add() invoked with 2 parameters, 1 required. | |
98 Call to function is_numeric() with array will always evaluate to false. | |
329 Call to function is_numeric() with array|object will always evaluate to false. | |
------ -------------------------------------------------------------------------------- | |
------ ------------------------------- | |
Line ValidationException.php | |
------ ------------------------------- | |
35 Result of && is always false. | |
------ ------------------------------- | |
``` | |
# RESULTS /src/Security: | |
```txt | |
------ -------------------------------------------------------------------------------------------------------------------------- | |
Line CMSSecurity.php | |
------ -------------------------------------------------------------------------------------------------------------------------- | |
42 If condition is always true. | |
82 Method SilverStripe\Security\CMSSecurity::getTargetMember() should return SilverStripe\Security\Member but returns null. | |
151 Negated boolean expression is always false. | |
181 Class SilverStripe\Admin\AdminRootController not found. | |
------ -------------------------------------------------------------------------------------------------------------------------- | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line Confirmation/Form.php | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
70 Return typehint of method SilverStripe\Security\Confirmation\Form::doRefuse() has invalid type SilverStripe\Security\Confirmation\HTTPResponse. | |
74 Method SilverStripe\Security\Confirmation\Form::doRefuse() should return SilverStripe\Security\Confirmation\HTTPResponse but returns SilverStripe\Control\HTTPResponse. | |
86 Return typehint of method SilverStripe\Security\Confirmation\Form::doConfirm() has invalid type SilverStripe\Security\Confirmation\HTTPResponse. | |
97 Method SilverStripe\Security\Confirmation\Form::doConfirm() should return SilverStripe\Security\Confirmation\HTTPResponse but returns SilverStripe\Control\HTTPResponse. | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------- | |
Line DefaultAdminService.php | |
------ ------------------------------------------------------------------------------------------------------------- | |
116 Static property SilverStripe\Security\DefaultAdminService::$default_username (string) does not accept null. | |
117 Static property SilverStripe\Security\DefaultAdminService::$default_password (string) does not accept null. | |
165 If condition is always true. | |
------ ------------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------- | |
Line Group.php | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------- | |
54 PHPDoc tag @property has invalid value (string HtmlEditorConfig): Unexpected token "HtmlEditorConfig", expected TOKEN_VARIABLE at offset 300 | |
219 Class SilverStripe\Admin\SecurityAdmin not found. | |
437 Right side of && is always true. | |
439 Right side of && is always true. | |
481 PHPDoc tag @param has invalid value (string): Unexpected token "\n ", expected TOKEN_VARIABLE at offset 87 | |
629 Call to an undefined static method SilverStripe\ORM\DataObject::AllChildrenIncludingDeleted(). | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------------------- | |
Line InheritedPermissionFlusher.php | |
------ ------------------------------------------------------------------------------------------------------------------------------- | |
48 PHPDoc tag @param has invalid value (MemberCacheFlusher[]): Unexpected token "\n *", expected TOKEN_VARIABLE at offset 38 | |
92 Negated boolean expression is always false. | |
------ ------------------------------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line InheritedPermissions.php | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
109 Method SilverStripe\Security\InheritedPermissions::__construct() with return type void returns $this(SilverStripe\Security\InheritedPermissions) but should not return anything. | |
118 Right side of && is always true. | |
134 Negated boolean expression is always false. | |
733 If condition is always true. | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------ | |
Line LoginForm.php | |
------ ------------------------------ | |
50 If condition is always true. | |
------ ------------------------------ | |
------ ------------------------------------------------------------------------------------------- | |
Line LogoutForm.php | |
------ ------------------------------------------------------------------------------------------- | |
24 Constructor of class SilverStripe\Security\LogoutForm has an unused parameter $validator. | |
------ ------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------- | |
Line Member.php | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------- | |
439 Method SilverStripe\Security\Member::password_validator() should return SilverStripe\Security\PasswordValidator but returns null. | |
481 Property SilverStripe\Security\Member::$LockedOutUntil (string) does not accept null. | |
576 Method SilverStripe\Security\Member::encryptWithUserSettings() should return string but returns null. | |
661 Right side of && is always true. | |
685 Method SilverStripe\Security\Member::member_from_tempid() should return SilverStripe\Security\Member but returns SilverStripe\ORM\DataObject. | |
1051 If condition is always true. | |
1100 If condition is always true. | |
1167 Method SilverStripe\Security\Member::getTitle() should return string but returns null. | |
1379 Class SilverStripe\Admin\LeftAndMain not found. | |
1386 Class SilverStripe\CMS\Controllers\CMSMain not found. | |
1705 Right side of && is always true. | |
1733 Property SilverStripe\Security\Member::$AutoLoginHash (string) does not accept null. | |
1775 Property SilverStripe\Security\Member::$PasswordExpiry (string) does not accept null. | |
1811 Property SilverStripe\Security\Member::$LockedOutUntil (string) does not accept null. | |
1832 Left side of && is always true. | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------ | |
Line MemberAuthenticator/CMSMemberAuthenticator.php | |
------ ------------------------------------------------ | |
33 If condition is always true. | |
------ ------------------------------------------------ | |
------ ---------------------------------------------------------------------------------------------------------------------------------------- | |
Line MemberAuthenticator/ChangePasswordHandler.php | |
------ ---------------------------------------------------------------------------------------------------------------------------------------- | |
78 Right side of && is always true. | |
118 Right side of && is always true. | |
203 PHPDoc tag @throws with type Psr\Container\NotFoundExceptionInterface|SilverStripe\ORM\ValidationException is not subtype of Throwable | |
272 Property SilverStripe\Security\Member::$LockedOutUntil (string) does not accept null. | |
273 Property SilverStripe\Security\Member::$FailedLoginCount (int) does not accept null. | |
275 Property SilverStripe\Security\Member::$AutoLoginHash (string) does not accept null. | |
------ ---------------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
Line MemberAuthenticator/CookieAuthenticationHandler.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
91 Method SilverStripe\Security\MemberAuthenticator\CookieAuthenticationHandler::getTokenCookieSecure() should return string but returns bool. | |
102 Property SilverStripe\Security\MemberAuthenticator\CookieAuthenticationHandler::$tokenCookieSecure (bool) does not accept string. | |
138 Method SilverStripe\Security\MemberAuthenticator\CookieAuthenticationHandler::authenticateRequest() should return SilverStripe\Security\Member but returns null. | |
144 Method SilverStripe\Security\MemberAuthenticator\CookieAuthenticationHandler::authenticateRequest() should return SilverStripe\Security\Member but returns null. | |
150 Negated boolean expression is always false. | |
151 Method SilverStripe\Security\MemberAuthenticator\CookieAuthenticationHandler::authenticateRequest() should return SilverStripe\Security\Member but returns null. | |
163 Negated boolean expression is always false. | |
164 Method SilverStripe\Security\MemberAuthenticator\CookieAuthenticationHandler::authenticateRequest() should return SilverStripe\Security\Member but returns null. | |
172 Method SilverStripe\Security\MemberAuthenticator\CookieAuthenticationHandler::authenticateRequest() should return SilverStripe\Security\Member but returns null. | |
175 If condition is always true. | |
255 If condition is always true. | |
270 Static method SilverStripe\Control\Cookie::force_expiry() invoked with 6 parameters, 1-5 required. | |
271 Static method SilverStripe\Control\Cookie::force_expiry() invoked with 6 parameters, 1-5 required. | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
------ ------------------------------------------------------------------------------------------------------------------------------------------ | |
Line MemberAuthenticator/LoginHandler.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------ | |
120 If condition is always true. | |
230 Method SilverStripe\Security\MemberAuthenticator\LoginHandler::checkLogin() should return SilverStripe\Security\Member but returns null. | |
------ ------------------------------------------------------------------------------------------------------------------------------------------ | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
Line MemberAuthenticator/LostPasswordHandler.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
222 Method SilverStripe\Security\MemberAuthenticator\LostPasswordHandler::getMemberFromData() should return SilverStripe\Security\Member|null but returns SilverStripe\ORM\DataObject. | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line MemberAuthenticator/MemberAuthenticator.php | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------- | |
41 If condition is always true. | |
114 Method SilverStripe\Security\MemberAuthenticator\MemberAuthenticator::authenticateMember() should return SilverStripe\Security\Member but returns null. | |
183 Part $email (array) of encapsed string cannot be cast to string. | |
187 Right side of && is always true. | |
197 If condition is always true. | |
------ --------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line MemberAuthenticator/SessionAuthenticationHandler.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
52 Method SilverStripe\Security\MemberAuthenticator\SessionAuthenticationHandler::authenticateRequest() should return SilverStripe\Security\Member but returns null. | |
59 Method SilverStripe\Security\MemberAuthenticator\SessionAuthenticationHandler::authenticateRequest() should return SilverStripe\Security\Member but returns null. | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------- | |
Line MemberCsvBulkLoader.php | |
------ --------------------------------------------- | |
60 Negated boolean expression is always false. | |
------ --------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------- | |
Line Member_GroupSet.php | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------- | |
143 Method SilverStripe\Security\Member_GroupSet::getMember() should return SilverStripe\Security\Member but returns SilverStripe\ORM\DataObject. | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------- | |
Line Member_Validator.php | |
------ ---------------------------------- | |
106 Right side of && is always true. | |
108 Right side of && is always true. | |
114 Right side of && is always true. | |
------ ---------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------- | |
Line NullSecurityToken.php | |
------ ----------------------------------------------------------------------------------------------------------------- | |
19 PHPDoc tag @param has invalid value (String): Unexpected token "\n *", expected TOKEN_VARIABLE at offset 24 | |
59 Method SilverStripe\Security\NullSecurityToken::getValue() should return string but returns null. | |
75 Method SilverStripe\Security\NullSecurityToken::generate() should return string but returns null. | |
------ ----------------------------------------------------------------------------------------------------------------- | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line PasswordEncryptor.php | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------- | |
60 Method SilverStripe\Security\PasswordEncryptor::create_for_algorithm() should return SilverStripe\Security\PasswordEncryptor but returns object. | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------- | |
Line PasswordEncryptor_MySQLOldPassword.php | |
------ ----------------------------------------------------------------------------------------------------------------- | |
19 Method SilverStripe\Security\PasswordEncryptor_MySQLOldPassword::salt() should return string but returns false. | |
------ ----------------------------------------------------------------------------------------------------------------- | |
------ -------------------------------------------------------------------------------------------------------------- | |
Line PasswordEncryptor_MySQLPassword.php | |
------ -------------------------------------------------------------------------------------------------------------- | |
19 Method SilverStripe\Security\PasswordEncryptor_MySQLPassword::salt() should return string but returns false. | |
------ -------------------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------- | |
Line PasswordEncryptor_None.php | |
------ ----------------------------------------------------------------------------------------------------- | |
19 Method SilverStripe\Security\PasswordEncryptor_None::salt() should return string but returns false. | |
------ ----------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------ | |
Line PasswordExpirationMiddleware.php | |
------ ------------------------------------------------------ | |
100 Left side of && is always true. | |
143 Negated boolean expression is always false. | |
243 PHPDoc tag @param references unknown parameter: $url | |
------ ------------------------------------------------------ | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line Permission.php | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------- | |
24 PHPDoc tag @property has invalid value (int Arg): Unexpected token "Arg", expected TOKEN_VARIABLE at offset 97 | |
24 PHPDoc tag @property has invalid value (int GroupID): Unexpected token "GroupID", expected TOKEN_VARIABLE at offset 140 | |
24 PHPDoc tag @property has invalid value (int Type): Unexpected token "Type", expected TOKEN_VARIABLE at offset 118 | |
24 PHPDoc tag @property has invalid value (string Code): Unexpected token "Code", expected TOKEN_VARIABLE at offset 75 | |
90 PHPDoc tag @var has invalid value ($strict_checking Boolean Method to globally disable "strict" checking, | |
which means a permission will be granted if the key does not exist at all.): Unexpected token "$strict_checking", expected TOKEN_IDENTIFIER at offset 31 | |
173 PHPDoc tag @param has invalid value (int|Member memberID The ID of the member to check. Leave blank for the current member. | |
Alternatively you can use a member object.): Unexpected token "memberID", expected TOKEN_VARIABLE at offset 97 | |
221 Else branch is unreachable because ternary operator condition is always true. | |
273 Method SilverStripe\Security\Permission::checkMember() should return bool|int but returns string. | |
379 Variable $groupList in isset() always exists and is not nullable. | |
381 Method SilverStripe\Security\Permission::groupList() should return array but returns null. | |
470 Negated boolean expression is always false. | |
660 Method SilverStripe\Security\Permission::get_declared_permissions_list() should return array but returns null. | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line PermissionCheckboxSetField.php | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
60 Elseif condition is always false. | |
92 Return type (string) of method SilverStripe\Security\PermissionCheckboxSetField::Field() should be compatible with return type (SilverStripe\ORM\FieldType\DBHTMLText) of method | |
SilverStripe\Forms\FormField::Field() | |
96 Ternary operator condition is always true. | |
101 Left side of && is always true. | |
319 Right side of && is always true. | |
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------ | |
Line PermissionRole.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------ | |
26 PHPDoc tag @property has invalid value (string OnlyAdminCanApply): Unexpected token "OnlyAdminCanApply", expected TOKEN_VARIABLE at offset 650 | |
26 PHPDoc tag @property has invalid value (string Title): Unexpected token "Title", expected TOKEN_VARIABLE at offset 624 | |
------ ------------------------------------------------------------------------------------------------------------------------------------------------ | |
------ ----------------------------------------------------------------------------------------------------------------------- | |
Line PermissionRoleCode.php | |
------ ----------------------------------------------------------------------------------------------------------------------- | |
15 PHPDoc tag @property has invalid value (int RoleID): Unexpected token "RoleID", expected TOKEN_VARIABLE at offset 147 | |
15 PHPDoc tag @property has invalid value (string Code): Unexpected token "Code", expected TOKEN_VARIABLE at offset 125 | |
------ ----------------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------------------------- | |
Line Permission_Group.php | |
------ --------------------------------------------------------------------------------------------------------------------- | |
27 Property SilverStripe\Security\Permission_Group::$permissions (string) does not accept default value of type array. | |
44 Property SilverStripe\Security\Permission_Group::$permissions (string) does not accept array. | |
68 Method SilverStripe\Security\Permission_Group::getPermissions() should return array but returns string. | |
------ --------------------------------------------------------------------------------------------------------------------- | |
------ ------------------------------------------------------------------------------------------------------------------------------------ | |
Line RememberLoginHash.php | |
------ ------------------------------------------------------------------------------------------------------------------------------------ | |
131 Method SilverStripe\Security\RememberLoginHash::generate() should return SilverStripe\Security\RememberLoginHash but returns null. | |
------ ------------------------------------------------------------------------------------------------------------------------------------ | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line RequestAuthenticationHandler.php | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
47 Method SilverStripe\Security\RequestAuthenticationHandler::authenticateRequest() should return SilverStripe\Security\Member|null but empty return statement found. | |
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Line Security.php | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
114 Class Page not found. | |
542 Method SilverStripe\Security\Security::preLogin() should return SilverStripe\Control\HTTPResponse but returns null. | |
549 If condition is always true. | |
557 Method SilverStripe\Security\Security::getRequest() should return SilverStripe\Control\HTTPRequest but returns null. | |
599 Method SilverStripe\Security\Security::generateTabbedFormSet() should return string but returns array<SilverStripe\Forms\Form>. | |
617 PHPDoc tag @param has invalid value (string &$messageType Type of message, if available, passed back to caller): Unexpected token "&", expected TOKEN_VARIABLE at offset 95 | |
623 Method SilverStripe\Security\Security::getSessionMessage() should return string but returns null. | |
681 Elseif condition is always true. | |
688 If condition is always true. | |
767 If condition is always true. | |
857 Method SilverStripe\Security\Security::aggregateAuthenticatorResponses() should return array|SilverStripe\Control\HTTPResponse but returns null. | |
931 Left side of && is always true. | |
1274 Static property SilverStripe\Security\Security::$database_is_ready (bool) does not accept null. | |
1275 Static property SilverStripe\Security\Security::$force_database_is_ready (bool) does not accept null. | |
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
------ --------------------------------------------------------------------------------------------------- | |
Line SecurityToken.php | |
------ --------------------------------------------------------------------------------------------------- | |
80 Negated boolean expression is always false. | |
129 Method SilverStripe\Security\SecurityToken::getSecurityID() should return int but returns string. | |
259 Negated boolean expression is always false. | |
------ --------------------------------------------------------------------------------------------------- | |
``` | |
THE View folder can not be linted at present, because it has some bigger issue! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment