Update dependency vimeo/psalm to v6 - autoclosed #1104
continuous-integration.yml
on: pull_request
ci
/
Generate job matrix
4s
PHPUnit Coverage
23s
Check for missing dependencies
19s
Matrix: ci / QA Checks
Annotations
10 errors and 1 warning
InvalidFalsableReturnType:
src/Document/Fragment/BaseCollection.php#L95
src/Document/Fragment/BaseCollection.php:95:30: InvalidFalsableReturnType: The declared return type 'Prismic\Document\Fragment' for Prismic\Document\Fragment\BaseCollection::first does not allow false, but 'Prismic\Document\Fragment|false' contains false (see https://psalm.dev/143)
|
FalsableReturnStatement:
src/Document/Fragment/BaseCollection.php#L101
src/Document/Fragment/BaseCollection.php:101:16: FalsableReturnStatement: The declared return type 'Prismic\Document\Fragment' for Prismic\Document\Fragment\BaseCollection::first does not allow false, but the function returns 'Prismic\Document\Fragment|false' (see https://psalm.dev/137)
|
InvalidFalsableReturnType:
src/Document/Fragment/BaseCollection.php#L104
src/Document/Fragment/BaseCollection.php:104:29: InvalidFalsableReturnType: The declared return type 'Prismic\Document\Fragment' for Prismic\Document\Fragment\BaseCollection::last does not allow false, but 'Prismic\Document\Fragment|false' contains false (see https://psalm.dev/143)
|
FalsableReturnStatement:
src/Document/Fragment/BaseCollection.php#L110
src/Document/Fragment/BaseCollection.php:110:16: FalsableReturnStatement: The declared return type 'Prismic\Document\Fragment' for Prismic\Document\Fragment\BaseCollection::last does not allow false, but the function returns 'Prismic\Document\Fragment|false' (see https://psalm.dev/137)
|
InvalidFalsableReturnType:
src/Json.php#L66
src/Json.php:66:66: InvalidFalsableReturnType: The declared return type 'string' for Prismic\Json::encode does not allow false, but 'false|string' contains false (see https://psalm.dev/143)
|
FalsableReturnStatement:
src/Json.php#L69
src/Json.php:69:20: FalsableReturnStatement: The declared return type 'string' for Prismic\Json::encode does not allow false, but the function returns 'false|string' (see https://psalm.dev/137)
|
InvalidFalsableReturnType:
test/Unit/Framework/TestCase.php#L15
test/Unit/Framework/TestCase.php:15:72: InvalidFalsableReturnType: The declared return type 'string' for PrismicTest\Framework\TestCase::jsonFixtureByFileName does not allow false, but 'false|string' contains false (see https://psalm.dev/143)
|
FalsableReturnStatement:
test/Unit/Framework/TestCase.php#L25
test/Unit/Framework/TestCase.php:25:16: FalsableReturnStatement: The declared return type 'string' for PrismicTest\Framework\TestCase::jsonFixtureByFileName does not allow false, but the function returns 'false|string' (see https://psalm.dev/137)
|
UnusedIssueHandlerSuppression:
psalm.xml#L1
/github/workspace/psalm.xml:0:0: UnusedIssueHandlerSuppression: Suppressed issue type "RedundantCondition" for /test/Smoke/TestCase.php was not thrown. (see https://psalm.dev/326)
|
UnusedIssueHandlerSuppression:
psalm.xml#L1
/github/workspace/psalm.xml:0:0: UnusedIssueHandlerSuppression: Suppressed issue type "TypeDoesNotContainType" for /test/Smoke/TestCase.php was not thrown. (see https://psalm.dev/326)
|
PHPUnit Coverage
Unexpected input(s) 'file', valid inputs are ['base_sha', 'binary', 'codecov_yml_path', 'commit_parent', 'directory', 'disable_file_fixes', 'disable_search', 'disable_safe_directory', 'disable_telem', 'dry_run', 'env_vars', 'exclude', 'fail_ci_if_error', 'files', 'flags', 'force', 'git_service', 'gcov_args', 'gcov_executable', 'gcov_ignore', 'gcov_include', 'handle_no_reports_found', 'job_code', 'name', 'network_filter', 'network_prefix', 'os', 'override_branch', 'override_build', 'override_build_url', 'override_commit', 'override_pr', 'plugins', 'report_code', 'report_type', 'root_dir', 'run_command', 'skip_validation', 'slug', 'swift_project', 'token', 'url', 'use_legacy_upload_endpoint', 'use_oidc', 'use_pypi', 'verbose', 'version', 'working-directory']
|