Skip to content

Commit 263ef12

Browse files
authored
Merge pull request #202 from PHPJasper/develop
update version
2 parents 97f4aba + 5542ff9 commit 263ef12

10 files changed

+1139
-91
lines changed

.coveralls.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# for php-coveralls
2+
service_name: travis-ci
3+
coverage_clover: tests/log/clover.xml
4+
json_path: tests/log/coveralls-upload.json

.gitignore

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/vendor
2-
tests/*.jasper
3-
tests/fixture
4-
/tests/logs
5-
.phpcs-cache
6-
.phpunit.result.cache
2+
/tests/log
3+
phpunit.xml
4+
*.jasper
5+
*.cache
76

87
# IDE
98
## Eclipse

.travis.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
language: php
2+
3+
php:
4+
- 7.2
5+
- 7.3
6+
- 7.4
7+
8+
before_script:
9+
- composer self-update
10+
- travis_retry composer update --no-interaction --no-ansi --no-progress --no-suggest --optimize-autoloader
11+
- composer install --prefer-source --no-interaction --dev
12+
13+
script:
14+
- composer test
15+
16+
after_success:
17+
- php vendor/bin/php-coveralls --verbose

CHANGES.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
Release Notes - PHPJasper - Version 3.3.0
2+
========================================================
3+
* Improvement
4+
* add support to coverage tests
5+
* add support to travisCI
6+
* static Static Analysis with phpstan
7+
* add phpunit.xml.dist
8+
* new badges
9+
________________________________________________
110
Release Notes - PHPJasper - Version 3.2.0
211
========================================================
312
* Improvement

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
# PHPJasper
44
_A PHP Report Generator_
55

6-
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/geekcom/phpjasper/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/geekcom/phpjasper/?branch=master)
6+
[![Build Status](https://travis-ci.org/phpjasper/phpjasper.svg?branch=master)](https://travis-ci.org/phpjasper/phpjasper)
7+
[![Coverage Status](https://coveralls.io/repos/github/PHPJasper/phpjasper/badge.svg?branch=master)](https://coveralls.io/github/PHPJasper/phpjasper?branch=master)
78
[![Latest Stable Version](https://poser.pugx.org/geekcom/phpjasper/v/stable)](https://packagist.org/packages/geekcom/phpjasper)
89
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%207.2-blue.svg?style=flat-square)](https://php.net/)
910
[![Total Downloads](https://poser.pugx.org/geekcom/phpjasper/downloads)](https://packagist.org/packages/geekcom/phpjasper)
1011
[![License](https://poser.pugx.org/geekcom/phpjasper/license)](https://packagist.org/packages/geekcom/phpjasper)
12+
[![PHPStan](https://img.shields.io/badge/PHPStan-enabled-brightgreen.svg?style=flat)](https://github.com/phpstan/phpstan)
1113

1214
### Docs
1315

composer.json

+17-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"authors": [
1111
{
1212
"name": "Daniel Rodrigues Lima",
13-
"email": "danielrodrigues-ti@hotmail.com",
13+
"email": "geekcom@php.net",
1414
"role": "lead"
1515
}
1616
],
@@ -19,8 +19,10 @@
1919
"php": "^7.2"
2020
},
2121
"require-dev": {
22-
"phpunit/phpunit": "^8.3",
23-
"squizlabs/php_codesniffer": "3.*"
22+
"phpunit/phpunit": "^8.4",
23+
"php-coveralls/php-coveralls": "^2.2",
24+
"squizlabs/php_codesniffer": "*",
25+
"phpstan/phpstan": "^0.12.5"
2426
},
2527
"autoload": {
2628
"psr-4": {
@@ -31,5 +33,17 @@
3133
"psr-4": {
3234
"PHPJasper\\Test\\": "tests/"
3335
}
36+
},
37+
"scripts": {
38+
"phpcs": "phpcs --standard=PSR12 -n src",
39+
"phpcbf": "phpcbf --standard=PSR12 -n src",
40+
"unit": "phpunit --coverage-clover ./tests/log/clover.xml --colors=always",
41+
"unit-html": "php -d phar.readonly=0 vendor/bin/phpunit --coverage-html ./tests/log/ --colors=always",
42+
"phpstan": "phpstan analyse src --level 0",
43+
"test": [
44+
"@phpcs",
45+
"@unit",
46+
"@phpstan"
47+
]
3448
}
3549
}

0 commit comments

Comments
 (0)