Coding Standards 1.0.1

Coding Standards

  1. XenForo Rocks
    About This File
    Coding Standards
    This archive contains an unofficial collection of IDE configurations and other files for use with IPS' own coding standards.

    phpStorm
    To import the PHP Storm code style configuration, go to File > Import Settings. Select the phpStorm.jar file included in this repository. Afterwards, open up the Setting page (File > Settings) and navigate to Editor > Code Style > PHP.

    68747470733a2f2f692e696d6775722e636f6d2f5a677369796e4e2e706e67.png

    From the right-hand side of the scheme selection box, click on Manage. You should now see the IPS code style available for use!

    This repository also includes aprojectCodeStyle.xmldocument, which you can use to automatically import the IPS coding styles in your own repositories for anyone else that uses phpStorm. To do this, you'll need to copy this file to the .idea/ directory in your projects root and commit it.

    If you decide to do this, it's recommended you set up your .gitignore configuration toonlycommit this file in your .idea directory and ignore everything else.

    Scrutinizer
    Scrutinizer is a great service for performing automated code checks andscrutinizingyour code for quality, and best of all, it's completely free to use for open-source projects! To learn more about it, head over to theofficial website.

    Images