Enable phpstan on resources to detect duplicate entires
Differential Revision: https://git.kolab.org/D3262