carta
phploc(1)

phploc1

Phploc command line interface

Usage

phploc [options] <directory>

Overview

Options for selecting files:

--suffix <suffix> Include files with names ending in <suffix> in the analysis

(default: .php; can be given multiple times)

--exclude <path>

Exclude files with <path> in their path from the analysis (can be given multiple times)

Options for analysing files:

--count-tests

Count PHPUnit test case classes and test methods

Options for report generation:

--log-csv <file>

Write results in CSV format to <file>

--log-json <file> Write results in JSON format to <file>

--log-xml <file>

Write results in XML format to <file>

History

  • Debian 12 (Bookworm): the text shown here
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)
  • Debian 9 (Stretch)
  • Debian 8 (Jessie)

--ansi until Debian 10 (Buster); --git-repository until Debian 9 (Stretch); --help until Debian 10 (Buster); --names until Debian 10 (Buster); --names-exclude until Debian 10 (Buster); --no-ansi until Debian 10 (Buster); --no-interaction until Debian 10 (Buster); --progress until Debian 9 (Stretch); --quiet until Debian 10 (Buster); --version until Debian 10 (Buster); -V until Debian 10 (Buster); -h until Debian 10 (Buster); -n until Debian 10 (Buster); -q until Debian 10 (Buster).

From phploc 7.0.2-2 in Debian 12 (Bookworm). Parsed by carta from the page's man source.