Fork me on GitHub
a Sensio Labs Product

Remote Void (v2.18.5) edition

Rule psr4


This rule is deprecated and will be removed on next major version.

You should use psr_autoloading instead.

Class names should match the file name.


Using this rule is risky.

This fixer may change your class name, which will break the code that depends on the old name.


Example #1

--- Original
+++ New
 namespace PhpCsFixer\FIXER\Basic;
-class InvalidName {}
+class PsrAutoloadingFixer {}
The logo is © 2010-2014 Sensio Labs