Showing 2,085 of 2,085 total issues
Suspicious array access to nullable ?array
Open
Open
chmod($_ENV['DB_FILE'], 0666);
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
$file = $_ENV['DB_FILE'];
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
$db = new PDOWrapper('sqlite:' . $_ENV['DB_FILE']);
- Exclude checks
Saw possibly unextractable annotation for a fragment of comment '* @param string Type of password (pronounceable, unpronounceable)':
after string,
did not see an element name (will guess based on comment order) Open
Open
* @param string Type of password (pronounceable, unpronounceable)
- Exclude checks
Call to deprecated function \color()
defined at /code/src/Libs/Helpers/functions.php:27
Open
Open
echo color($output, 'pink');
- Exclude checks
Invalid operator: left operand of >>
is mixed
(expected int) Open
Open
$modes[($cur_mode >> 3) & 0b111],
- Exclude checks
Invalid operator: left operand is array and right is not Open
Open
$this->verbosityLevelMap = $verbosityLevelMap + $this->verbosityLevelMap;
- Exclude checks
Suspicious array access to float|int
Open
Open
$output->writeln(sprintf('<%1$s>[%2$s] %3$s</%1$s>', $this->formatLevelMap[$level], strtoupper($level), $this->interpolate($message, $context)), $this->verbosityLevelMap[$level]);
- Exclude checks
Call to deprecated function \promptUser()
defined at /code/src/Libs/Helpers/functions.php:362
Open
Open
if ('yes' == strtolower(promptUser(
- Exclude checks
When fetching an array index from a value of type array{40:'black',41:'red',42:'green',43:'yellow',44:'blue',45:'magenta',46:'cyan',47:'white'},
found an array index of type string,
but expected the index to be of type int
Open
Open
$out .= 'background-color:'.self::$availableBackgroundColors[$code].';';
- Exclude checks
Argument 2 (subject)
is int
but \preg_match()
takes string
Open
Open
if (preg_match('/(\d+)(\d{2})(\d{2})$/', $phpVersion, $matches)) {
- Exclude checks
Suspicious array access to nullable ?array|null
Open
Open
file_exists($_ENV['TRIM_DATA'] . "/id_dsa.pub") &&
- Exclude checks
Possibly zero references to use statement for classlike/namespace Instance
(\TikiManager\Application\Instance)
Open
Open
use TikiManager\Application\Instance;
- Exclude checks
Argument #2 of this call to \stripos
is typically a literal or constant but isn't, but argument #1 (which is typically a variable) is a literal or constant. The arguments may be in the wrong order. Open
Open
} while ((strlen($input) == 0) || (stripos('pvdas', $input[0]) === false));
- Exclude checks
Returning type void
but setSafeDirectory()
is declared to return null
Open
Open
return; // return early if we should not process safedir
- Exclude checks
Assigning string
to property but \TikiManager\Application\Instance->vcs_type
is null
Open
Open
$instance->vcs_type = $vcsType;
- Exclude checks
Possibly zero references to use statement for classlike/namespace YamlFetcher
(\TikiManager\Application\Tiki\Versions\Fetcher\YamlFetcher)
Open
Open
use TikiManager\Application\Tiki\Versions\Fetcher\YamlFetcher;
- Exclude checks
Suspicious array access to nullable ?array
Open
Open
if ($_ENV['IS_PHAR']) {
- Exclude checks
Saw possibly unextractable annotation for a fragment of comment '* @param integer Length of the password':
after integer,
did not see an element name (will guess based on comment order) Open
Open
* @param integer Length of the password
- Exclude checks
Saw possibly unextractable annotation for a fragment of comment '* @param integer Key':
after integer,
did not see an element name (will guess based on comment order) Open
Open
* @param integer Key
- Exclude checks