← Catalogue

php_fatal

A PHP fatal or parse error and the stack trace after it.

phpruntimetoolmatcher

Open in playgroundFile on GitHubHistory

Install: ci-doctor matchers add official/php_fatal

matchers/php/php_fatal/matcher.yaml

id: php_fatalrole: toolclassification: [php, runtime]description: A PHP fatal or parse error and the stack trace after it.pattern: 'PHP (Fatal|Parse) error|^Fatal error:'before: 1after: 8

In bundles

allphp

Fixtures

Framing stripped per provider. Highlighted lines are what this matcher selects; the marked line is the anchor.

php_fatal_errorOpen in playground

1Current runner version: '2.336.0'
2##[group]Operating System
3Ubuntu
424.04.4
5LTS
6##[endgroup]
7Secret source: Actions
8Prepare workflow directory
9Prepare all required actions
10Complete job name: php_fatal_error
11##[group]Set up job
12Image: ubuntu-24.04
13Runner name: 'GitHub Actions 12'
14##[endgroup]
15Download action repository 'actions/checkout@v4'
16Download action repository 'actions/cache@v4'
17##[group]Run actions/checkout@v4
18 with:
19 fetch-depth: 20
20 lfs: false
21##[endgroup]
22Syncing repository: acme/ledger
23##[group]Getting Git version info
24Working directory is '/home/runner/work/ledger/ledger'
25##[endgroup]
26/usr/bin/git checkout --progress --force 8ad41f02
27##[group]Run actions/cache@v4
28 with:
29 path: ~/.cache
30 key: Linux-deps-8ad41f02
31##[endgroup]
32Received 41943040 of 41943040 (100.0%), 40.0 MBs/sec
33Cache restored from key: Linux-deps-8ad41f02
34##[group]Run composer install --no-interaction --no-progress
35composer install --no-interaction --no-progress
36php bin/console cache:warmup --env=prod
37shell: /usr/bin/bash -e {0}
38##[endgroup]
39Installing dependencies from lock file (including require-dev)
40Generating optimized autoload files
41PHP Fatal error: Uncaught TypeError: App\Pricing\VatCalculator::__construct(): Argument #1 ($rate) must be of type float, string given, called in /builds/team/shop/src/Kernel.php on line 88 and defined in /builds/team/shop/src/Pricing/VatCalculator.php:19
42Stack trace:
43#0 /builds/team/shop/src/Kernel.php(88): App\Pricing\VatCalculator->__construct('0.19')
44#1 /builds/team/shop/src/Kernel.php(41): App\Kernel->registerServices()
45#2 /builds/team/shop/bin/console(31): App\Kernel->boot()
46#3 {main}
47 thrown in /builds/team/shop/src/Pricing/VatCalculator.php on line 19
48##[error]Process completed with exit code 255.
49##[group]Post Run actions/checkout@v4
50##[endgroup]
51/usr/bin/git version
52git version 2.54.0
53##[group]Post Run actions/upload-artifact@v4
54##[endgroup]
55Artifact upload complete.
56##[warning]var/cache/prod/: no matching files. Ensure that the artifact path is relative to the working directory
57Post job cleanup.
58Cleaning up orphan processes