Fork me on GitHub
a Sensio Labs Product

Remote Void (v2.18.5) edition

Rule psr4

Warning

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.

Warning

Using this rule is risky.

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

Examples

Example #1

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