Skip to content

Commit a664b07

Browse files
authored
Merge pull request #48 from PHPJasper/php7
v2
2 parents 88ef738 + f39e095 commit a664b07

15 files changed

+167
-173
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ This package is the solution to compile and process JasperReports (.jrxml & .jas
1919
Do not forget to grant the correct permissions for the directory
2020
**/vendor/geekcom/phpjasper/bin/jasperstarter/bin** and the file binary **jasperstarter**
2121

22-
**Do you need to generate Python reports?**
23-
24-
Meet the **[pyreport](https://github.com/jadsonbr/pyreport)**
25-
2622
### Why PHPJasper?
2723

2824
Did you ever had to create a good looking Invoice with a lot of fields for your great web app?
@@ -51,8 +47,8 @@ Package to generate reports with [JasperReports 6.3.1](http://community.jasperso
5147

5248
## Requirements
5349

50+
* PHP 7.1 or above
5451
* Java JDK 1.8
55-
* PHP [exec()](http://php.net/manual/function.exec.php) function
5652

5753
## Optional
5854

composer.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,22 @@
1414
"role": "lead"
1515
}
1616
],
17-
"minimum-stability": "dev",
17+
"minimum-stability": "stable",
1818
"require": {
19-
"php": ">=5.4.0",
19+
"php": ">=7.1",
2020
"symfony/console": "^3.2"
2121
},
2222
"require-dev": {
23-
"phpunit/phpunit": "4.8.*"
23+
"phpunit/phpunit": "^6.1"
2424
},
2525
"autoload": {
2626
"psr-4": {
27-
"JasperPHP\\": "src/"
27+
"PHPJasper\\": "src/"
28+
}
29+
},
30+
"autoload-dev": {
31+
"psr-4": {
32+
"PHPJasper\\": "tests/"
2833
}
2934
}
30-
}
35+
}

docs/pt_BR/LEIA-ME_pt_BR.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ Este pacote é a solução perfeita para compilar e processar relatórios Jasper
2121
Não esqueça de fornecer as permissões devidas para o diretório
2222
**/vendor/geekcom/phpjasper/bin/jasperstarter/bin** e para o arquivo binário **jasperstarter**
2323

24-
**Precisa gerar relatórios em Python?**
25-
26-
Conheça a biblioteca **[pyreport](https://github.com/jadsonbr/pyreport)**
27-
2824
### Por quê preciso do PHPJasper?
2925

3026
Alguma vez você precisou de um relatório simples ou complexo em PHP para seu sistema web?
@@ -48,8 +44,8 @@ Apresento para vocês **JasperReports** a melhor solução open source que exist
4844

4945
## Requisitos
5046

47+
* PHP 7.1 em diante
5148
* Java JDK 1.8
52-
* PHP [exec()](http://php.net/manual/function.exec.php) function
5349

5450
## Opcional
5551

phpunit.xml.dist renamed to phpunit.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
2+
<phpunit bootstrap="./vendor/autoload.php"
3+
backupGlobals="false"
34
backupStaticAttributes="false"
45
colors="true"
56
convertErrorsToExceptions="true"
@@ -11,7 +12,7 @@
1112

1213
<filter>
1314
<whitelist>
14-
<directory>src/JasperPHP</directory>
15+
<directory>src/PHPJasper</directory>
1516
<directory>src/JasperStarter</directory>
1617
</whitelist>
1718
</filter>

src/Command/JasperPHPCommand.php renamed to src/Command/PHPJasperCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
2-
namespace JasperPHP;
2+
namespace PHPJasper;
33

44
use Symfony\Component\Console\Command\Command;
55
use Symfony\Component\Console\Input\InputInterface;
66
use Symfony\Component\Console\Output\OutputInterface;
77

8-
class JasperPHPCommand extends Command
8+
class PHPJasperCommand extends Command
99
{
1010
/**
1111
*

src/Exception/ErrorCommandExecutable.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
2-
namespace JasperPHP\Exception;
2+
namespace PHPJasper\Exception;
33
/**
44
* Class ErrorCommandExecutable
5-
* @package JasperPHP\Exception
5+
* @package PHPJasper\Exception
66
*/
77
class ErrorCommandExecutable extends \Exception
88
{

src/Exception/InvalidCommandExecutable.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
2-
namespace JasperPHP\Exception;
2+
namespace PHPJasper\Exception;
33
/**
44
* Class InvalidCommandExecutable
5-
* @package JasperPHP\Exception
5+
* @package PHPJasper\Exception
66
*/
77
class InvalidCommandExecutable extends \Exception
88
{

src/Exception/InvalidFormat.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
2-
namespace JasperPHP\Exception;
2+
namespace PHPJasper\Exception;
33
/**
44
* Class InvalidFormat
5-
* @package JasperPHP\Exception
5+
* @package PHPJasper\Exception
66
*/
77
class InvalidFormat extends \Exception
88
{

src/Exception/InvalidInputFile.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
2-
namespace JasperPHP\Exception;
2+
namespace PHPJasper\Exception;
33
/**
44
* Class InvalidInputFile
5-
* @package JasperPHP\Exception
5+
* @package PHPJasper\Exception
66
*/
77
class InvalidInputFile extends \Exception
88
{

src/Exception/InvalidResourceDirectory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
2-
namespace JasperPHP\Exception;
2+
namespace PHPJasper\Exception;
33
/**
44
* Class InvalidResourceDirectory
5-
* @package JasperPHP\Exception
5+
* @package PHPJasper\Exception
66
*/
77
class InvalidResourceDirectory extends \Exception
88
{

0 commit comments

Comments
 (0)