Fixed issue with not picking used classes without constructor parameters

# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# On branch extensions-used
# Changes to be committed:
#   (use "git reset HEAD^1 <file>..." to unstage)
#
#	modified:   CodeDependency.php
#	modified:   example/test.php
#	deleted:    get-env-functions.php
#	modified:   scan-dependencies.php
#