Componette

Componette

ninjify

ninjify / qa v0.12

Quality assurance for your PHP projects

download-cloud-line composer require ninjify/qa

Website πŸš€ contributte.org | Contact πŸ‘¨πŸ»β€πŸ’» f3l1x.io | Twitter 🐦 @contributte

Usage

To install latest version of ninjify/qa use Composer.

composer require ninjify/qa

Versions

State Version Branch PHP
dev ^0.13 master >=7.2
stable ^0.12 master >=7.2

Documentation

CodeSniffer & CodeFixer

Default folders are: src, app, tests Default extensions are: php, phtml, phpt Default excluded folders are: */temp, */tmp

By default is used ruleset.xml in library/project root of your project. Otherwise, strict default one is used.

vendor/bin/codesniffer
vendor/bin/codesniffer <folder1> <folder2>
vendor/bin/codefixer
vendor/bin/codefixer <folder1> <folder2>

Linter (PHP)

Default folders are: src, app, tests

vendor/bin/linter
vendor/bin/linter <folder1> <folder2>

Executing

composer qa
composer qa <folder>
composer run qa
composer run-script qa

Composer

{
  "scripts": {
    "qa": [
      "linter src tests",
      "codesniffer src tests"
    ]
  }
}

Development

See how to contribute to this package. This package is currently maintained by these authors.


Consider to support contributte development team. Also thank you for using this package.

  • v0.12 v0.12

    Bumped! 🦢🏼

    Diff: v0.11...v0.12

    Changes:

    • use ninjify/coding-standard v0.11
  • v0.11 v0.11

    Bumped! πŸ€•

    Diff: v0.10...v0.11

    Changes:

    • replace jakub-onderka/* with php-parallel-lint/*
    • use ninjify/coding-standard v0.10
    • added funding
  • v0.10 v0.10

    Bumped! πŸŽƒ

    Diff: v0.9...v0.10

    Changes:

    • ninjify/coding-standard v0.9 a2d5219
  • v0.9 v0.9

    Bumped! πŸ…

    Diff: 0.8...v0.9

    Changes:

    • ninjify/coding-standard v0.8
  • 0.8 v0.8

    Bumped! πŸ‘

    Diff: 0.7.1...0.8

    Changes:

    • allow PHP 7.3 in CI
    • upgrade deps
    • don't lint php3, php4, php5 files
  • 0.7.1 v0.7.1

    Bumped! πŸ—

    Diff: 0.7.0...0.7.1

    Changes:

    • use newest version of jakub-onderka/php-parallel-lint : ^1.0.0
  • 0.7.0 v0.7

    Bumped! πŸ‡­πŸ‡°

    Diff: 0.6.0...0.7.0

    Changes:

    • use coding-standard v0.6
    • don't use no-patch in codefixer
  • 0.6.0 v0.6.0

    Bumped! πŸ‘¨β€πŸš€

    Diff: 0.5.0...0.6.0

    Changes:

    • use coding-standard v0.5
  • 0.4.0 v0.4.0

    Bump! 🌁

    Diff: 0.3.3...0.4.0

    Changes:

    • drop composer scripts
    • Travis tests only PHP 7.1

    Notice: This is last release minor version of PHP 5.6

  • 0.5.0 v0.5.0

    Bump! 🏭

    Diff: 0.4.0...0.5.0

    Changes:

    • require PHP 7.1 (welcome πŸŽ‰)
  • 0.3.3 v0.3.3

    Bump! πŸ‘†

    Diff: 0.3.2...0.3.3

    Changes:

    • drop nette/tester
    • added exit codes only if its 0
    • added editorconfig
  • 0.3.2 v0.3.2

    Bump! ☝️

    Diff: 0.3.1...0.3.2

    Changes:

    • improve ruleset looking [a24a48e]
  • 0.3.1 v0.3.1

    Bump! πŸ‘‰

    Diff: 0.3...0.3.1

    Changes:

    • include nette/tester
  • 0.3 v0.3

    Bump! πŸ‘ˆ

    Diff: 0.2...0.3

    Changes:

    • update binaries (default folders, default ruleset)
  • 0.2 v0.2

    Bump! πŸ•ΉοΈ

    Diff: 0.1...0.2

    Changes:

    • added composer scripts (Linter, CodeFixer, CodeSniffer)
  • 0.1 v0.1

    Bumped! πŸ‘Š

Componette Componette felix@nette.org