Skip to content

Fix regex in cloneBlock function #1269

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 182 commits into from
Jul 18, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
182 commits
Select commit Hold shift + click to select a range
62d3f97
dded the ability to enable gridlines and axislabels on charts
FrankMeyer Jul 21, 2015
3a25177
Removed complains of php-codesniffer
FrankMeyer Jul 21, 2015
a652847
changed if statement due to error in codesniffer
FrankMeyer Jul 21, 2015
cb03487
Add Date Formats to Field Element
Aug 6, 2015
a9398e3
Fix Hour Casing for Intended Formats to Work Correctly
Aug 6, 2015
adfcc62
imagesavealpha() in Writer\AbstractWriter
samsullivan Apr 11, 2016
f4ec74a
imagesavealpha() in Element\Image
samsullivan Apr 11, 2016
133b727
table->setStretch() optionally avoids the table to stretch to the pag…
aoloe Jul 25, 2016
8ed3cac
Refactoring
carusogabriel Jan 16, 2018
caba7e2
Delete VERSION
lalop Jan 31, 2018
8a9a478
add (failing) test and correct documentation sample to valid HTML
mussbach Feb 1, 2018
e0096db
fix typo in test method name
mussbach Feb 1, 2018
4105a9a
improve `cloneBlock` regex
nicoder Feb 2, 2018
1813e2d
Merge pull request #1266 from samimussbach/fixTypoInTest
troosan Feb 2, 2018
edd9617
fix typo
nicoder Feb 4, 2018
4308ce9
Merge pull request #1271 from nicoder/patch-2
troosan Feb 4, 2018
cf6319d
Merge pull request #1264 from lalop/patch-1
troosan Feb 4, 2018
46a5f96
fix parsing of table and p inside table cells
troosan Feb 6, 2018
47c837a
add unit tests
troosan Feb 6, 2018
46476d7
update phpdoc
troosan Feb 7, 2018
33739ea
cannot add list on textrun
troosan Feb 7, 2018
304173c
fix nested list
troosan Feb 8, 2018
c0ed4ab
Merge remote-tracking branch 'samimussbach/PHPWord/fixNestedLists' in…
troosan Feb 8, 2018
24f3463
remove output
troosan Feb 8, 2018
fd127ef
Merge pull request #779 from samsullivan/imagesavealpha
troosan Feb 9, 2018
9cd5ab7
update changelog
troosan Feb 9, 2018
604e60c
Add support for Track changes (#1262)
troosan Feb 9, 2018
5b381bc
Merge branch 'develop' into various_html_parsing_fixes
troosan Feb 9, 2018
3f40c5e
Merge pull request #1273 from troosan/various_html_parsing_fixes
troosan Feb 9, 2018
91a8dd3
add parsing of p:br and add unit test
troosan Feb 10, 2018
874c6d6
update changelog
troosan Feb 10, 2018
b868c33
Merge pull request #1277 from troosan/fix_parsing_of_textbreaks
troosan Feb 10, 2018
377fb99
Add HTML writer for Bookmarks + tests
troosan Feb 10, 2018
5ff15e0
update testing instructions
troosan Feb 10, 2018
ee95cf3
Merge pull request #1278 from troosan/fix_internal_links_in_html_output
troosan Feb 10, 2018
e846602
fix null check
troosan Feb 11, 2018
7ddaed2
table->setStretch() optionally avoids the table to stretch to the pag…
aoloe Jul 25, 2016
615c1d5
Merge branch 'stretch-table' of https://github.com/aoloe/php-PHPWord
troosan Feb 13, 2018
6a926e2
refactor attribute name to layout, add doc and tests
troosan Feb 13, 2018
99d8b52
Merge pull request #1281 from troosan/add_table_layout
troosan Feb 14, 2018
e7232a7
Use singular form of twip
Trainmaster Feb 16, 2018
ab97835
Use same markup for describing unit of measurement
Trainmaster Feb 16, 2018
fede4f7
Add missing unit of measurement descriptions
Trainmaster Feb 16, 2018
d061c6d
Remove zend-stdlib dependency
Trainmaster Feb 15, 2018
7324070
Merge pull request #1284 from Trainmaster/feature-remove-zend-stdlib-…
troosan Feb 17, 2018
cc57eb9
Merge pull request #1286 from meteocontrol/feature-consistent-twip-na…
troosan Feb 17, 2018
ba03518
point next dev version to develop branch
troosan Feb 17, 2018
04d0c02
Add support for cellSpacing for tables (#1040)
dox07 Feb 17, 2018
bded91a
Footnote in listitem (#1289)
troosan Feb 17, 2018
def0237
Merge pull request #1248 from carusogabriel/patch-1
troosan Feb 18, 2018
59de019
Fix listitem parsing (#1290)
troosan Feb 18, 2018
557af99
Fix colspan and rowspan for tables in HTML Writer
mattbolt Feb 19, 2018
a95c3f8
Fix colspan and rowspan for tables in HTML Writer. Syntax improved.
mattbolt Feb 19, 2018
f3c73f3
Fix HTML parsing when style attribute is empty (#1295)
lalop Feb 27, 2018
7fe32e6
Add support for MACROBUTTON Field (#1021)
phryneas Feb 27, 2018
0869bdc
Add support for reading <w:tab/> element in runs. Internaly encoding …
zobo Mar 1, 2018
740e66a
randomize the tempDir more
troosan Mar 2, 2018
8a2cba2
Support multiple elements (w:t, w:delText, w:tab) in w:r.
zobo Mar 4, 2018
30b224b
Word2007 parsing title formatting (#1297)
troosan Mar 6, 2018
250fbd4
Added support for Vertically Raised or Lowered Text (w:position) (#1294)
troosan Mar 6, 2018
6a64979
Allow to set "autoHyphenation" setting (#1282)
Trainmaster Mar 6, 2018
f41c542
Enforce valid value for on/off type
Trainmaster Feb 15, 2018
edc3aa3
Improve assertions
Trainmaster Feb 15, 2018
9ffbd98
Add missing tests
Trainmaster Feb 15, 2018
d8f4a28
Make Composer scripts compatible with Windows
Trainmaster Mar 7, 2018
9affbf4
Merge pull request #1306 from Trainmaster/feature-make-composer-scrip…
troosan Mar 7, 2018
eb69009
Added new constant to Brazilian portuguese language
franciscosens Mar 8, 2018
f9a0554
Added support for Floating Table Positioning (tblpPr) (#639)
anrikun Mar 8, 2018
77f2b16
update copyright to 2018
troosan Mar 8, 2018
8bafe00
Merge pull request #1307 from franciscosens/add-suport-pt-br
troosan Mar 10, 2018
e29a3e7
add text wrapping distance
troosan Mar 11, 2018
a0111be
update changelog and doc
troosan Mar 11, 2018
6b48451
Merge pull request #1310 from troosan/add_image_wrap_distance
troosan Mar 11, 2018
17680f7
Merge branch 'develop' into word2007_read_tabs
troosan Mar 11, 2018
bb70eb0
fix docx parsing
troosan Mar 18, 2018
9ffce35
Merge pull request #1299 from zobo/word2007_read_tabs
troosan Mar 18, 2018
fb1e2e4
Merge branch 'ComputerTinker-AddFieldDateFormats' of
troosan Mar 18, 2018
4c84642
format & changelog
troosan Mar 18, 2018
997e214
add parsing of line-height and text-indent
troosan Mar 18, 2018
de2e05b
update changelog
troosan Mar 19, 2018
fe3f383
Merge pull request #1316 from troosan/html_css_parse
troosan Mar 19, 2018
97d60dd
tranlate percentage to rate
troosan Mar 19, 2018
de01e86
parse fixed line space
troosan Mar 19, 2018
16a9ded
add exact line spacing test
troosan Mar 19, 2018
f73beaa
reset static collections at instantiation
troosan Mar 19, 2018
992d842
fix
troosan Mar 19, 2018
296706a
add unit tests
troosan Mar 20, 2018
d7fc1a5
Merge branch 'develop' into develop
troosan Mar 20, 2018
d8caa0b
Merge pull request #1292 from mattbolt/develop
troosan Mar 20, 2018
d8387c1
Escape incoming invalid XML characters using htmlspecialchars().
tjarrett Feb 2, 2016
2c5970a
php 5.3 compatibility
troosan Mar 20, 2018
a8d1775
Merge remote-tracking branch 'FrankMeyer/develop' into develop
troosan Mar 21, 2018
45e2e92
fix graph data
troosan Mar 21, 2018
c08f271
check style fixes
troosan Mar 21, 2018
ade497d
update changelog and doc
troosan Mar 21, 2018
400ee57
fix
troosan Mar 22, 2018
34bda10
Fix images added in word 2011
Jan 6, 2015
9b722a5
Added missing namespaces
Jan 6, 2015
566e625
merge/add test/cleanup
troosan Mar 25, 2018
ed24140
update samples instructions
troosan Apr 2, 2018
67b18c3
fix
troosan Apr 2, 2018
ca82e19
support internal link in addHtml method
lalop Apr 7, 2018
a798171
addImage docs: Warn about user-generated strings
pcworld Apr 9, 2018
6253ada
Warn about parsing user-generated HTML
pcworld Apr 9, 2018
e885b37
Add missing param annotation
Trainmaster Apr 10, 2018
081c672
Add support for table indent
Trainmaster Apr 11, 2018
853fcec
Fix documented unit for image height/width
Trainmaster Apr 10, 2018
833cf07
Consistently format "pt" unit
Trainmaster Apr 10, 2018
9989e4e
Merge pull request #1341 from Trainmaster/fix-add-missing-param-annot…
troosan Apr 13, 2018
57edede
Merge pull request #1338 from pcworld/image-security-doc
troosan Apr 13, 2018
3380aa8
Merge pull request #1339 from meteocontrol/feature-wrong-unit-in-imag…
troosan Apr 13, 2018
6ba2df4
Merge pull request #1336 from lalop/addhtpl-bookmark
troosan Apr 13, 2018
9bc8534
fix code formatting
troosan Apr 14, 2018
dd27f66
add line height test
troosan Apr 14, 2018
b394247
Merge branch 'develop' into feature-add-table-indent-option
troosan Apr 14, 2018
85e1e5c
fix warning
troosan Apr 14, 2018
c52c96d
add support for STYLEREF field
troosan Apr 17, 2018
b147919
write column width in ODT writer
troosan Apr 18, 2018
5ec2c85
do not push code coverage after build of develop branch
troosan Apr 25, 2018
84fa440
Merge pull request #1343 from meteocontrol/feature-add-table-indent-o…
troosan Apr 25, 2018
4d9e9bc
Merge branch 'develop' into column_width_for_odt
troosan Apr 25, 2018
94be56b
fix parsing of link style
troosan Apr 25, 2018
96a47ec
Drop GitHub pages
czosel Apr 26, 2018
65b0f06
New features when creating charts (#1332)
jaek-s May 11, 2018
e47ce1b
Coveralls integration
czosel May 19, 2018
453ddf0
Do not try to read document protection if not present
troosan May 20, 2018
7f46d95
Merge branch 'develop' of https://github.com/PHPOffice/PHPWord into d…
troosan May 20, 2018
2480103
run coveralls when running build with code coverage
troosan May 20, 2018
2540641
disable external code coverage
troosan May 20, 2018
0b27bb9
update changelog
troosan May 20, 2018
cdb3633
Merge pull request #1360 from adfinis-forks/drop-gh-pages
troosan May 20, 2018
e6501eb
Update coverage badge
troosan May 20, 2018
90d4d30
Fix calls to the getEndingNotes method in the samples
WouterSioen May 23, 2018
58c6c52
merged with local version
May 23, 2018
d54cc6e
fix lint
May 23, 2018
a228811
fixes
May 23, 2018
c5d0f71
Merge pull request #1380 from WouterSioen/fix-get-ending-notes-calls
troosan May 23, 2018
46b7bea
increased test coverage of new lines
May 24, 2018
a89e4c9
added exception control to file_get_contents error
May 25, 2018
65a594d
cs-fixer fixes
May 25, 2018
0c9626c
add .gitattributes
troosan May 27, 2018
e02c5f7
Merge branch 'develop' of https://github.com/PHPOffice/PHPWord into d…
troosan May 27, 2018
da604a8
use annotation instead
troosan May 27, 2018
c22f7ea
add check on opened file
troosan May 27, 2018
82f3a2a
Update documentation for Style::add*Style methods (#1383)
hultberg May 30, 2018
b2cafff
Merge remote-tracking branch 'upstream/develop' into develop_upstream
troosan May 30, 2018
e764871
update changelog
troosan May 30, 2018
1a06173
Add parsing of html image in base64 format (#1382)
May 30, 2018
aa27109
Update Language.php
pianiomar May 31, 2018
0bd7c0b
Add constants for Italian
troosan May 31, 2018
4e37afa
Update CHANGELOG.md
troosan May 31, 2018
844a7c9
Merge pull request #1391 from omarpiani/develop
troosan Jun 1, 2018
d9ddc16
write column width in ODT writer
troosan Apr 18, 2018
da43a88
Address scrutinizer issues
troosan Jun 2, 2018
682b88b
Merge commit '4e37afa15da62cdd695a18db2a40d86615086e9d' into
troosan Jun 3, 2018
5b97190
remove unused imports
troosan Jun 3, 2018
4fa9455
Merge pull request #1352 from troosan/column_width_for_odt
troosan Jun 3, 2018
fe647f6
fix when style line-height size comes in decimal number
Jun 13, 2018
2593e9e
Merge branch 'develop' of github.com:jgpATs2w/PHPWord into develop
Jun 13, 2018
c93880b
clean sample resource
Jun 13, 2018
94cf1ae
Require `ext-zip` for development (#1419)
jjok Jul 13, 2018
536a1b8
disable entity loader
troosan Jul 13, 2018
96b21ba
update changelog
troosan Jul 13, 2018
4c4c6f4
remove options not compatible with latest phpunit version
troosan Jul 13, 2018
cdc1852
Merge pull request #1427 from troosan/libxml_disable_entity_loader
troosan Jul 13, 2018
3906be1
Added Support for Indentation & Tabs on RTF Writer. (#1405)
smaug1985 Jul 14, 2018
e028aef
update to final phpoffice/common version
troosan Jul 14, 2018
adc1428
use PasswordEncoder from phpoffice/common instead
troosan Jul 14, 2018
3290721
fix phpstan issues
troosan Jul 14, 2018
6475812
fix documentation
troosan Jul 14, 2018
de83da2
Merge branch 'develop' into parse_drawings
troosan Jul 14, 2018
9ee99d2
Merge pull request #1324 from troosan/parse_drawings
troosan Jul 14, 2018
af4f834
Merge branch 'develop' into develop
troosan Jul 14, 2018
54155bf
Update Sample_30_ReadHTML.html
troosan Jul 14, 2018
87498e4
Allow passing short lang code
troosan Jul 14, 2018
8fa1d4f
run checks with php 7.0
troosan Jul 14, 2018
27946ca
Merge pull request #1413 from jgpATs2w/develop
troosan Jul 14, 2018
fe454db
Merge pull request #1428 from troosan/parse_short_lang_code
troosan Jul 14, 2018
4c9e750
alias for develop branch
troosan Jul 14, 2018
affccc7
Merge branch 'improve-cloneBlock-regex' of https://github.com/nicoder…
troosan Jul 17, 2018
e07c655
adapt test
troosan Jul 18, 2018
1951db5
update changelog
troosan Jul 18, 2018
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
  •  
  •  
  •  
21 changes: 21 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# build config
/.scrutinizer.yml export-ignore
/.travis.yml export-ignore
/php_cs.dist export-ignore
/phpmd.xml.dist export-ignore
/phpstan.neon export-ignore

/composer.lock export-ignore

# git files
/.gitignore export-ignore
/.gitattributes export-ignore

# project directories
/build export-ignore
/docs export-ignore
/samples export-ignore

# tests
/phpunit.xml.dist export-ignore
/tests export-ignore
7 changes: 6 additions & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
build:
nodes:
analysis:
tests:
override: [php-scrutinizer-run]
filter:
excluded_paths: [ 'vendor/*', 'tests/*', 'samples/*', 'src/PhpWord/Shared/PCLZip/*' ]

Expand All @@ -14,7 +19,7 @@ tools:
config:
ruleset: phpmd.xml.dist
external_code_coverage:
enabled: true
enabled: false
timeout: 1200
php_cpd: true
# php_sim: # Temporarily disabled to allow focus on things other than duplicates
Expand Down
19 changes: 7 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,11 @@ php:

matrix:
include:
- php: 5.6
- php: 7.0
env: COVERAGE=1
allow_failures:
- php: 7.2

cache:
directories:
- vendor
- $HOME/.composer/cache
- .php-cs.cache

Expand All @@ -38,9 +35,9 @@ before_script:
- if [ -z "$COVERAGE" ]; then phpenv config-rm xdebug.ini ; fi
## Composer
- composer self-update
- composer install --prefer-source
- travis_wait composer install --prefer-source
## PHPDocumentor
- mkdir -p build/docs
##- mkdir -p build/docs
- mkdir -p build/coverage

script:
Expand All @@ -55,10 +52,8 @@ script:
## PHPLOC
- if [ -z "$COVERAGE" ]; then ./vendor/bin/phploc src/ ; fi
## PHPDocumentor
- if [ -z "$COVERAGE" ]; then ./vendor/bin/phpdoc -q -d ./src -t ./build/docs --ignore "*/src/PhpWord/Shared/*/*" --template="responsive-twig" ; fi
##- if [ -z "$COVERAGE" ]; then ./vendor/bin/phpdoc -q -d ./src -t ./build/docs --ignore "*/src/PhpWord/Shared/*/*" --template="responsive-twig" ; fi

after_script:
## PHPDocumentor
- bash .travis_shell_after_success.sh
## Scrutinizer
- if [ -n "$COVERAGE" ]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml ; fi
after_success:
## Coveralls
- if [ -n "$COVERAGE" ]; then travis_retry php vendor/bin/php-coveralls -v ; fi
39 changes: 0 additions & 39 deletions .travis_shell_after_success.sh

This file was deleted.

50 changes: 46 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,58 @@ Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

v0.15.0 (?? ??? 2018)
v0.16.0 (xx xxx 2018)
----------------------
### Added
- Parsing of "align" HTML attribute - @troosan #1231

### Fixed
- Fix regex in `cloneBlock` function @nicoder #1269

v0.15.0 (14 Jul 2018)
----------------------
### Added
- Parsing of `align` HTML attribute - @troosan #1231
- Parse formatting inside HTML lists - @troosan @samimussbach #1239 #945 #1215 #508
- Parsing of CSS `direction` instruction, HTML `lang` attribute, formatting inside table cell - @troosan #1273 #1252 #1254
- Add support for Track changes @Cip @troosan #354 #1262
- Add support for fixed Table Layout @aoloe @ekopach @troosan #841 #1276
- Add support for Cell Spacing @dox07 @troosan #1040
- Add parsing of formatting inside lists @atomicalnet @troosan #594
- Added support for Vertically Raised or Lowered Text (w:position) @anrikun @troosan #640
- Add support for MACROBUTTON field @phryneas @troosan #1021
- Add support for Hyphenation @Trainmaster #1282 (Document: `autoHyphenation`, `consecutiveHyphenLimit`, `hyphenationZone`, `doNotHyphenateCaps`, Paragraph: `suppressAutoHyphens`)
- Added support for Floating Table Positioning (tblpPr) @anrikun #639
- Added support for Image text wrapping distance @troosan #1310
- Added parsing of CSS line-height and text-indent in HTML reader @troosan #1316
- Added the ability to enable gridlines and axislabels on charts @FrankMeyer #576
- Add support for table indent (tblInd) @Trainmaster #1343
- Added parsing of internal links in HTML reader @lalop #1336
- Several improvements to charts @JAEK-S #1332
- Add parsing of html image in base64 format @jgpATs2w #1382
- Added Support for Indentation & Tabs on RTF Writer. @smaug1985 #1405
- Allows decimal numbers in HTML line-height style @jgpATs2w #1413

### Fixed
- fix reading of docx default style - @troosan #1238
- Fix reading of docx default style - @troosan #1238
- Fix the size unit of when parsing html images - @troosan #1254
- Fixed HTML parsing of nested lists - @troosan #1265
- Save PNG alpha information when using remote images. @samsullivan #779
- Fix parsing of `<w:br/>` tag. @troosan #1274
- Bookmark are not writton as internal link in html writer @troosan #1263
- It should be possible to add a Footnote in a ListItemRun @troosan #1287 #1287
- Fix colspan and rowspan for tables in HTML Writer @mattbolt #1292
- Fix parsing of Heading and Title formating @troosan @gthomas2 #465
- Fix Dateformat typo, fix hours casing, add Month-Day-Year formats @ComputerTinker #591
- Support reading of w:drawing for documents produced by word 2011+ @gthomas2 #464 #1324
- Fix missing column width in ODText writer @potofcoffee #413
- Disable entity loader before parsing XML to avoid XXE injection @Tom4t0 #1427

### Changed
- Remove zend-stdlib dependency @Trainmaster #1284
- The default unit for `\PhpOffice\PhpWord\Style\Image` changed from `px` to `pt`.

### Miscelaneous
- Drop GitHub pages, switch to coveralls for code coverage analysis @czosel #1360

v0.14.0 (29 Dec 2017)
----------------------
Expand Down Expand Up @@ -461,4 +503,4 @@ This is the first release after a long development hiatus in [CodePlex](https://
- Basic CI with Travis - @Progi1984
- Added PHPWord_Exception and exception when could not copy the template - @Progi1984
- IMPROVED: Moved examples out of Classes directory - @Progi1984
- IMPROVED: Advanced string replace in setValue for Template - @Esmeraldo [#49](http://phpword.codeplex.com/workitem/49)
- IMPROVED: Advanced string replace in setValue for Template - @Esmeraldo [#49](http://phpword.codeplex.com/workitem/49)
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ We want to create a high quality document writer and reader library that people

- **Be brief, but be bold**. State your issues briefly. But speak out your ideas loudly, even if you can't or don't know how to implement it right away. The world will be better with limitless innovations.
- **Follow PHP-FIG standards**. We follow PHP Standards Recommendations (PSRs) by [PHP Framework Interoperability Group](http://www.php-fig.org/). If you're not familiar with these standards, please, [familiarize yourself now](https://github.com/php-fig/fig-standards). Also, please, use [PHPCodeSniffer](http://pear.php.net/package/PHP_CodeSniffer/) to validate your code against PSRs.
- **Test your code**. Nobody else knows your code better than you. So, it's completely yours mission to test the changes you made before pull request submission. We use [PHPUnit](https://phpunit.de/) for our testing purposes and recommend you using this tool too. [Here](https://phpunit.de/presentations.html) you can find PHPUnit best practices and additional information on effective unit testing, which helps us making PHPWord better day to day. Do not hesitate to smoke it carefully. It's a great investment in quality of your work, and it saves you years of life.
- **Test your code**. Nobody else knows your code better than you. So, it's completely your mission to test the changes you made before pull request submission. We use [PHPUnit](https://phpunit.de/) for our testing purposes and recommend you using this tool too. [Here](https://phpunit.de/presentations.html) you can find PHPUnit best practices and additional information on effective unit testing, which helps us making PHPWord better day to day. Do not hesitate to smoke it carefully. It's a great investment in quality of your work, and it saves you years of life.
- **Request pull in separate branch**. Do not submit your request to the master branch. But create a separate branch named specifically for the issue that you addressed. Read [GitHub manual](https://help.github.com/articles/using-pull-requests) to find out more about this. If you are new to GitHub, read [this short manual](https://help.github.com/articles/fork-a-repo) to get yourself familiar with forks and how git works in general. [This video](http://www.youtube.com/watch?v=-zvHQXnBO6c) explains how to synchronize your Github Fork with the Branch of PHPWord.

That's it. Thank you for your interest in PHPWord, and welcome!
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Latest Stable Version](https://poser.pugx.org/phpoffice/phpword/v/stable.png)](https://packagist.org/packages/phpoffice/phpword)
[![Build Status](https://travis-ci.org/PHPOffice/PHPWord.svg?branch=master)](https://travis-ci.org/PHPOffice/PHPWord)
[![Code Quality](https://scrutinizer-ci.com/g/PHPOffice/PHPWord/badges/quality-score.png?s=b5997ce59ac2816b4514f3a38de9900f6d492c1d)](https://scrutinizer-ci.com/g/PHPOffice/PHPWord/)
[![Code Coverage](https://scrutinizer-ci.com/g/PHPOffice/PHPWord/badges/coverage.png?s=742a98745725c562955440edc8d2c39d7ff5ae25)](https://scrutinizer-ci.com/g/PHPOffice/PHPWord/)
[![Coverage Status](https://coveralls.io/repos/github/PHPOffice/PHPWord/badge.svg?branch=develop)](https://coveralls.io/github/PHPOffice/PHPWord?branch=develop)
[![Total Downloads](https://poser.pugx.org/phpoffice/phpword/downloads.png)](https://packagist.org/packages/phpoffice/phpword)
[![License](https://poser.pugx.org/phpoffice/phpword/license.png)](https://packagist.org/packages/phpoffice/phpword)
[![Join the chat at https://gitter.im/PHPOffice/PHPWord](https://img.shields.io/badge/GITTER-join%20chat-green.svg)](https://gitter.im/PHPOffice/PHPWord)
Expand Down
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

2 changes: 1 addition & 1 deletion bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* contributors, visit https://github.com/PHPOffice/PHPWord/contributors. test bootstrap
*
* @see https://github.com/PHPOffice/PHPWord
* @copyright 2010-2017 PHPWord contributors
* @copyright 2010-2018 PHPWord contributors
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
*/

Expand Down
29 changes: 15 additions & 14 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,19 @@
],
"scripts": {
"test": [
"./vendor/bin/phpunit --color=always"
"phpunit --color=always"
],
"test-no-coverage": [
"./vendor/bin/phpunit --color=always --no-coverage"
"phpunit --color=always --no-coverage"
],
"check": [
"./vendor/bin/php-cs-fixer fix --ansi --dry-run --diff",
"./vendor/bin/phpcs --report-width=200 --report-summary --report-full samples/ src/ tests/ --ignore=src/PhpWord/Shared/PCLZip --standard=PSR2 -n",
"./vendor/bin/phpmd src/,tests/ text ./phpmd.xml.dist --exclude pclzip.lib.php",
"php-cs-fixer fix --ansi --dry-run --diff",
"phpcs --report-width=200 --report-summary --report-full samples/ src/ tests/ --ignore=src/PhpWord/Shared/PCLZip --standard=PSR2 -n",
"phpmd src/,tests/ text ./phpmd.xml.dist --exclude pclzip.lib.php",
"@test"
],
"fix": [
"./vendor/bin/php-cs-fixer fix --ansi"
"php-cs-fixer fix --ansi"
]
},
"scripts-descriptions": {
Expand All @@ -61,19 +61,20 @@
"php": "^5.3.3 || ^7.0",
"ext-xml": "*",
"zendframework/zend-escaper": "^2.2",
"zendframework/zend-stdlib": "^2.2 || ^3.0",
"phpoffice/common": "^0.2"
"phpoffice/common": "^0.2.9"
},
"require-dev": {
"phpunit/phpunit": "^4.8.36 || ^5.0",
"phpdocumentor/phpdocumentor":"2.*",
"squizlabs/php_codesniffer": "^2.7",
"friendsofphp/php-cs-fixer": "^2.0",
"ext-zip": "*",
"ext-gd": "*",
"phpunit/phpunit": "^4.8.36 || ^7.0",
"squizlabs/php_codesniffer": "^2.9",
"friendsofphp/php-cs-fixer": "^2.2",
"phpmd/phpmd": "2.*",
"phploc/phploc": "2.* || 3.* || 4.*",
"dompdf/dompdf":"0.8.*",
"tecnickcom/tcpdf": "6.*",
"mpdf/mpdf": "5.* || 6.* || 7.*"
"mpdf/mpdf": "5.7.4 || 6.* || 7.*",
"php-coveralls/php-coveralls": "1.1.0 || ^2.0"
},
"suggest": {
"ext-zip": "Allows writing OOXML and ODF",
Expand All @@ -89,7 +90,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "0.15-dev"
"dev-develop": "0.16-dev"
}
}
}
2 changes: 1 addition & 1 deletion docs/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This is:
- [ ] a feature request
- [ ] **not** a usage question (ask them on https://stackoverflow.com/questions/tagged/phpword)

# Expected Behavior
### Expected Behavior

Please describe the behavior you are expecting.

Expand Down
4 changes: 2 additions & 2 deletions docs/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ Fixes # (issue)

### Checklist:

- [ ] I have run `composer check` and no errors were reported
- [ ] The new code is covered by unit tests
- [ ] I have run `composer run-script check --timeout=0` and no errors were reported
- [ ] The new code is covered by unit tests (check build/coverage for coverage report)
- [ ] I have update the documentation to describe the changes
2 changes: 1 addition & 1 deletion docs/containers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Below are the properties of the line numbering style.

- ``start`` Line numbering starting value
- ``increment`` Line number increments
- ``distance`` Distance between text and line numbering in twip
- ``distance`` Distance between text and line numbering in *twip*
- ``restart`` Line numbering restart setting
continuous\|newPage\|newSection

Expand Down
Loading