Code Monkey home page Code Monkey logo

php-cs-fixer-psr-autoloading's Introduction

Using 2.16.9

$ ./php-cs-fixer-2.16.9.phar fix --diff --diff-format=udiff --dry-run -vv
Loaded config default from "/Users/neo/tmp/php-cs-fixer-psr-autoloading/.php_cs.dist".
Runtime: PHP 7.4.13
Using cache file ".php_cs.cache".
..
Legend: ?-unknown, I-invalid file syntax (file ignored), S-skipped (cached or empty file), .-no changes, F-fixed, E-error

Checked all files in 0.006 seconds, 12.000 MB memory used

Using 2.17.1

$ ./php-cs-fixer-2.17.1.phar fix --diff --diff-format=udiff --dry-run -vv
Loaded config default from "/Users/neo/tmp/php-cs-fixer-psr-autoloading/.php_cs.dist".
Runtime: PHP 7.4.13
Using cache file ".php_cs.cache".
SE
Legend: ?-unknown, I-invalid file syntax (file ignored), S-skipped (cached or empty file), .-no changes, F-fixed, E-error

Checked all files in 0.004 seconds, 12.000 MB memory used

Files that were not fixed due to errors reported during linting after fixing:
   1) /Users/neo/tmp/php-cs-fixer-psr-autoloading/Test2/___file.php


        [PhpCsFixer\Linter\LintingException]
        Parse error: syntax error, unexpected '-', expecting identifier (T_STRING) on line 3.


      Applied fixers: psr4
      ---------- begin diff ----------
--- Original
+++ New
@@ -1,4 +1,4 @@
 <?php

-class NamedCompletelyDifferently {
+class -autoloading_Test2____file {
 }

      ----------- end diff -----------

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.