PHPackages                             activecollab/baseline - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. activecollab/baseline

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

activecollab/baseline
=====================

Baseline for ActiveCollab project and components

4.0.0(3mo ago)142.8k↓15.3%MITPHPPHP &gt;=8.0CI failing

Since Jun 5Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/activecollab/baseline)[ Packagist](https://packagist.org/packages/activecollab/baseline)[ RSS](/packages/activecollab-baseline/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (15)Used By (0)

ActiveCollab Baseline
=====================

[](#activecollab-baseline)

Checking Code Quality
---------------------

[](#checking-code-quality)

### Checks

[](#checks)

Checks are grouped into two groups:

1. Fixers - they check and modify the code. Modified files are automatically staged,
2. Analyzers - they check the code, perform analysis without changing the code.

Intnetion for this type of separation is to clearly communicate what user can expect from a particular check.

### Running Checks Before each Commit

[](#running-checks-before-each-commit)

In order to add quality code checker as mandatory step prior to code being committed, you can use `pre-commit` hook. Open:

```
vi .git/hooks/pre-commit
```

and put:

```
#!/usr/bin/php
