Skip to content

Commit

Permalink
chore: run php-cs-fixer (#835)
Browse files Browse the repository at this point in the history
* chore: run php-cs-fixer

* chore: run php-cs-fixer tests

* changelog update

* Fixed changelog

---------

Co-authored-by: Progi1984 <[email protected]>
  • Loading branch information
kw-pr and Progi1984 authored Dec 12, 2024
1 parent 04700ed commit 094c022
Show file tree
Hide file tree
Showing 237 changed files with 244 additions and 7 deletions.
1 change: 1 addition & 0 deletions docs/changes/1.2.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
## Bug fixes

- Word2007 Reader: Fixed cast of spacing fixing [#729](https://github.com/PHPOffice/PHPPresentation/pull/729), [#796](https://github.com/PHPOffice/PHPPresentation/pull/796) in [#818](https://github.com/PHPOffice/PHPPresentation/pull/818)
- CI : Fixed PHPCSFixer by [@kw-pr](https://github.com/kw-pr) in [#835](https://github.com/PHPOffice/PHPPresentation/pull/835)

## Miscellaneous

Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/AbstractShape.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Autoloader.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/ComparableInterface.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/DocumentLayout.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/DocumentProperties.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Exception/FileCopyException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Exception/FileNotFoundException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Exception/FileRemoveException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Exception/InvalidClassException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Exception/NotAllowedValueException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Exception/OutOfBoundsException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Exception/PhpPresentationException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/GeometryCalculator.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/HashTable.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/IOFactory.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
5 changes: 3 additions & 2 deletions src/PhpPresentation/PhpPresentation.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down Expand Up @@ -340,15 +341,15 @@ public function copy(): self
}

/**
* @return array<int, Slide\SlideMaster>|ArrayObject<int, Slide\SlideMaster>
* @return array<int, SlideMaster>|ArrayObject<int, SlideMaster>
*/
public function getAllMasterSlides()
{
return $this->slideMasters;
}

/**
* @param array<int, Slide\SlideMaster>|ArrayObject<int, Slide\SlideMaster> $slideMasters
* @param array<int, SlideMaster>|ArrayObject<int, SlideMaster> $slideMasters
*/
public function setAllMasterSlides($slideMasters = []): self
{
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/PresentationProperties.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Reader/ODPresentation.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Reader/PowerPoint2007.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Reader/PowerPoint97.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Reader/ReaderInterface.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Reader/Serialized.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/AbstractGraphic.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/AutoShape.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Chart.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Chart/Axis.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Chart/Gridlines.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Chart/Legend.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Chart/Marker.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Chart/PlotArea.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Chart/Series.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Chart/Title.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Chart/Type/AbstractType.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Chart/Type/AbstractTypeBar.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Chart/Type/AbstractTypeLine.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Chart/Type/AbstractTypePie.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Chart/Type/Area.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Chart/Type/Bar.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Chart/Type/Bar3D.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Chart/Type/Doughnut.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Chart/Type/Line.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Chart/Type/Pie.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Chart/Type/Pie3D.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Chart/Type/Radar.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Chart/Type/Scatter.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Chart/View3D.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Comment.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Comment/Author.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Drawing/Base64.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Drawing/File.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Drawing/Gd.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Drawing/ZipFile.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Group.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
1 change: 1 addition & 0 deletions src/PhpPresentation/Shape/Hyperlink.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* This file is part of PHPPresentation - A pure PHP library for reading and writing
* presentations documents.
Expand Down
Loading

0 comments on commit 094c022

Please sign in to comment.