Introduce modularized feature #19
static-analysis.yml
on: pull_request
Static Analysis
35s
Annotations
10 errors and 1 warning
MixedAssignment:
src/AurynConfig.php#L75
src/AurynConfig.php:75:46: MixedAssignment: Unable to determine the type that $extensionClass is being assigned to (see https://psalm.dev/032)
|
MixedAssignment:
src/AurynConfig.php#L76
src/AurynConfig.php:76:13: MixedAssignment: Unable to determine the type that $extension is being assigned to (see https://psalm.dev/032)
|
MixedArgument:
src/AurynConfig.php#L76
src/AurynConfig.php:76:72: MixedArgument: Argument 1 of ItalyStrap\Empress\Injector::make cannot be mixed, expecting string (see https://psalm.dev/030)
|
MixedMethodCall:
src/AurynConfig.php#L77
src/AurynConfig.php:77:25: MixedMethodCall: Cannot determine the type of $extension when calling method execute (see https://psalm.dev/015)
|
PossiblyUnusedMethod:
src/ProvidersCache.php#L34
src/ProvidersCache.php:34:21: PossiblyUnusedMethod: Cannot find any calls to method ItalyStrap\Empress\ProvidersCache::read (see https://psalm.dev/087)
|
MixedArgument:
src/ProvidersCache.php#L38
src/ProvidersCache.php:38:50: MixedArgument: Argument 1 of ItalyStrap\Config\ConfigInterface::get cannot be mixed, expecting string (see https://psalm.dev/030)
|
UnresolvableInclude:
src/ProvidersCache.php#L47
src/ProvidersCache.php:47:31: UnresolvableInclude: Cannot resolve the given expression to a file path (see https://psalm.dev/106)
|
PossiblyUnusedMethod:
src/ProvidersCache.php#L51
src/ProvidersCache.php:51:21: PossiblyUnusedMethod: Cannot find any calls to method ItalyStrap\Empress\ProvidersCache::write (see https://psalm.dev/087)
|
MixedArgument:
src/ProvidersCache.php#L54
src/ProvidersCache.php:54:50: MixedArgument: Argument 1 of ItalyStrap\Config\ConfigInterface::get cannot be mixed, expecting string (see https://psalm.dev/030)
|
MixedArgument:
src/ProvidersCache.php#L62
src/ProvidersCache.php:62:17: MixedArgument: Argument 1 of sprintf cannot be mixed, expecting string (see https://psalm.dev/030)
|
Static Analysis
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|