PHPackages                             littlemanco/arcanist-lint-checkstyle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. littlemanco/arcanist-lint-checkstyle

ActiveLibrary[Testing &amp; Quality](/categories/testing)

littlemanco/arcanist-lint-checkstyle
====================================

A package that extends Arcanist lints to support checkstyle output

2.0.0(9y ago)11.1kMITPHP

Since Jan 29Pushed 8y ago1 watchersCompare

[ Source](https://github.com/littlemanco/arcanist-lint-checkstyle)[ Packagist](https://packagist.org/packages/littlemanco/arcanist-lint-checkstyle)[ Docs](https://github.com/littlemanco/arcanist-lint-checkstyle)[ RSS](/packages/littlemanco-arcanist-lint-checkstyle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Arcanist Checkstyle Lint
========================

[](#arcanist-checkstyle-lint)

Project Goals
-------------

[](#project-goals)

Arcanist provides an excellent linting system, that aggregates other linting tools for easy consumption. This makes tools that output content in the checkstyle format consumable by arcanist.

Similar Work
------------

[](#similar-work)

This was largely based off the script-and-regex check that already existed

Justification
-------------

[](#justification)

I could not figure out a way to get checkstyle content into arcanist easily otherwise; Checkstyle is XML, so it was easy and interesting to build a parser.

Limitations
-----------

[](#limitations)

- Only tested with shellcheck

Summary
-------

[](#summary)

- License: MIT
- Code Style: PSR2\*
- Locale: en-AU \[lang\]\_

- Amusingly, it fails PSR2

Compatibility
-------------

[](#compatibility)

### PHP

[](#php)

- 5.6 (probably)
- 7

Installation
------------

[](#installation)

This tool can be installed with composer:

```
$ composer require --dev littlemanco/arcanist-lint-checkstyle

```

It's available on Packagist, so it should "Just Work"

Usage
-----

[](#usage)

This linter integrates with the normal Arcanist lints, however some additional setup is required to get Arcanist to find the linter. Create a file in your repo as follows:

```
{
  "load": [
    "vendor/littlemanco/arcanist-lint-checkstyle/src/"
  ]
}

```

This allows arcanist to discover the lint. Then, it can be configured like other lints:

```
{
  "linters": {
    ...
    "sh": {
      "type": "checkstyle",
      "include": "(\\.sh$)",
      "checkstyle.script": "sh -c 'shellcheck --format=checkstyle \"$0\" || true'"
    }
    ...
  }
}

```

Thanks
------

[](#thanks)

- Phabricator
- Checkstyle
- Shellcheck

Contributing
------------

[](#contributing)

Contributions are always welcome! Nothing is too small, and the best place to start is to open an issue.

References
----------

[](#references)

.. \[lang\] Lingoes.net,. (2015). Language Code Table. Retrieved 4 June 2015, from

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

3390d ago

Major Versions

1.0.0 → 2.0.02017-01-29

### Community

---

Top Contributors

[![andrewhowdencom](https://avatars.githubusercontent.com/u/6720547?v=4)](https://github.com/andrewhowdencom "andrewhowdencom (4 commits)")

---

Tags

arcanist

### Embed Badge

![Health badge](/badges/littlemanco-arcanist-lint-checkstyle/health.svg)

```
[![Health](https://phpackages.com/badges/littlemanco-arcanist-lint-checkstyle/health.svg)](https://phpackages.com/packages/littlemanco-arcanist-lint-checkstyle)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
