Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .mddoc.xml.dist
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<mddoc>

<docpage target="README.md" autoloader="psr4" autoloader-root-namespace="Quorum\Exporter" autoloader-root="src">
<autoloader type="composer"/>
<docpage target="README.md">

<section title="Exporter">
<badge-poser type="version" />
Expand Down
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ DataExport is the object used to orchestrate the export process regardless of ex
#### Method: DataExport->addSheet

```php
function addSheet(\Quorum\Exporter\DataSheet $sheet, ?string $sheetTitle = null): void
function addSheet(
\Quorum\Exporter\DataSheet $sheet,
?string $sheetTitle = null,
): void
```

Add a Data Sheet to the export.
Expand Down Expand Up @@ -250,7 +253,12 @@ class CsvEngine {
#### Method: CsvEngine->__construct

```php
function __construct(string $outputEncoding = self::UTF16LE, ?string $delimiter = null, string $enclosure = '"', string $inputEncoding = self::UTF8)
function __construct(
string $outputEncoding = self::UTF16LE,
?string $delimiter = null,
string $enclosure = '"',
string $inputEncoding = self::UTF8,
)
```

The default and highly recommended export format for CSV tab delimited UTF-16LE with leading Byte Order Mark.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"friendsofphp/php-cs-fixer": "^3.16",
"squizlabs/php_codesniffer": "^3.6",
"corpus/coding-standard": "^0.9.0",
"donatj/mddoc": "^0.12.0",
"donatj/mddoc": "^0.13.0",
"phpstan/phpstan": "^2.1"
},
"license": "MIT",
Expand Down
Loading