Skip to content

Commit 572a3db

Browse files
committed
Version 0.3.2
2 parents 4d2edc5 + a6ddd01 commit 572a3db

File tree

10 files changed

+16
-33
lines changed

10 files changed

+16
-33
lines changed

.gitattributes

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,17 @@
33

44
# Do not put this files on a distribution package (by .gitignore)
55
/vendor export-ignore
6-
/tools export-ignore
76
/build export-ignore
87
/composer.lock export-ignore
98

109
# Do not put this files on a distribution package
11-
/docs/ export-ignore
1210
/tests/ export-ignore
1311
/.gitattributes export-ignore
1412
/.gitignore export-ignore
1513
/.php_cs.dist export-ignore
16-
/.phplint.yml export-ignore
1714
/.scrutinizer.yml export-ignore
1815
/.travis.yml export-ignore
19-
/phive.xml export-ignore
16+
/build-phar export-ignore
2017
/phpcs.xml.dist export-ignore
18+
phpstan.neon.dist export-ignore
2119
/phpunit.xml.dist export-ignore

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# do not include this files on git
22
/vendor
3-
/tools
43
/build
54
/composer.lock

.phplint.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.travis.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ language: php
22

33
php: ["7.0", "7.1", "7.2", "7.3"]
44

5-
# This triggers builds to run on the new TravisCI infrastructure.
6-
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
7-
sudo: false
8-
95
addons:
106
apt:
117
packages:
@@ -20,14 +16,13 @@ before_script:
2016

2117
script:
2218
- mkdir -p build/tests/
23-
- vendor/bin/phplint
2419
- vendor/bin/phpcs -sp bin/ src/ tests/ bin/ templates/
2520
- vendor/bin/php-cs-fixer fix --using-cache=no --dry-run --verbose
2621
- |
2722
if [[ $TRAVIS_PHP_VERSION == $FULL_BUILD_PHP_VERSION ]]; then
28-
php -d zend_extension=xdebug.so vendor/bin/phpunit --coverage-text --coverage-clover=build/tests/coverage.xml
23+
php -d zend_extension=xdebug.so vendor/bin/phpunit --testdox --coverage-clover=build/tests/coverage.xml
2924
else
30-
vendor/bin/phpunit
25+
vendor/bin/phpunit --testdox
3126
fi
3227
- vendor/bin/phpstan analyse --level max src/ tests/ bin/
3328
# build phar

CONTRIBUTING.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ vendor/bin/php-cs-fixer fix --verbose"
106106
vendor/bin/phpcbf --colors -sp src/ tests/ bin/ templates/
107107
108108
# composer dev:test
109-
vendor/bin/phplint
110109
vendor/bin/php-cs-fixer fix --dry-run --verbose
111110
vendor/bin/phpcs --colors -sp src/ tests/ bin/ templates/
112111
vendor/bin/phpunit --testdox --verbose --stop-on-failure

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2018 Carlos C Soto
3+
Copyright (c) 2018, 2019 PHPCFDI
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ and don't forget to take a look in the [TODO][] and [CHANGELOG][] files.
7575

7676
## Copyright and License
7777

78-
The phpcfdi/cfditopdf library is copyright © [Carlos C Soto](http://eclipxe.com.mx/)
78+
The phpcfdi/cfditopdf library is copyright © [PHPCFDI](https://www.phpcfdi.com/)
7979
and licensed for use under the MIT License (MIT). Please see [LICENSE][] for more information.
8080

8181
[contributing]: https://github.com/phpcfdi/cfditopdf/blob/master/CONTRIBUTING.md
@@ -90,7 +90,7 @@ and licensed for use under the MIT License (MIT). Please see [LICENSE][] for mor
9090
[coverage]: https://scrutinizer-ci.com/g/phpcfdi/cfditopdf/code-structure/master/code-coverage/src
9191
[downloads]: https://packagist.org/packages/phpcfdi/cfditopdf
9292

93-
[badge-source]: http://img.shields.io/badge/source-phpcfdi/cfditopdf-blue?style=flat-square
93+
[badge-source]: https://img.shields.io/badge/source-phpcfdi/cfditopdf-blue?style=flat-square
9494
[badge-release]: https://img.shields.io/github/release/phpcfdi/cfditopdf?style=flat-square
9595
[badge-license]: https://img.shields.io/github/license/phpcfdi/cfditopdf?style=flat-square
9696
[badge-build]: https://img.shields.io/travis/phpcfdi/cfditopdf/master?style=flat-square

build-phar

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash -e
22

33
PHAR_BUILDER_LOCATION="https://github.com/MacFJA/PharBuilder/releases/latest/download/phar-builder.phar"
4-
PHAR_BUILDER_BIN="tools/phar-builder"
4+
PHAR_BUILDER_BIN="build/phar-builder"
55

66
# this is set in composer.json
77
PHAR_DESTINATION="build/cfditopdf.phar"
@@ -14,5 +14,5 @@ fi
1414
git describe --tags > bin/version.txt
1515
mkdir -p "$(dirname "$PHAR_DESTINATION")"
1616
rm -f "$PHAR_DESTINATION"
17-
php -dphar.readonly=0 tools/phar-builder package --no-interaction
17+
php -d phar.readonly=0 build/phar-builder package --no-interaction
1818
rm bin/version.txt

composer.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
},
2424
"require-dev": {
2525
"phpunit/phpunit": "^6.5|^7.0",
26-
"overtrue/phplint": "^1.0",
2726
"squizlabs/php_codesniffer": "^3.0",
2827
"friendsofphp/php-cs-fixer": "^2.4",
2928
"phpstan/phpstan-shim": "^0.9|^0.10|^0.11"
@@ -50,7 +49,6 @@
5049
"vendor/bin/phpcbf --colors -sp src/ tests/ bin/ templates/"
5150
],
5251
"dev:test": [
53-
"vendor/bin/phplint",
5452
"@dev:check-style",
5553
"vendor/bin/phpunit --testdox --verbose --stop-on-failure",
5654
"vendor/bin/phpstan analyse --verbose --no-progress --level max src/ tests/ bin/"
@@ -63,7 +61,7 @@
6361
"dev:build": "DEV: run dev:fix-style dev:tests and dev:docs, run before pull request",
6462
"dev:check-style": "DEV: search for code style errors using php-cs-fixer and phpcs",
6563
"dev:fix-style": "DEV: fix code style errors using php-cs-fixer and phpcbf",
66-
"dev:test": "DEV: run phplint, phpunit and phpstan",
64+
"dev:test": "DEV: run phpunit and phpstan",
6765
"dev:coverage": "DEV: run phpunit with xdebug and storage coverage in build/coverage/html/"
6866
},
6967
"extra": {

docs/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Version 0.3.2 2019-11-14
2+
3+
- Add *Complemento de pagos* to the generated HTML, thanks @blacktrue
4+
- Change license owner from *Carlos C Soto* to *PHPCFDI*
5+
- Cleanup build and development files
6+
17
# Version 0.3.1 2019-08-27
28

39
- Fix bug on `CfdiDataBuilder::createTfdSourceString`, the `tfd:TimbreFiscalDigital(Node)` does not contain

0 commit comments

Comments
 (0)