the-junty /
junty
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
| 2 | require 'vendor/autoload.php'; |
||
| 3 | |||
| 4 | use Junty\Runner\JuntyRunner; |
||
| 5 | |||
| 6 | $junty = new JuntyRunner(); |
||
| 7 | |||
| 8 | $junty->task('css', function () { |
||
| 9 | $this->src('./*.md', "/README.md/") |
||
|
0 ignored issues
–
show
|
|||
| 10 | ->forStreams(function ($streams) { |
||
| 11 | print_r(array_map(function ($stream) { |
||
| 12 | return $stream->getMetaData('uri'); |
||
| 13 | }, $streams)); |
||
| 14 | }); |
||
| 15 | }); |
||
| 16 | |||
| 17 | return $junty; |
This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.