File tree 5 files changed +71
-42
lines changed
5 files changed +71
-42
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,14 +13,18 @@ matrix:
13
13
- php : 7.1
14
14
env : COMPOSER_ARGS=""
15
15
- php : 7.2
16
- env : COMPOSER_ARGS="" WITH_CS="true"
16
+ env : COMPOSER_ARGS=""
17
+ - php : " 8.0"
18
+ env : COMPOSER_ARGS=""
17
19
18
20
- php : 7.0
19
21
env : COMPOSER_ARGS="--prefer-lowest"
20
22
- php : 7.1
21
23
env : COMPOSER_ARGS="--prefer-lowest"
22
24
- php : 7.2
23
25
env : COMPOSER_ARGS="--prefer-lowest"
26
+ - php : 8.0
27
+ env : COMPOSER_ARGS="--prefer-lowest"
24
28
25
29
cache :
26
30
directories :
@@ -35,4 +39,3 @@ before_script:
35
39
36
40
script :
37
41
- vendor/bin/phpunit
38
- - if [[ "$WITH_CS" == "true" ]]; then vendor/bin/php-cs-fixer fix --config=.php_cs -v --dry-run --stop-on-violation --using-cache=no --path-mode=intersection "${COMMIT_SCA_FILES[@]}"; fi
Original file line number Diff line number Diff line change
1
+ # Changelog
2
+
3
+ ## 0.3.0
4
+
5
+ ### Added
6
+ - Support for php 8.0
7
+
8
+ ### Removed
9
+ - Removed (temporary) paysera/lib-php-cs-fixer-config
10
+
11
+ ## 0.2.2
12
+
13
+ ### Fixed
14
+ - Saves originalData and introduces method ` getOriginalData ` to access it; Adds method ` getDataAsArray ` to get data in array form
15
+ - remove clone
16
+ - improve array handling in getObjectWrapperAsArray
17
+ - improve array handling in getObjectWrapperAsArray once more
18
+
19
+ ## 0.2.1
20
+
21
+ ### Fixed
22
+ - improve array handling in getObjectWrapperAsArray
23
+
24
+ ## 0.2.0
25
+
26
+ ### Added
27
+ - Ability to access originally passed data
28
+
29
+ ## 0.1.1
30
+
31
+ ### Fixed
32
+ - Fixed mistype for exception message
33
+
34
+ ## 0.1.0
35
+
36
+ ### Fixed
37
+ - Fixes strange test case with PHP 7.0
Original file line number Diff line number Diff line change 7
7
}
8
8
},
9
9
"require" : {
10
- "php" : " ^7.0"
10
+ "php" : " ^7.0 || ^8.0 "
11
11
},
12
12
"require-dev" : {
13
- "phpunit/phpunit" : " ^6.0" ,
14
- "paysera/lib-php-cs-fixer-config" : " ^2.0.0" ,
15
- "friendsofphp/php-cs-fixer" : " ^2.2,<2.11.2"
13
+ "phpunit/phpunit" : " ^6.0 || ^9.0"
16
14
},
17
15
"autoload-dev" : {
18
16
"psr-4" : {
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
-
3
- < phpunit backupGlobals = " false "
4
- backupStaticAttributes =" false"
5
- colors = " true "
6
- convertErrorsToExceptions =" true"
7
- convertNoticesToExceptions =" true"
8
- convertWarningsToExceptions =" true"
9
- processIsolation = " false "
10
- stopOnFailure =" false"
11
- syntaxCheck =" false"
12
- bootstrap =" vendor/autoload.php" >
13
-
14
- < testsuites >
15
- < testsuite >
16
- < directory >./tests/</ directory >
17
- </ testsuite >
18
- </testsuites >
19
-
20
- < filter >
21
- < whitelist >
22
- < directory >./</ directory >
23
- < exclude >
24
- < directory >./tests</ directory >
25
- < directory >./vendor</ directory >
26
- </ exclude >
27
- </ whitelist >
28
- </ filter >
2
+ < phpunit
3
+ xmlns : xsi = " http://www.w3.org/2001/XMLSchema-instance "
4
+ backupGlobals =" false"
5
+ backupStaticAttributes = " false "
6
+ colors =" true"
7
+ convertErrorsToExceptions =" true"
8
+ convertNoticesToExceptions =" true"
9
+ convertWarningsToExceptions = " true "
10
+ processIsolation =" false"
11
+ stopOnFailure =" false"
12
+ bootstrap =" vendor/autoload.php"
13
+ xsi : noNamespaceSchemaLocation = " https://schema.phpunit.de/9.3/phpunit.xsd "
14
+ >
15
+ < coverage >
16
+ < include >
17
+ < directory >./</ directory >
18
+ </include >
19
+ < exclude >
20
+ < directory >./tests</ directory >
21
+ < directory >./vendor</ directory >
22
+ </ exclude >
23
+ </ coverage >
24
+ < testsuites >
25
+ < testsuite name = " Project Test Suite " >
26
+ < directory >./tests/</ directory >
27
+ </ testsuite >
28
+ </ testsuites >
29
29
</phpunit >
You can’t perform that action at this time.
0 commit comments