Completed
Push — 8.x-2.x ( 0cda8a...8af97d )
by Frédéric G.
02:15
created
Labels
Severity

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
var dbs = db.adminCommand('listDatabases');
0 ignored issues
show
The variable db seems to be never declared. If this is a global, consider adding a /** global: db */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
2
print(dbs);
3
print(db.getSiblingDB('drupal'));
4
5
//print(db.url_alias.find());
6