From ae5fadff56b355e7ea30b458b34f79324978222d Mon Sep 17 00:00:00 2001 From: Gabriel Caruso Date: Sun, 31 Dec 2017 09:53:05 -0200 Subject: [PATCH] Trailing whitespaces Signed-off-by: Gabriel Caruso --- CHANGELOG.md | 14 +++++++------- docs/topics/file-formats.md | 2 +- docs/topics/migration-from-PHPExcel.md | 6 +++--- docs/topics/reading-and-writing-to-file.md | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5cdb56e0..bdc240d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,7 +19,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Added - Support to write merged cells in ODS format - [#287](https://github.com/PHPOffice/PhpSpreadsheet/issues/287) -- Able to set the `topLeftCell` in freeze panes - [#261](https://github.com/PHPOffice/PhpSpreadsheet/pull/261) +- Able to set the `topLeftCell` in freeze panes - [#261](https://github.com/PHPOffice/PhpSpreadsheet/pull/261) - Support `DateTimeImmutable` as cell value - Support migration of prefixed classes @@ -64,12 +64,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Easier usage of chart renderers, see the [migration guide](./docs/topics/migration-from-PHPExcel.md). - Rename a few more classes to keep them in their related namespaces: - `CalcEngine` => `Calculation\Engine` - - `PhpSpreadsheet\Calculation` => `PhpSpreadsheet\Calculation\Calculation` - - `PhpSpreadsheet\Cell` => `PhpSpreadsheet\Cell\Cell` - - `PhpSpreadsheet\Chart` => `PhpSpreadsheet\Chart\Chart` - - `PhpSpreadsheet\RichText` => `PhpSpreadsheet\RichText\RichText` - - `PhpSpreadsheet\Style` => `PhpSpreadsheet\Style\Style` - - `PhpSpreadsheet\Worksheet` => `PhpSpreadsheet\Worksheet\Worksheet` + - `PhpSpreadsheet\Calculation` => `PhpSpreadsheet\Calculation\Calculation` + - `PhpSpreadsheet\Cell` => `PhpSpreadsheet\Cell\Cell` + - `PhpSpreadsheet\Chart` => `PhpSpreadsheet\Chart\Chart` + - `PhpSpreadsheet\RichText` => `PhpSpreadsheet\RichText\RichText` + - `PhpSpreadsheet\Style` => `PhpSpreadsheet\Style\Style` + - `PhpSpreadsheet\Worksheet` => `PhpSpreadsheet\Worksheet\Worksheet` ## [1.0.0-beta] - 2017-08-17 diff --git a/docs/topics/file-formats.md b/docs/topics/file-formats.md index c416105c..d447a2f0 100644 --- a/docs/topics/file-formats.md +++ b/docs/topics/file-formats.md @@ -11,7 +11,7 @@ Currently, PhpSpreadsheet supports the following File Types for Reading: ### Xls The Microsoft Excel™ Binary file format (BIFF5 and BIFF8) is a binary -file format that was used by Microsoft Excel™ between versions 95 and 2003. +file format that was used by Microsoft Excel™ between versions 95 and 2003. The format is supported (to various extents) by most spreadsheet programs. BIFF files normally have an extension of .xls. Documentation describing the format can be [read online](https://msdn.microsoft.com/en-us/library/cc313154(v=office.12).aspx) diff --git a/docs/topics/migration-from-PHPExcel.md b/docs/topics/migration-from-PHPExcel.md index 7433741c..e04a70e8 100644 --- a/docs/topics/migration-from-PHPExcel.md +++ b/docs/topics/migration-from-PHPExcel.md @@ -29,7 +29,7 @@ In addition to automated changes, a few things need to be migrated manually. When using `IOFactory::createReader()`, `IOFactory::createWriter()` and `IOFactory::identify()`, the reader/writer short names are used. Those were changed, along as their corresponding class, to remove ambiguity: - + Before | After -----------------|--------- `'CSV'` | `'Csv'` @@ -206,7 +206,7 @@ JpGraph support is still available, it is unfortunately not up to date for lates and it will generate various warnings. If you rely on this feature, please consider -contributing either patches to JpGraph or another `IRenderer` implementation (a good +contributing either patches to JpGraph or another `IRenderer` implementation (a good candidate might be [CpChart](https://github.com/szymach/c-pchart)). Before: @@ -216,7 +216,7 @@ $rendererName = \PHPExcel_Settings::CHART_RENDERER_JPGRAPH; $rendererLibrary = 'jpgraph3.5.0b1/src/'; $rendererLibraryPath = '/php/libraries/Charts/' . $rendererLibrary; -\PHPExcel_Settings::setChartRenderer($rendererName, $rendererLibraryPath); +\PHPExcel_Settings::setChartRenderer($rendererName, $rendererLibraryPath); ``` After: diff --git a/docs/topics/reading-and-writing-to-file.md b/docs/topics/reading-and-writing-to-file.md index 2274db0a..a837bc88 100644 --- a/docs/topics/reading-and-writing-to-file.md +++ b/docs/topics/reading-and-writing-to-file.md @@ -793,9 +793,9 @@ class My_Custom_TCPDF_Writer extends \PhpOffice\PhpSpreadsheet\Writer\Pdf\Tcpdf protected function createExternalWriterInstance($orientation, $unit, $paperSize) { $instance = new My_Custom_TCPDF($orientation, $unit, $paperSize); - + // more configuration of $instance - + return $instance; } }