fix sensio labs insight "Boolean should be compared strictly"
remove .idea from git ignore
psr and removed unused param