PCB with wrong 2N222 pin out
The BC637/BC639 has the correct pinout and can handle about the same voltage/current. You might have to modify the base resistance a bit because of gain differences.

Assuming this is only for simple switching purposes.