2017 © Pedro Peláez
 

symfony-bundle psrize

This bundle help you to test if your code follows psr-1/psr-2 standard

image

ramasy/psrize

This bundle help you to test if your code follows psr-1/psr-2 standard

  • Tuesday, March 6, 2018
  • by dah3ry
  • Repository
  • 1 Watchers
  • 3 Stars
  • 46 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

PsrizeBundle

This bundle helps you to improve your code design,style and structure on a symfony project, Features include:, (*1)

  • Automatically corrects code inside php file to follow psr-2 standard
  • show code size
  • show naming recommandation
  • show unused variable

Documentation

Read the Documentation, (*2)

Installation

1 Add to your composer.json file, (*3)

{
    "require": {
        "ramasy/psrize": "dev-master"
    }
}

2 Run composer update, (*4)

``` shell $ composer update ramasy/psrize, (*5)


**3** Register the bundle in ``app/AppKernel.php`` ``` php $bundles = array( // ... new Ramasy\PsrizeBundle\RamasyPsrizeBundle(), );

4 Run, (*6)

shell $ php bin/console app:psrize path_to_a_directory, (*7)

path_to_a_directory represent a relative path from the directory src/ of your symfony project, (*8)

Example :, (*9)

the correct relative path for the directory youApp/src/AppBundle/Controller is AppBundle/Controller, (*10)

License

This bundle is under the MIT license. See the complete license in the bundle, (*11)

Reporting an issue or a feature request

Issues and feature requests are tracked in the Github issue tracker., (*12)

The Versions

06/03 2018

dev-master

9999999-dev

This bundle help you to test if your code follows psr-1/psr-2 standard

  Sources   Download

MIT

The Requires

 

by RAMASY Heritier . A

bundle symfony psr-2 psr-1