chore(tooling): configure static analysis, testing, and dev environment #5
code-quality.yml
on: pull_request
PHP CS Fixer
20s
PHPStan (Level Max)
26s
PHP Mess Detector
20s
Security Audit
15s
Dependency Validation
11s
Rector Dry Run
18s
Psalm Static Analysis
Code Metrics
Dead Code Detection
23s
Quality Summary
4s
Annotations
27 errors, 2 warnings, and 1 notice
|
Dependency Validation
Process completed with exit code 1.
|
|
Dependency Validation
No lockfile found. Unable to read locked packages
|
|
Security Audit
Process completed with exit code 2.
|
|
Rector Dry Run
Process completed with exit code 127.
|
|
PHP Mess Detector
Process completed with exit code 127.
|
|
Dead Code Detection:
src/UserProfile.php#L219
Method KaririCode\DevKit\UserProfile::jsonSerialize() return type has no value type specified in iterable type array.
|
|
Dead Code Detection:
src/UserProfile.php#L195
Method KaririCode\DevKit\UserProfile::withMeta() has parameter $meta with no value type specified in iterable type array.
|
|
Dead Code Detection:
src/UserProfile.php#L124
Parameter $meta of class KaririCode\DevKit\UserProfile constructor expects array|null, mixed given.
|
|
Dead Code Detection:
src/UserProfile.php#L123
Parameter $twoFactorSecret of class KaririCode\DevKit\UserProfile constructor expects string|null, mixed given.
|
|
Dead Code Detection:
src/UserProfile.php#L119
Parameter $name of class KaririCode\DevKit\UserProfile constructor expects string, mixed given.
|
|
Dead Code Detection:
src/UserProfile.php#L118
Parameter $id of class KaririCode\DevKit\UserProfile constructor expects string, mixed given.
|
|
Dead Code Detection:
src/UserProfile.php#L115
Method KaririCode\DevKit\UserProfile::fromArray() has parameter $data with no value type specified in iterable type array.
|
|
Dead Code Detection:
src/UserProfile.php#L58
Method KaririCode\DevKit\UserProfile::__construct() has parameter $meta with no value type specified in iterable type array.
|
|
Dead Code Detection:
src/UserId.php#L30
Construct empty() is not allowed. Use more strict comparison.
|
|
Dead Code Detection:
src/Email.php#L30
Only booleans are allowed in a negated boolean, string|false given.
|
|
PHPStan (Level Max):
src/UserProfile.php#L219
Method KaririCode\DevKit\UserProfile::jsonSerialize() return type has no value type specified in iterable type array.
|
|
PHPStan (Level Max):
src/UserProfile.php#L195
Method KaririCode\DevKit\UserProfile::withMeta() has parameter $meta with no value type specified in iterable type array.
|
|
PHPStan (Level Max):
src/UserProfile.php#L124
Parameter $meta of class KaririCode\DevKit\UserProfile constructor expects array|null, mixed given.
|
|
PHPStan (Level Max):
src/UserProfile.php#L123
Parameter $twoFactorSecret of class KaririCode\DevKit\UserProfile constructor expects string|null, mixed given.
|
|
PHPStan (Level Max):
src/UserProfile.php#L119
Parameter $name of class KaririCode\DevKit\UserProfile constructor expects string, mixed given.
|
|
PHPStan (Level Max):
src/UserProfile.php#L118
Parameter $id of class KaririCode\DevKit\UserProfile constructor expects string, mixed given.
|
|
PHPStan (Level Max):
src/UserProfile.php#L115
Method KaririCode\DevKit\UserProfile::fromArray() has parameter $data with no value type specified in iterable type array.
|
|
PHPStan (Level Max):
src/UserProfile.php#L58
Method KaririCode\DevKit\UserProfile::__construct() has parameter $meta with no value type specified in iterable type array.
|
|
PHPStan (Level Max):
src/UserId.php#L30
Construct empty() is not allowed. Use more strict comparison.
|
|
PHPStan (Level Max):
src/Email.php#L30
Only booleans are allowed in a negated boolean, string|false given.
|
|
Quality Summary
Unhandled error: HttpError: Resource not accessible by integration
|
|
Quality Summary
Process completed with exit code 1.
|
|
PHP Mess Detector
No files were found with the provided path: phpmd-report.xml. No artifacts will be uploaded.
|
|
PHPStan (Level Max)
PHPStan baseline generated. Consider fixing issues instead of ignoring them.
|
|
Security Audit
No security vulnerabilities found
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
security-report
Expired
|
227 Bytes |
sha256:b948824d762959212e650c662623afe8d127bfadcd1e8015da2ae81f085dd174
|
|