All Projects → PHPCheckstyle → Phpcheckstyle

PHPCheckstyle / Phpcheckstyle

Licence: lgpl-3.0
PHPCheckstyle is an open-source tool that helps PHP programmers adhere to certain coding conventions.

Projects that are alternatives of or similar to Phpcheckstyle

diff-check
Incremental code analysis tools based on checkstyle, pmd and jacoco
Stars: ✭ 48 (-68.21%)
Mutual labels:  checkstyle
Gradle Static Analysis Plugin
Easy setup of static analysis tools for Android and Java projects.
Stars: ✭ 398 (+163.58%)
Mutual labels:  checkstyle
Quality Checks
Gradle plugin which includes Checkstyle, FindBugs, and PMD basic configuration.
Stars: ✭ 38 (-74.83%)
Mutual labels:  checkstyle
OOP-Design-Patterns
MET CS665 - OOP Design Patterns Code Examples
Stars: ✭ 74 (-50.99%)
Mutual labels:  checkstyle
Okcheck
Incremental scan,integrate Lint、KtLint、UnitTest、Checkstyle、Findbugs、Pmd, powerful and easy to use
Stars: ✭ 285 (+88.74%)
Mutual labels:  checkstyle
Kotlin Android Starter
[Kotlin Android] Kotlin Android starter based MVP/Dagger2/RxJava2/Robolectric/Espresso/Mockito. It provides a generator to fast create a Kotlin Android project.
Stars: ✭ 589 (+290.07%)
Mutual labels:  checkstyle
arcanist-linters
A collection of custom Arcanist linters
Stars: ✭ 64 (-57.62%)
Mutual labels:  checkstyle
Haxe Checkstyle
Haxe Checkstyle
Stars: ✭ 110 (-27.15%)
Mutual labels:  checkstyle
Tvflix
TvFlix android app using Dagger Hilt, Coroutines, Flow, KTX, Jetpack(Room, ViewModel, Paging3, Lifecycle) based on MVVM architecture purely written in Kotlin
Stars: ✭ 286 (+89.4%)
Mutual labels:  checkstyle
Codeanalysis
Android静态代码分析
Stars: ✭ 31 (-79.47%)
Mutual labels:  checkstyle
Debt-Manager
A personal app to store people that owe you money or you owe money to. "Mo Money Mo Problems" 🎵 - The Notorious B.I.G. 😎
Stars: ✭ 22 (-85.43%)
Mutual labels:  checkstyle
Gradle Code Quality Tools Plugin
Gradle plugin that generates ErrorProne, Findbugs, Checkstyle, PMD, CPD, Lint, Detekt & Ktlint Tasks for every subproject.
Stars: ✭ 282 (+86.75%)
Mutual labels:  checkstyle
Checkstyle Idea
CheckStyle plug-in for IntelliJ IDEA
Stars: ✭ 738 (+388.74%)
Mutual labels:  checkstyle
errorformat
Vim's quickfix errorformat implementation in Go
Stars: ✭ 83 (-45.03%)
Mutual labels:  checkstyle
Violations Lib
Java library for parsing report files from static code analysis.
Stars: ✭ 94 (-37.75%)
Mutual labels:  checkstyle
JSR305CheckstylePlugin
a plugin which ensures nullness annotations on methods and constructors
Stars: ✭ 19 (-87.42%)
Mutual labels:  checkstyle
Android Starter
[Android Architecture] Android starter based on MVP/Dagger2/RxJava2/Robolectric/Espresso/Mockito. It provides a generator to fast create a Android template project.
Stars: ✭ 522 (+245.7%)
Mutual labels:  checkstyle
Gnag
A Gradle plugin that helps facilitate GitHub PR checking and automatic commenting of violations.
Stars: ✭ 120 (-20.53%)
Mutual labels:  checkstyle
Gradle Quality Plugin
Gradle quality plugin for Java and Groovy
Stars: ✭ 97 (-35.76%)
Mutual labels:  checkstyle
Checkstyle Action
Run Java checkstyle with reviewdog in github actions
Stars: ✭ 26 (-82.78%)
Mutual labels:  checkstyle

PHPCheckstyle

Build Status

Overview

PHPCheckstyle is an open-source tool that helps PHP programmers adhere to certain coding conventions. The tools checks the input PHP source code and reports any deviations from the coding convention.

The tool uses the PEAR Coding Standards as the default coding convention. But it allows you to configure it to suit your coding standards.

Please visit https://github.com/PHPCheckstyle/phpcheckstyle/wiki for more information and documentation

Requirements

  • PHP 5.0 or newer.
  • Web browser to view the checkstyle report (only for html view)
  • That's all.

Installation

Installation with Composer

composer require phpcheckstyle/phpcheckstyle

or Add phpcheckstyle/phpcheckstyle as a requirement to composer.json:

{
    "require": {
        "phpcheckstyle/phpcheckstyle": "dev-master"
    }
}

Update your packages with composer update or if installing from fresh, with composer install.

Manual Installation

Just download https://github.com/PHPCheckstyle/phpcheckstyle/archive/master.zip and unzip the distribution.

$> unzip PhpCheckstyle.zip

This will create a directory called phpcheckstyle and expand all files in it.

Testing with Vagrant

  • install VirtualBox

  • install Vagrant

  • launch vagrant up in the project root directory to start the VM

  • In case of problem with the "guest additions", launch :

vagrant plugin install vagrant-vbguest

  • to run PHPCheckstyle on itself, type vagrant provision --provision-with run_phpcheckstyle
  • to run PHPUnit, type vagrant provision --provision-with run_phpunit
  • to log inside the VM, type vagrant ssh

Usage

  • Change directory to the PHPCheckstyle installation directory.

    $> cd phpcheckstyle
    
  • Execute the run.php script providing the --src option.

    $> php run.php --src <php source directory/file>
    
  • Use the --help option to see more options

    $> php run.php --help
    

License

See LICENSE

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].