Skip to content

Commit 97f4aba

Browse files
authored
Merge pull request #199 from PHPJasper/develop
Version 3.2.0
2 parents bcd5e64 + ef0b08f commit 97f4aba

14 files changed

+417
-376
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ tests/*.jasper
33
tests/fixture
44
/tests/logs
55
.phpcs-cache
6+
.phpunit.result.cache
67

78
# IDE
89
## Eclipse

CHANGES.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
Release Notes - PHPJasper - Version 3.2.0
2+
========================================================
3+
* Improvement
4+
* minimum PHP version now is 7.2
5+
https://www.php.net/supported-versions.php
6+
* phpunit minimal now is 8.*
7+
* Update
8+
* suggested jdbc drivers in the folder bin/jasperstarter/jdbc
9+
* update tests and phpunit.xml
10+
* docs
11+
* Remove
12+
* break test
13+
________________________________________________
114
Release Notes - PHPJasper - Version 3.1.0
215
========================================================
316
* Improvement

README.md

+10-22
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ _A PHP Report Generator_
55

66
[![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)
77
[![Latest Stable Version](https://poser.pugx.org/geekcom/phpjasper/v/stable)](https://packagist.org/packages/geekcom/phpjasper)
8-
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.0-blue.svg?style=flat-square)](https://php.net/)
8+
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%207.2-blue.svg?style=flat-square)](https://php.net/)
99
[![Total Downloads](https://poser.pugx.org/geekcom/phpjasper/downloads)](https://packagist.org/packages/geekcom/phpjasper)
1010
[![License](https://poser.pugx.org/geekcom/phpjasper/license)](https://packagist.org/packages/geekcom/phpjasper)
1111

@@ -21,7 +21,6 @@ PHPJasper is the best solution to compile and process JasperReports (.jrxml & .j
2121
* For PHP versions less than 7.0 see: [v1.16](https://github.com/PHPJasper/phpjasper/releases/tag/v1.16)
2222
* [Here](https://github.com/PHPJasper/examples) are several examples of how to use PHPJasper
2323

24-
2524
### Why PHPJasper?
2625

2726
Did you ever had to create a good looking Invoice with a lot of fields for your great web app?
@@ -48,15 +47,17 @@ It is recommended using [Jaspersoft Studio](http://community.jaspersoft.com/proj
4847

4948
## Requirements
5049

51-
* PHP 7.0 or above
50+
* PHP 7.2 or above
5251
* Java JDK 1.8
5352

5453
## Optional
5554

56-
* [Mysql JDBC Driver](http://dev.mysql.com/downloads/connector/j/) (If you want to use a database)
57-
* [PostgreSQL JDBC Driver](https://jdbc.postgresql.org/download.html) (If you want to use a database)
58-
* [Microsoft JDBC Drivers](https://www.microsoft.com/en-US/download/details.aspx?id=11774) (If you want to use a database)
59-
* [Jaspersoft Studio](http://community.jaspersoft.com/project/jaspersoft-studio) (to draw and compile your reports)
55+
* Any `jdbc` drivers to generate reports from a database (MySQL, PostgreSQL, MSSQL...), must be copied to a folder `bin/jasperstarter/jdbc`
56+
* We ship the [PostgreSQL](https://jdbc.postgresql.org/) (42.2.9) in the `bin/jasperstarter/jdbc` directory.
57+
* We ship the [MySQL connector](http://dev.mysql.com/downloads/connector/j/) (v5.1.48) in the `bin/jasperstarter/jdbc` directory.
58+
* [Microsoft JDBC Drivers SQL Server
59+
](https://docs.microsoft.com/en-us/sql/connect/jdbc/download-microsoft-jdbc-driver-for-sql-server?view=sql-server-ver15).
60+
* [Jaspersoft Studio](http://community.jaspersoft.com/project/jaspersoft-studio) (to draw your reports).
6061

6162
## Installation
6263

@@ -69,7 +70,7 @@ Or in your file'composer.json' add:
6970
```json
7071
{
7172
"require": {
72-
"geekcom/phpjasper": "^3.1.0"
73+
"geekcom/phpjasper": "^3.2.0"
7374
}
7475
}
7576
```
@@ -94,7 +95,7 @@ To execute tests:
9495
* `docker exec -it phpjasper ./vendor/bin/phpunit` or
9596
* `docker exec -it phpjasper ./vendor/bin/phpunit --testdox`
9697

97-
To see coverage of tests execute the file: `/tests/codeCoverage/html/dashboard.html`
98+
To see coverage of tests execute the file: `tests/logs/coverage/index.html`
9899

99100
_Help us writing new tests, make a fork_ :)
100101

@@ -310,19 +311,6 @@ $jasper->process(
310311
)->execute();
311312
```
312313

313-
### MySQL
314-
315-
We ship the [MySQL connector](http://dev.mysql.com/downloads/connector/j/) (v5.1.39) in the `/src/JasperStarter/jdbc/` directory.
316-
317-
### PostgreSQL
318-
319-
We ship the [PostgreSQL](https://jdbc.postgresql.org/) (v9.4-1203) in the `/src/JasperStarter/jdbc/` directory.
320-
321-
### MSSQL
322-
323-
[Microsoft JDBC Drivers 6.0, 4.2, 4.1, and 4.0 for SQL Server
324-
](https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=11774).
325-
326314
## Performance
327315

328316
Depends on the complexity, amount of data and the resources of your machine (let me know your use case).
Binary file not shown.
Binary file not shown.
893 KB
Binary file not shown.
Binary file not shown.

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
],
1717
"minimum-stability": "stable",
1818
"require": {
19-
"php": ">=7.0"
19+
"php": "^7.2"
2020
},
2121
"require-dev": {
22-
"phpunit/phpunit": "^6.1",
23-
"squizlabs/php_codesniffer": "^3.1"
22+
"phpunit/phpunit": "^8.3",
23+
"squizlabs/php_codesniffer": "3.*"
2424
},
2525
"autoload": {
2626
"psr-4": {

0 commit comments

Comments
 (0)