PHPackages                             catcode-nl/php-code-sniffer-baseliner - 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. catcode-nl/php-code-sniffer-baseliner

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

catcode-nl/php-code-sniffer-baseliner
=====================================

Baseline tool which adds a phpcs:ignoreFile to the beginning of php files

04Shell

Since Jul 23Pushed 1y ago1 watchersCompare

[ Source](https://github.com/catcode-nl/php-code-sniffer-baseliner)[ Packagist](https://packagist.org/packages/catcode-nl/php-code-sniffer-baseliner)[ RSS](/packages/catcode-nl-php-code-sniffer-baseliner/feed)WikiDiscussions main Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Code Sniffer Baseliner
==========================

[](#php-code-sniffer-baseliner)

A project that can be used to add a `// phpcs:ignoreFile baseline` statement to php and phtml files.
The goal of this project is to not force the user that adds a new phpcs rule towards the ruleset, to have to adjust all existing code.
To make sure the new code rules are still being added to the existing code a pre commit hook can be added that reminds the developer which edits a file if the baseline marker is still there, and that it should be removed.

How to use
----------

[](#how-to-use)

When the phpcs command is installed, the following command can be executed to add the ignoreFile statement to all files with issues.

```
./vendor/catcode-nl/php-code-sniffer-baseliner/bin/phpcs-baseliner

```

When it is preferred to have an ignoreFile statement in all php/phtml files in a given folder, the following command can be used:

```
./vendor/catcode-nl/php-code-sniffer-baseliner/bin/phpcs-baseliner ./src

```

The `./src` in above command can be replaced with any folder that is required.

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity18

Early-stage or recently created project

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16151444?v=4)[Sander Merks](/maintainers/MrBlueEyez)[@MrBlueEyez](https://github.com/MrBlueEyez)

### Embed Badge

![Health badge](/badges/catcode-nl-php-code-sniffer-baseliner/health.svg)

```
[![Health](https://phpackages.com/badges/catcode-nl-php-code-sniffer-baseliner/health.svg)](https://phpackages.com/packages/catcode-nl-php-code-sniffer-baseliner)
```

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14429.2M358](/packages/dms-phpunit-arraysubset-asserts)[phpbenchmark/phpbenchmark

Easy to use benchmark toolkit for your PHP-application. This library contains classes for comparing algorithms as well as benchmarking application responses

8011.5k2](/packages/phpbenchmark-phpbenchmark)

PHPackages © 2026

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