Swiftpack.co - Package - Symplify/Symplify

Symplify main repository

Build Status Coverage Status Subscribe

Coding Standard

Build Status Downloads

Final interface, ::class Constant and other useful Checkers for PHP-CS-Fixer and PHP_CodeSniffer.

Easy Coding Standard

Build Status Downloads

The best and easiest way to start coding standard with. Combined both PHP-CS-Fixer and PHP_CodeSniffer.

Used by Shopsys, Nette and Sylius.

TokenRunner

Build Status Downloads

Building own Sniffs and Fixers made easy. It helps you with:

  • Space counts
  • Testing
  • (Fully qualified) names
  • Property and argument types
  • And much more...

Statie - www.statie.org

Build Status Downloads

Statie helps you to host and develop your blog on Github. A static site generator with aim on community websites.

Pehapkari.cz (Github repo) and TomasVotruba.cz (Github repo).

Install

Fork, clone your repository and install dependencies:

git clone git@github.com:<your-name>/Symplify.git
cd Symplify
composer install

Contributing

This is a monolithic repository for Symplify packages. Put all your PRs and ISSUEs here.

How to Contribute

Just follow 3 rules:

  • 1 feature per pull-request

  • New feature needs tests

  • Tests and static analysis must pass:

    composer complete-check
    

    Often you don't need to fix coding standard manually, just run:

    composer fix-cs
    

We would be happy to merge your feature then.

Github

link
Stars: 18
Help us keep the lights on

Dependencies

Used By

Total: 0

Releases

v2.5.11 - Jan 2, 2018

  • [CodingStandard] Fix version constraint for php-cs-fixer (#496).
  • [CodingStandard] Fix DynamicPropertySniff to work with traits (#516).

v3.0.1 - Dec 10, 2017

Fixes

  • https://github.com/Symplify/Symplify/commit/258097fb456d8ad414d94275af77c4b1c6f1aff6 [Statie] fixed missing CNAME

  • https://github.com/Symplify/Symplify/commit/eea0b88b10be7c8f862d4af9b2e1949c4ce6fdcd, https://github.com/Symplify/Symplify/commit/117284a6eaa86d5229e593a563669abbdfab27a0 [EasyCodingStandard] fixed error line sorting

  • https://github.com/Symplify/Symplify/commit/3a09c6837d821b6b1c9b460cf0ee1c1507df54e5 [TokenRunner] fixed missing @var on property

Changes

  • https://github.com/Symplify/Symplify/commit/3fce4e4168a67efe3d7e19be5fd8dc231d352c76 [EasyCodingStandard] use PhpCsFixer\Differ\UnifiedDiffer including line numbers instead of custom solution

Full diff: https://github.com/Symplify/Symplify/compare/v3.0.0...v3.0.1

v3.0.0 - Dec 10, 2017

Symplify 3 is using Symfony 4 and PHP 7.1 is here!

All changes from Symplify 2.x to Symplify 3 are described in particular RC releases

  • https://github.com/Symplify/Symplify/releases/tag/v3.0.0-RC5
  • https://github.com/Symplify/Symplify/releases/tag/v3.0.0-RC4
  • https://github.com/Symplify/Symplify/releases/tag/v3.0.0-RC3
  • https://github.com/Symplify/Symplify/releases/tag/v3.0.0-RC2
  • https://github.com/Symplify/Symplify/releases/tag/v3.0.0-RC1

More news to follow on blog.


Added

  • https://github.com/Symplify/Symplify/commit/8345f2f8edabe211e908f2105029ce0b425debc3 [Statie] - docs greatly improved

Fixed

  • https://github.com/Symplify/Symplify/commit/27e9c50c466e673ca99e5d2aa53c7eed98db3399 [Statie] - fixed post_route compatibility in GeneratorElement
  • https://github.com/Symplify/Symplify/commit/e4a4cda0e09004be0b0d3b8d844d97d3ca0cb943 [Statie] - fixed missing relativePath parameter
  • https://github.com/Symplify/Symplify/commit/ba1f64503d175b7281c5970da7e8a3b2d78f80ee [Statie] - fixed static file copying

Full diff: https://github.com/Symplify/Symplify/compare/v3.0.0-RC5...v3.0.0

v3.0.0-RC5 - Dec 9, 2017

Added

  • #480 [CodingStandard] add RemoveSuperfluousDocBlockWhitespaceFixer, which removes 2 spaces in a row in doc blocks
  • #481 [EasyCodingStandard] add warning as error support, to make useful already existing Sniffs, closes #477

Changed

  • #484 [Statie] add dry-run optiont to StatieApplication and BeforeRenderEvent to improve extendability, closes #483

  • https://github.com/Symplify/Symplify/commit/9a9c0e61d0b7af073d3819e4c4798a251eca1f14 [Statie] use statie.yml config based on Symfony DI over "fake" statie.neon to prevent confusion, closes #487

    Before

    # statie.neon
    includes:
         - source/data/config.neon
    

    After

    # statie.yml
    imports:
        - { resource: 'source/data/config.yml' }
    

    Before

    services:
        -
            class: App\TranslationProvider
    

    After

    services:
        App\TranslationProvider: ~
    

Removed

  • #488 [CodingStandard] drop PropertyAndConstantSeparationFixer, use PhpCsFixer\Fixer\ClassNotation\ClassAttributesSeparationFixer instead

Full diff: https://github.com/Symplify/Symplify/compare/v3.0.0-RC4...v3.0.0-RC5

v2.5.10 - Dec 6, 2017

  • Removed dependency on tracy.
  • Fixed skipping fixable errors.