JetBrains actively monitors public repositories. In 2018-2019, JetBrains sent DMCA takedowns to hundreds of GitHub repos hosting activation codes for PhpStorm 2017. That means most codes you find online are already blacklisted. When you enter a blacklisted code, PhpStorm locks you out immediately.

for using PhpStorm 2017: