Hello,
Those extra dots appear when the cell includes cell margins. You get the same output with MS Word as well if you add cell margins to a cell, hide borders and enable View Gridlines.
phpdocx and MS Word return the same outputs. If you don't want to see those extra dots, added by MS Word when enabling the View Gridlines option, please avoid setting cell margins.
Regards.