A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/djoos/Symfony-coding-standard below:

djoos/Symfony-coding-standard: Development repository for the Symfony coding standard

Skip to content Navigation Menu Search code, repositories, users, issues, pull requests...

Saved searches Use saved searches to filter your results more quickly

Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert djoos/Symfony-coding-standard

Symfony PHP CodeSniffer Coding Standard

A coding standard to check against the Symfony coding standards, originally shamelessly copied from the -disappeared- opensky/Symfony2-coding-standard repository.

This standard can be installed with the Composer dependency manager.

  1. Install Composer

  2. Install the coding standard as a dependency of your project

     composer require --dev escapestudios/symfony2-coding-standard:3.x-dev
    
  3. Add the coding standard to the PHP_CodeSniffer install path

     vendor/bin/phpcs --config-set installed_paths vendor/escapestudios/symfony2-coding-standard
    
  4. Check the installed coding standards for "Symfony"

  5. Done!

     vendor/bin/phpcs /path/to/code
    
  1. Install PHP_CodeSniffer

  2. Checkout this repository

     git clone git://github.com/djoos/Symfony2-coding-standard.git
    
  3. Add the coding standard to the PHP_CodeSniffer install path

     phpcs --config-set installed_paths /path/to/Symfony2-coding-standard
    

    Or copy/symlink this repository's "Symfony"-folder inside the phpcs Standards directory

  4. Check the installed coding standards for "Symfony"

  5. Done!

About

Development repository for the Symfony coding standard

Topics Resources License Contributing Stars Watchers Forks

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4