Psalm type coverage

celema/router

Generated from psalm-stats.txt and psalm-issues.json.

Strong
Type inference99.395%

Across the analyzed codebase

Psalm issues0

0 errors in stats · 2 auto-fixable

Mixed refs7

Across 3 files below 100%

Files scanned12

3.94s · 156.769MB

File type coverage

FileInferredCoverageMixed
src/View.php98.312%
4
src/RoutePattern.php99.375%
2
src/Router.php99.595%
1
src/AttributesResolver.php100%
0
src/Dispatcher.php100%
0
src/Exception/MethodNotAllowedException.php100%
0
src/Group.php100%
0
src/Route.php100%
0
src/RouteMatch.php100%
0
src/RouteToken.php100%
0
src/RoutingHandler.php100%
0
src/ViewHandler.php100%
0

Psalm issues

No Psalm issues were reported.

Raw Psalm stats
Running on PHP 8.5.6, Psalm 6.19.0@0f67d9a41b903d0c205645f3b428dff1c92310e0.

JIT acceleration: OFF
You can enable JIT acceleration (experimental) with --force-jit.

Target PHP version: 8.5 (inferred from composer.json).


Scanning files...

Analyzing files...

░░░░░░░░░░░░░░░░░░░░░░░░░░░░
------------------------------
                              
       No errors found!       
                              
------------------------------
Psalm can automatically fix 2 of these issues.
Run Psalm again with 
--alter --issues=MissingParamType --dry-run
to see what it can fix.
------------------------------

Checks took 3.94 seconds and used 156.769MB of memory
Psalm was able to infer types for 99.3955% of the codebase
-----------------
100.000% src/AttributesResolver.php (0 mixed)
100.000% src/Dispatcher.php (0 mixed)
100.000% src/Exception/MethodNotAllowedException.php (0 mixed)
100.000% src/Group.php (0 mixed)
100.000% src/Route.php (0 mixed)
100.000% src/RouteMatch.php (0 mixed)
99.375% src/RoutePattern.php (2 mixed)
100.000% src/RouteToken.php (0 mixed)
99.595% src/Router.php (1 mixed)
100.000% src/RoutingHandler.php (0 mixed)
98.312% src/View.php (4 mixed)
100.000% src/ViewHandler.php (0 mixed)