Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • N NetiPhpExcel
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • shopware
  • labs
  • NetiPhpExcel
  • Merge requests
  • !6

Merged
Created Jul 11, 2017 by Hendrik Rombach@hrombach

#26704 - Add parameter for strict null comparison

  • Overview 1
  • Commits 3
  • Changes 3

The Method PHPExcel_Worksheet::fromArray() takes a parameter $strictNullComparison which by default is false which has the effect that the cell data is not checked against the null value strictly, thus a value like bool(false) or int(0) will be treated like null, resulting in an empty cell.

Because this is very unfortunate in some situations, this PR adds a new parameter to \NetiPhpExcel\Service\PhpExcel\exportFunction() which can be used to set strict null comparison to true.

For purposes of BC, the default value is false.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: release/26704