Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump vimeo/psalm from 5.23.1 to 5.24.0 in /tools/psalm #482

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
495 changes: 358 additions & 137 deletions tools/psalm/composer.lock

Unchanged files with check annotations Beta

{
public static function syntaxError(string $message, Exception $previous = null) : self
{
return new self('[Syntax Error] ' . $message, 0, $previous);

Check warning on line 11 in src/Exception/PatternException.php

GitHub Actions / Mutation Tests

Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ { public static function syntaxError(string $message, Exception $previous = null) : self { - return new self('[Syntax Error] ' . $message, 0, $previous); + return new self('[Syntax Error] ' . $message, -1, $previous); } }

Check warning on line 11 in src/Exception/PatternException.php

GitHub Actions / Mutation Tests

Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ { public static function syntaxError(string $message, Exception $previous = null) : self { - return new self('[Syntax Error] ' . $message, 0, $previous); + return new self('[Syntax Error] ' . $message, 1, $previous); } }
}
}
public function __construct(string $type)
{
$this->type = '@' . $type . '@';
parent::__construct(\sprintf('Type pattern "%s" is not supported.', $this->type), 0, null);

Check warning on line 14 in src/Exception/UnknownTypeException.php

GitHub Actions / Mutation Tests

Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ public function __construct(string $type) { $this->type = '@' . $type . '@'; - parent::__construct(\sprintf('Type pattern "%s" is not supported.', $this->type), 0, null); + parent::__construct(\sprintf('Type pattern "%s" is not supported.', $this->type), -1, null); } public function getType() : string {

Check warning on line 14 in src/Exception/UnknownTypeException.php

GitHub Actions / Mutation Tests

Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ public function __construct(string $type) { $this->type = '@' . $type . '@'; - parent::__construct(\sprintf('Type pattern "%s" is not supported.', $this->type), 0, null); + parent::__construct(\sprintf('Type pattern "%s" is not supported.', $this->type), 1, null); } public function getType() : string {

Check warning on line 14 in src/Exception/UnknownTypeException.php

GitHub Actions / Mutation Tests

Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ public function __construct(string $type) { $this->type = '@' . $type . '@'; - parent::__construct(\sprintf('Type pattern "%s" is not supported.', $this->type), 0, null); + } public function getType() : string {
}
public function getType() : string
return $type;
}
protected function isStringToken(string $value) : bool

Check warning on line 165 in src/Lexer.php

GitHub Actions / Mutation Tests

Escaped Mutant for Mutator "ProtectedVisibility": --- Original +++ New @@ @@ } return $type; } - protected function isStringToken(string $value) : bool + private function isStringToken(string $value) : bool { return \in_array(\substr($value, 0, 1), ['"', "'"], true); }
{
return \in_array(\substr($value, 0, 1), ['"', "'"], true);

Check warning on line 167 in src/Lexer.php

GitHub Actions / Mutation Tests

Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } protected function isStringToken(string $value) : bool { - return \in_array(\substr($value, 0, 1), ['"', "'"], true); + return \in_array(\substr($value, -1, 1), ['"', "'"], true); } protected function isBooleanToken(string $value) : bool {
}
protected function isBooleanToken(string $value) : bool

Check warning on line 170 in src/Lexer.php

GitHub Actions / Mutation Tests

Escaped Mutant for Mutator "ProtectedVisibility": --- Original +++ New @@ @@ { return \in_array(\substr($value, 0, 1), ['"', "'"], true); } - protected function isBooleanToken(string $value) : bool + private function isBooleanToken(string $value) : bool { return \in_array(\strtolower($value), ['true', 'false'], true); }
{
return \in_array(\strtolower($value), ['true', 'false'], true);
}
protected function isNullToken(string $value) : bool

Check warning on line 175 in src/Lexer.php

GitHub Actions / Mutation Tests

Escaped Mutant for Mutator "ProtectedVisibility": --- Original +++ New @@ @@ { return \in_array(\strtolower($value), ['true', 'false'], true); } - protected function isNullToken(string $value) : bool + private function isNullToken(string $value) : bool { return \strtolower($value) === 'null'; }
{
return \strtolower($value) === 'null';
}
protected function extractStringValue(string $value) : string

Check warning on line 180 in src/Lexer.php

GitHub Actions / Mutation Tests

Escaped Mutant for Mutator "ProtectedVisibility": --- Original +++ New @@ @@ { return \strtolower($value) === 'null'; } - protected function extractStringValue(string $value) : string + private function extractStringValue(string $value) : string { return \trim(\trim($value, "'"), '"'); }
{
return \trim(\trim($value, "'"), '"');
}