File tree 10 files changed +1139
-91
lines changed
10 files changed +1139
-91
lines changed Original file line number Diff line number Diff line change
1
+ # for php-coveralls
2
+ service_name : travis-ci
3
+ coverage_clover : tests/log/clover.xml
4
+ json_path : tests/log/coveralls-upload.json
Original file line number Diff line number Diff line change 1
1
/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
7
6
8
7
# IDE
9
8
# # Eclipse
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
+ ________________________________________________
1
10
Release Notes - PHPJasper - Version 3.2.0
2
11
========================================================
3
12
* Improvement
Original file line number Diff line number Diff line change 3
3
# PHPJasper
4
4
_ A PHP Report Generator_
5
5
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 )
7
8
[ ![ Latest Stable Version] ( https://poser.pugx.org/geekcom/phpjasper/v/stable )] ( https://packagist.org/packages/geekcom/phpjasper )
8
9
[ ![ Minimum PHP Version] ( https://img.shields.io/badge/php-%3E%207.2-blue.svg?style=flat-square )] ( https://php.net/ )
9
10
[ ![ Total Downloads] ( https://poser.pugx.org/geekcom/phpjasper/downloads )] ( https://packagist.org/packages/geekcom/phpjasper )
10
11
[ ![ 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 )
11
13
12
14
### Docs
13
15
Original file line number Diff line number Diff line change 10
10
"authors" : [
11
11
{
12
12
"name" : " Daniel Rodrigues Lima" ,
13
- "email" : " danielrodrigues-ti@hotmail.com " ,
13
+ "email" : " geekcom@php.net " ,
14
14
"role" : " lead"
15
15
}
16
16
],
19
19
"php" : " ^7.2"
20
20
},
21
21
"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"
24
26
},
25
27
"autoload" : {
26
28
"psr-4" : {
31
33
"psr-4" : {
32
34
"PHPJasper\\ Test\\ " : " tests/"
33
35
}
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
+ ]
34
48
}
35
49
}
You can’t perform that action at this time.
0 commit comments