I am trying to upload my extension to Marketplace. I'm using Magento 2.2 as a platform for my extension. However, whenever I upload my extension this error appears in my Test Report
Each class must be in a namespace of at least one level (a top-level vendor name)
Also, the next error is showing up in the Test Reports:
Direct use of $GLOBALS Superglobal detected.
What thrills me the most is this error is only showing off for these two versions of PHP, also this kind of error seems to for the code generated not for the code I'm uploading itself.