Page MenuHomePhorge

DivinerArticleAtomizer.php fails with passing null to strlen error under PHP 8.1
Closed, ResolvedPublic

Description

Trying to generate some diviner documentation fails with

Passing null to parameter #1 ($string) of type string is deprecated at [/phorge/src/applications/diviner/atomizer/DivinerArticleAtomizer.php:17]

Test case:
Create a directory with Test.book

{
  "name" : "test",
  "title" : "Test Docs",
  "root" : ".",
  "rules" : {
    "(\\.md$)" : "DivinerArticleAtomizer"
  }
}

and test.md

Some Text...

The run:

/phorge/bin/diviner generate --book Test.book

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.