Issues (686)

jaxon-examples/examples/namespaces/code.php (2 issues)

1
<?php
2
3
jaxon()->callback()->before(function($target, &$end) {
0 ignored issues
show
The parameter $end is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

3
jaxon()->callback()->before(function($target, /** @scrutinizer ignore-unused */ &$end) {

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
4
    error_log('Target: ' . print_r($target, true));
0 ignored issues
show
Are you sure print_r($target, true) of type string|true can be used in concatenation? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-type  annotation

4
    error_log('Target: ' . /** @scrutinizer ignore-type */ print_r($target, true));
Loading history...
5
});
6
7
jaxon()->app()->setup(configFile('namespaces.php'));
8