Skip to content

Release 1.0.0 #686

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 214 commits into from
Nov 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
214 commits
Select commit Hold shift + click to select a range
f8bb0e4
Fix. Text is subscripted when set superscript to false
May 17, 2017
962f667
Fix. Some coding style issues
May 17, 2017
7bed58d
Fix. Use space insteadof tab
May 17, 2017
200992b
Remove temp file
kw-pr Jul 21, 2017
08d5320
Merge pull request #385 from kw-pr/patch-1
Progi1984 Jul 25, 2017
668c38a
PHP 5.3 is not supported anymore by Travis CI : https://docs.travis-c…
Progi1984 Aug 5, 2017
332ad5a
Merge pull request #389 from Progi1984/develop
Progi1984 Aug 5, 2017
c076f90
#382 : Improve tests for validating the OOXML Schema
Progi1984 Aug 5, 2017
05aacd9
#382 : Validation for Open XML
Progi1984 Aug 6, 2017
2125747
#382 : Validation for Open XML
Progi1984 Aug 8, 2017
d552153
#382 : Validation for OpenDocument
Progi1984 Aug 8, 2017
d9495c2
#382 : OpenXML (ISO 29500-1 Strict)
Progi1984 Aug 8, 2017
d389d09
#382 : OpenXML (ISO 29500-1 Strict)
Progi1984 Aug 18, 2017
6bcde68
FIXED : Missing argument 1 for phpDocumentor\Descriptor\Collection::g…
Progi1984 Aug 23, 2017
ab4a660
Merge branch 'develop' into issue382
Progi1984 Aug 23, 2017
c1ddc26
Merge pull request #360 from qmachard/fix/subSupScript
Progi1984 Aug 23, 2017
d9c153a
#360 : Changelog
Progi1984 Aug 23, 2017
097d50a
Merge pull request #400 from Progi1984/develop
Progi1984 Aug 23, 2017
58c7200
#397 : PowerPoint2007 Reader : Background Color based on SchemeColor
Progi1984 Aug 23, 2017
90b9966
#355 : Doughnut Chart
Progi1984 Aug 30, 2017
5cdc592
#355 : Doughnut Chart (Changelog & Tests & WIP ODPresentation)
Progi1984 Aug 30, 2017
a740c8c
#355 :
Progi1984 Sep 7, 2017
cc1bc66
#355 : Fix PHPCS
Progi1984 Sep 7, 2017
e5ef770
#355 : Array to string conversion (PHPPresentation/src/PhpPresentatio…
Progi1984 Sep 7, 2017
a35c00d
#355 : PHP 7.1 is now supported
Progi1984 Sep 7, 2017
7bd91a4
Merge pull request #402 from Progi1984/issue355
Progi1984 Sep 7, 2017
7ec7069
#370 : PhpOffice\PhpPresentation\Style\Color : Define only the transp…
Progi1984 Sep 7, 2017
d7247d2
#370 : PowerPoint2007 Writer : Support for fill for transparent image
Progi1984 Sep 7, 2017
e39627c
#370 : ODPresentation Writer : Support for fill for transparent image
Progi1984 Sep 7, 2017
11f3438
#370 : ODPresentation Reader : Support for fill for image
Progi1984 Sep 7, 2017
2c3c6d7
#370 : PowerPoint2007 Reader : Support for fill for image
Progi1984 Sep 7, 2017
e67d8ef
Merge pull request #404 from Progi1984/issue370
Progi1984 Sep 8, 2017
5e58826
Merge remote-tracking branch 'upstream/develop' into issue382
Progi1984 Sep 8, 2017
9b09bb1
Merge branch 'develop' into issue397
Progi1984 Sep 8, 2017
ee77db7
Merge pull request #401 from Progi1984/issue397
Progi1984 Sep 8, 2017
caeb254
Merge branch 'develop' into issue382
Progi1984 Sep 11, 2017
505f7ab
#382 : PowerPoint2007 Writer (Validation)
Progi1984 Sep 13, 2017
a68511e
#382 : Replacement PHPDoc (return self => return )
Progi1984 Sep 13, 2017
6f4b5ad
#382 : Replacement (rand => mt_rand)
Progi1984 Sep 13, 2017
7c8fd25
#382 : ODPresentation Writer (Validation)
Progi1984 Sep 13, 2017
d442681
#382 : ODPresentation Writer (Validation)
Progi1984 Sep 13, 2017
39b6337
#382 : PHPCS Fixes
Progi1984 Sep 15, 2017
3d81081
#382 : PHPUnit fixes (PHP 5.4)
Progi1984 Sep 15, 2017
e2e0eda
refactoring and reducing cyclomatic complexity
mrjbtc Oct 10, 2017
9e078d5
remove extra space
mrjbtc Oct 16, 2017
ec76b80
adding new line at the end of the file
mrjbtc Oct 16, 2017
a839683
Merge pull request #408 from noodlesegg/develop
Progi1984 Oct 17, 2017
23038f0
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
carusogabriel Nov 4, 2017
f4e0be8
#382 : Fixes nefore merge
Progi1984 Nov 23, 2017
a07d42d
#382 : Fixes Sample 20
Progi1984 Nov 28, 2017
a3b983e
problems accessing files
pgee70 Dec 16, 2017
d008ebb
Update Sample_Header.php
pgee70 Dec 16, 2017
d250c1a
Update Sample_Header.php
pgee70 Dec 16, 2017
fb4458e
Update Sample_Header.php
pgee70 Dec 16, 2017
bbf4f83
Update Sample_Header.php
pgee70 Dec 16, 2017
47ec19e
Update Sample_Header.php
pgee70 Dec 16, 2017
ad87a6d
Fixes some CS
Progi1984 Dec 29, 2017
57687b3
Merge pull request #429 from pgee70/patch-2
Progi1984 Dec 29, 2017
30aa22b
Merge pull request #417 from carusogabriel/phpunit
Progi1984 Dec 29, 2017
ec56448
Refactoring tests
carusogabriel Dec 29, 2017
03661d1
Merge pull request #433 from carusogabriel/refactoring-tests
Progi1984 Dec 30, 2017
3d8b447
Trailing whitespaces
carusogabriel Dec 31, 2017
4ef5ce7
Remove extra lines
carusogabriel Dec 31, 2017
503b2cc
Merge pull request #434 from carusogabriel/clean-up
Progi1984 Dec 31, 2017
3b710b3
Simplify return
carusogabriel Jan 16, 2018
9a82da2
Change group shape extents to reflect content width/height.
Feb 4, 2018
006a348
Merge pull request #451 from redwillowlabs/develop
Progi1984 Feb 5, 2018
f4e000b
Merge pull request #445 from carusogabriel/patch-1
Progi1984 Feb 5, 2018
02aa18f
Remove % signs from PptCharts to fix chart generation. Fixes #452
bkanber Feb 8, 2018
ba7ca1a
Merge pull request #453 from bkanber/develop
Progi1984 Feb 8, 2018
4015666
Solve Problems with png transparencies
karlosagudo Feb 12, 2018
fd711d4
Update .travis.yml
andreybolonin Feb 21, 2018
849c2e2
Merge pull request #457 from andreybolonin/patch-1
Progi1984 Feb 21, 2018
3dea055
Use proper name for `ext-gd`
PowerKiKi Mar 12, 2018
f45de5b
Merge pull request #460 from PowerKiKi/gd
Progi1984 Mar 13, 2018
4554837
Merge pull request #454 from karlosagudo/FIX-Png-images-with-bad-tras…
Progi1984 Oct 3, 2018
97da2d9
Create auto_assign.yml
Progi1984 Oct 18, 2018
d07784c
Fix PHP Docs
Oct 23, 2018
3253348
Fix Regression PHP Docs int->float
Oct 23, 2018
8afafb3
Fix double aray in PHPDocs
Oct 23, 2018
fd44180
Merge pull request #513 from tolbon/FixPHPDocs
Progi1984 Oct 23, 2018
38d7c12
Update .travis.yml
andreybolonin Oct 27, 2018
028f81d
Merge pull request #516 from andreybolonin/patch-2
Progi1984 Oct 27, 2018
2e83d0f
FIXED : Validation of the composer.json
Progi1984 Jan 13, 2019
d9e4d81
Merge pull request #528 from Progi1984/develop
Progi1984 Jan 13, 2019
ad28139
Merge branch 'develop' into issue382
Progi1984 May 10, 2019
d365fb1
#382 Update Composer
Progi1984 May 24, 2019
e30d9ef
#382 : Fixes ECMA-376
Progi1984 May 24, 2019
47ad4e9
Merge pull request #5 from Progi1984/Progi1984-issue382
Progi1984 May 24, 2019
b005ad2
#382 : Fixes ECMA-376
Progi1984 May 28, 2019
4d3a9ff
#382 : Fixes OpenDocument
Progi1984 May 28, 2019
9e5b584
Merge pull request #6 from Progi1984/Progi1984-issue382
Progi1984 May 28, 2019
1cb1a89
#382 : Fixes OpenDocument
Progi1984 May 28, 2019
6c1feb3
Merge pull request #7 from Progi1984/Progi1984-issue382
Progi1984 May 28, 2019
3ee3cb6
Update composer.json
Progi1984 May 29, 2019
1d6ea70
Update composer.json
Progi1984 May 29, 2019
17d0ada
Composer : PHPUnit
Progi1984 May 29, 2019
16a72be
#382 : Remove options not compatible with latest phpunit version
Progi1984 May 29, 2019
4c1d272
#382 : TypeError: Argument 2 passed to PHPUnit\Framework\Assert::asse…
Progi1984 May 29, 2019
23b1f96
#382 : The each() function is deprecated. This message will be suppre…
Progi1984 May 29, 2019
8646387
#382 : Error: Call to undefined method PhpOffice\PhpPresentation\Test…
Progi1984 May 29, 2019
c4472d6
#382 : PHPCS Fixes
Progi1984 May 29, 2019
1c5d885
#382 : PHPDoc : PHP Fatal error: Uncaught Doctrine\Common\Annotation…
Progi1984 May 29, 2019
7104afe
#540 : Disable documentation
Progi1984 May 29, 2019
dcb86c5
#540 : Disable documentation
Progi1984 May 29, 2019
cd1d807
Merge pull request #390 from Progi1984/issue382
Progi1984 Jun 9, 2019
f312727
fix other image mime type
smithyj Jun 10, 2019
6a51e02
Merge pull request #547 from smithyj/patch-1
Progi1984 Jun 10, 2019
c95d01f
Drop the support for HHVM
sunspikes Oct 1, 2019
eaad91e
Merge pull request #556 from sunspikes/develop
Progi1984 Oct 1, 2019
dad7d51
Add support for image hyperlinks
Oct 5, 2019
3f54b75
Update CHANGELOD.md
ulziibuyan Oct 8, 2019
28f86ef
Display hyperlink properties of Drawing\Gd shape
Oct 9, 2019
fa28cf1
Merge pull request #557 from ulziibuyan/develop
Progi1984 Oct 9, 2019
af3810e
Fix load PowerPoint 2007 images.
polidog Jul 26, 2019
76c7f6a
Updated Changelog
Progi1984 Oct 14, 2019
6dc7fc2
Merge pull request #553 from polidog/fix-load-image
Progi1984 Oct 14, 2019
859321f
Check if $this->height is zero
surger Aug 27, 2019
f51f8a3
Check if $this->width is zero
Progi1984 Oct 14, 2019
a4b5fce
Updated Changelog
Progi1984 Oct 14, 2019
344c779
Merge pull request #555 from surger/patch-1
Progi1984 Oct 15, 2019
309ef3e
Fix travis composer install memory exhaustion issue
TonisOrmisson Jun 14, 2020
9b66e5c
Merge pull request #582 from TonisOrmisson/fix-travis-memory
Progi1984 Jun 14, 2020
8b9167e
Add drawings to slide layouts
Brenneisen Jun 16, 2020
504133b
Add background images to slide layouts
Brenneisen Jun 16, 2020
a352768
Merge pull request #578 from Brenneisen/slide-layouts
Progi1984 Jun 18, 2020
7a1c355
Upgrade to GitHub-native Dependabot
dependabot-preview[bot] Apr 29, 2021
49d3fe5
Merge pull request #630 from PHPOffice/dependabot/add-v2-config-file
Progi1984 Apr 29, 2021
7ee6e27
#605 : Fixed Stacked or PercentStacked Charts
Progi1984 May 31, 2021
3ab8437
#605 : Fixed PHPMD errors
Progi1984 May 31, 2021
50890dc
#605 : Fixed Travis CI
Progi1984 May 31, 2021
2ef3159
Merge pull request #633 from Progi1984/issue605
Progi1984 May 31, 2021
adbfd51
#634 : Added Github Actions
Progi1984 May 31, 2021
8bf50ec
#634 : Removed Travis CI
Progi1984 Jun 1, 2021
77d7ec5
Merge pull request #635 from Progi1984/issue634_ghactions
Progi1984 Jun 1, 2021
49312ba
#634 : Add support PHP 7.4 to 8.0 & Remove support PHP < 7.1
Progi1984 Jun 4, 2021
f2262a6
Merge pull request #636 from Progi1984/issue634_ghactions
Progi1984 Jun 6, 2021
524fd59
#634 : Fixed links
Progi1984 Jun 6, 2021
0767802
#634 : Enable PHPCSFixer
Progi1984 Jun 6, 2021
8db2fd5
Merge pull request #637 from Progi1984/issue634_next
Progi1984 Jun 7, 2021
7a02afb
#634 : Enable PHPStan
Progi1984 Jun 7, 2021
75e303e
Merge pull request #639 from Progi1984/issue634_phpstan
Progi1984 Jun 18, 2021
2caa24e
#634 : Rules for PHPCSFixer
Progi1984 Jun 18, 2021
e6ac07c
Merge pull request #640 from Progi1984/issue634_phpcsfixer
Progi1984 Jun 18, 2021
ea4a519
#634 : Moved documentation to mkdocs
Progi1984 Jul 3, 2021
a6b0560
#634 : Documentation (PHPDoc & Code Coverage)
Progi1984 Jul 3, 2021
dfaff37
#634 : Deploy only on develop
Progi1984 Jul 3, 2021
dbed45d
Merge pull request #647 from Progi1984/issue634_mkdocs
Progi1984 Jul 3, 2021
f29b8c6
#634: Added link to Coveralls
Progi1984 Jul 4, 2021
1668870
Merge pull request #648 from Progi1984/634_coveralls
Progi1984 Jul 4, 2021
6715300
#634 : Changelog
Progi1984 Jul 4, 2021
516b126
Merge pull request #649 from Progi1984/issue634_changelog
Progi1984 Jul 4, 2021
8e4ed9f
#634 : Removed deprecated methods/classes
Progi1984 Jul 4, 2021
2a5cfcc
Merge pull request #650 from Progi1984/634_deprecated
Progi1984 Jul 5, 2021
a566943
#634 : Fixed Doc
Progi1984 Jul 5, 2021
0b7b2f5
Merge pull request #651 from Progi1984/634_deprecated
Progi1984 Jul 5, 2021
44f6abd
#634 : Migrated use of PHPExcel to PhpSpreadsheet
Progi1984 Jul 6, 2021
5a3e94b
Set rels index for slide layouts
Brenneisen Jul 1, 2021
8048fd3
Merge pull request #646 from Brenneisen/slide-layouts
Progi1984 Jul 6, 2021
743d0cf
Merge pull request #652 from Progi1984/634_phpspreadsheet
Progi1984 Jul 6, 2021
18bc39b
Support for Slideshow Type (Fullscreen/Window/Kiosk mode)
Progi1984 Jul 22, 2021
c0d5bbd
Merge pull request #656 from Progi1984/showType
Progi1984 Jul 22, 2021
be48bb3
Support for RTL in Alignment & Font Format (Latin/East Asian/Complex …
Progi1984 Jul 23, 2021
e15d411
Merge pull request #657 from Progi1984/rtlSupport
Progi1984 Jul 23, 2021
921dbfd
Added support for Border & Fill for Chart's Marker in PowerPoint2007 …
Progi1984 Jul 25, 2021
6c46ff2
Merge pull request #658 from Progi1984/markerBorderFill
Progi1984 Jul 25, 2021
56a6b19
#271 : PowerPoint2007/ODPresentation Writer : Support for rotation fo…
Progi1984 Oct 13, 2017
543e19a
Merge pull request #410 from PHPOffice/issue271pptx
Progi1984 Jul 25, 2021
b933174
Support for managing missing values in Chart
Progi1984 Jul 26, 2021
7f626d9
Merge pull request #659 from Progi1984/displayBlankAs
Progi1984 Jul 27, 2021
4f47e18
Support for defining ticks label position for Axis in Chart
Progi1984 Jul 27, 2021
f8c8206
Merge pull request #660 from Progi1984/labelChart
Progi1984 Jul 27, 2021
40ee1ad
#171 : PowerPoint2007 : Interval Unit in Axis-X
Progi1984 May 30, 2017
e2f670e
Merge pull request #546 from Progi1984/issue171
Progi1984 Jul 29, 2021
72d48a4
Support for line smooth for line and scatter chart
Progi1984 Jul 29, 2021
7932eb1
Merge pull request #662 from Progi1984/lineSmooth
Progi1984 Jul 29, 2021
b9e1934
Added column spacing in RichText & line spacing mode & spacing before…
Progi1984 Aug 1, 2021
a0c665c
Merge pull request #663 from Progi1984/develop
Progi1984 Aug 2, 2021
a9a4ec7
#313 : PowerPoint2007 Writer : Support for custom document properties
Progi1984 Oct 14, 2017
be74207
Merge pull request #411 from PHPOffice/issue313pptx
Progi1984 Aug 3, 2021
729db48
#253 : PowerPoint2007 Writer : Support for RadarChart
Progi1984 Oct 14, 2017
536256d
Merge pull request #412 from PHPOffice/issue253pptx
Progi1984 Aug 3, 2021
6b39006
#634 : Improved documentation
Progi1984 Aug 3, 2021
6ecc77c
Merge pull request #665 from Progi1984/634_improvedDoc
Progi1984 Aug 3, 2021
e27128c
Support for Drawing (SVG format)
Progi1984 Aug 5, 2021
f996495
Merge pull request #666 from Progi1984/supportSVG
Progi1984 Aug 5, 2021
d77db89
Feat: adds bar overlap property for 2d bar charts
mindline-analytics Aug 9, 2021
0275e88
Fix: coding style
mindline-analytics Aug 9, 2021
eeb3ce6
Merge remote-tracking branch 'origin/develop' into feat-bar-overlap
mindline-analytics Aug 9, 2021
7b1ce67
Apply suggestions from code review
mindline-analytics Aug 9, 2021
27e220c
Merge remote-tracking branch 'github/feat-bar-overlap' into feat-bar-…
mindline-analytics Aug 9, 2021
2ace1b4
Docs: updates changelog
mindline-analytics Aug 9, 2021
302682f
Fix: coding style
mindline-analytics Aug 9, 2021
043fe79
Support for Geometric form
Progi1984 Sep 14, 2016
3ed8e2b
Merge pull request #545 from Progi1984/issue117
Progi1984 Aug 10, 2021
0022f5b
Docs: improves bar chart overlap documentation and fixes image source…
mindline-analytics Aug 10, 2021
6a57c84
Merge pull request #667 from mindline-analytics/feat-bar-overlap
Progi1984 Aug 11, 2021
c15fc66
Docs: fixes image source paths
mindline-analytics Aug 11, 2021
1abdf6c
Docs: fixes bar grouping description typo
mindline-analytics Aug 11, 2021
fc5274e
Merge pull request #668 from mindline-analytics/fix-docs-misc
Progi1984 Aug 11, 2021
9cbab74
#634 : Adding Strict Types
Progi1984 Aug 26, 2021
a964f3b
Merge pull request #673 from Progi1984/strictTypes
Progi1984 Aug 27, 2021
0af0122
Refact: sort sample files and groups
mindline-analytics Aug 27, 2021
1f72f44
Fix: sample markAsFinal => method must be called on presentation prop…
mindline-analytics Aug 27, 2021
7b04d83
CS
mindline-analytics Aug 27, 2021
9aa94d0
Fix: cast value type as string, due to strict mode changes
mindline-analytics Aug 27, 2021
2b04ee5
Merge pull request #675 from mindline-analytics/fix-value-type
Progi1984 Aug 27, 2021
cea5f34
#634 : Set specific exceptions
Progi1984 Sep 7, 2021
0116c89
Merge pull request #677 from Progi1984/634_exceptions
Progi1984 Sep 7, 2021
3a9d316
Merge pull request #674 from mindline-analytics/feat-sort-samples
Progi1984 Sep 7, 2021
192297f
Added support for PHP 8.1
Progi1984 Jul 29, 2021
75c366d
#634 : Upgrade major version of PHPOffice\Common
Progi1984 Sep 9, 2021
6bea496
Merge pull request #679 from Progi1984/634_common
Progi1984 Sep 9, 2021
5bcb57f
Merge pull request #661 from Progi1984/php81
Progi1984 Sep 15, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 0 additions & 16 deletions .codeclimate.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Set to true to add reviewers to pull requests
addReviewers: true

# Set to true to add assignees to pull requests
addAssignees: true

# A list of reviewers to be added to pull requests (GitHub user name)
reviewers:
- Progi1984

# A list of keywords to be skipped the process that add reviewers if pull requests include it
skipKeywords:
- WIP

# A number of reviewers added to the pull request
# Set 0 to add all the reviewers (default: 0)
numberOfReviewers: 0
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: composer
directory: "/"
schedule:
interval: monthly
time: "11:00"
open-pull-requests-limit: 10
assignees:
- Progi1984
50 changes: 50 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Deploy

on:
push:
branches:
- develop
pull_request:

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
### MkDocs
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install Python Dependencies
run: pip install mkdocs-material autolink-references-mkdocs-plugin
- name: Build documentation
run: mkdocs build --site-dir public
### PHPUnit
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
extensions: mbstring, intl, gd, xml, dom, json, fileinfo, curl, zip, iconv
coverage: xdebug
- name: Create directory public/coverage
run: mkdir ./public/coverage
- name: Create directory public/coverage
run: mkdir ./public/docs
- name: Install PHP Dependencies
run: composer install --ansi --prefer-dist --no-interaction --no-progress
- name: Install PhpDocumentor
run: wget https://phpdoc.org/phpDocumentor.phar && chmod +x phpDocumentor.phar
- name: Build Coverage Report
run: XDEBUG_MODE=coverage ./vendor/bin/phpunit -c ./ --coverage-text --coverage-html ./public/coverage
- name: Build Documentation
run: ./phpDocumentor.phar -d ./src -t ./public/docs

### Deploy
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/develop'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
95 changes: 95 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: PHPPresentation
on: [push, pull_request]
jobs:
php-cs-fixer:
name: PHP CS Fixer
runs-on: ubuntu-latest
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
extensions: mbstring, intl, gd, xml, dom, json, fileinfo, curl, zip, iconv
- uses: actions/checkout@v2

- name: Validate composer config
run: composer validate --strict

- name: Composer Install
run: composer global require friendsofphp/php-cs-fixer

- name: Add environment path
run: export PATH="$PATH:$HOME/.composer/vendor/bin"

- name: Run PHPCSFixer
run: php-cs-fixer fix --dry-run --diff

phpmd:
name: PHP Mess Detector
runs-on: ubuntu-latest
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
extensions: gd, xml, zip
- uses: actions/checkout@v2

- name: Composer Install
run: composer install --ansi --prefer-dist --no-interaction --no-progress

- name: Run phpmd
run: ./vendor/bin/phpmd src/,tests/ text ./phpmd.xml.dist

phpstan:
name: PHP Static Analysis
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1']
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: gd, xml, zip
- uses: actions/checkout@v2

- name: Composer Install
run: composer install --ansi --prefer-dist --no-interaction --no-progress

- name: Run phpstan
run: ./vendor/bin/phpstan analyse -c phpstan.neon.dist

phpunit:
name: PHPUnit
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1']
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: gd, xml, zip
coverage: xdebug

- uses: actions/checkout@v2

- name: Composer Install
run: composer install --ansi --prefer-dist --no-interaction --no-progress

- name: Run phpunit
run: ./vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover build/clover.xml

- name: Upload coverage results to Coveralls
if: matrix.php == '7.3'
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.4.3/php-coveralls.phar
chmod +x php-coveralls.phar
php php-coveralls.phar --coverage_clover=build/clover.xml --json_path=build/coveralls-upload.json -vvv
9 changes: 2 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,11 @@
Thumbs.db
Desktop.ini

### IDE Jetbrains PhpStorm
.idea
### IDE Eclipse
*.settings
*.project
*.buildpath

### Continuous Integration
build/
phpunit.xml
.php-cs-fixer.cache
.phpunit.result.cache
composer.phar
vendor
/batch_CI.bat
Expand Down
44 changes: 44 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?php

$config = new PhpCsFixer\Config();

$config
->setUsingCache(true)
->setRiskyAllowed(true)
->setRules([
'@Symfony' => true,
'array_indentation' => true,
'cast_spaces' => [
'space' => 'single',
],
'combine_consecutive_issets' => true,
'concat_space' => [
'spacing' => 'one',
],
'error_suppression' => [
'mute_deprecation_error' => false,
'noise_remaining_usages' => false,
'noise_remaining_usages_exclude' => [],
],
'function_to_constant' => false,
'method_chaining_indentation' => true,
'no_alias_functions' => false,
'no_superfluous_phpdoc_tags' => false,
'non_printable_character' => [
'use_escape_sequences_in_strings' => true,
],
'phpdoc_align' => [
'align' => 'left',
],
'phpdoc_summary' => false,
'protected_to_private' => false,
'self_accessor' => false,
'yoda_style' => false,
'single_line_throw' => false,
'no_alias_language_construct_call' => false,
])
->getFinder()
->in(__DIR__)
->exclude('vendor');

return $config;
24 changes: 0 additions & 24 deletions .scrutinizer.yml

This file was deleted.

66 changes: 0 additions & 66 deletions .travis.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .travis_shell_after_success.sh

This file was deleted.

Loading