diff --git a/.gitignore b/.gitignore
index a5528e1..1bcf697 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,4 +4,5 @@ vendor
.idea
.phpunit.result.cache
/.php-cs-fixer.cache
-composer.lock
\ No newline at end of file
+composer.lock
+/example/credentials.php
\ No newline at end of file
diff --git a/LICENSE b/LICENSE
index 3d83fb2..3f0de11 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2016-2023 Ticketpark GmbH
+Copyright (c) 2016-2024 Ticketpark GmbH
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/README.md b/README.md
index fbc68de..5f90838 100644
--- a/README.md
+++ b/README.md
@@ -24,10 +24,10 @@ Have a look at the [example folder](/example) for more.
## Documentation
+This library is currently [based on v1.31 of the Saferpay JSON API](https://saferpay.github.io/jsonapi/1.31/index.html).
+
Find the most current documentation of the Saferpay JSON API here:
https://saferpay.github.io/jsonapi/
-This library is currently based on v1.20 of the Saferpay JSON API.
-
## Contribution
You are [welcome to contribute](/.github/contributing.md) to this repo.
\ No newline at end of file
diff --git a/composer.json b/composer.json
index 6a95a55..371bd0e 100644
--- a/composer.json
+++ b/composer.json
@@ -24,7 +24,8 @@
"require-dev": {
"phpunit/phpunit": "^9.0",
"phpstan/phpstan": "^1.6",
- "friendsofphp/php-cs-fixer": "^3.16"
+ "friendsofphp/php-cs-fixer": "^3.16",
+ "rector/rector": "^1.1"
},
"autoload": {
"psr-4": {
diff --git a/composer.lock b/composer.lock
deleted file mode 100644
index 8fa4189..0000000
--- a/composer.lock
+++ /dev/null
@@ -1,5209 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
- "This file is @generated automatically"
- ],
- "content-hash": "1ee41dee8db6b277dcaf44cd98690e83",
- "packages": [
- {
- "name": "doctrine/annotations",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/annotations.git",
- "reference": "e157ef3f3124bbf6fe7ce0ffd109e8a8ef284e7f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/annotations/zipball/e157ef3f3124bbf6fe7ce0ffd109e8a8ef284e7f",
- "reference": "e157ef3f3124bbf6fe7ce0ffd109e8a8ef284e7f",
- "shasum": ""
- },
- "require": {
- "doctrine/lexer": "^2 || ^3",
- "ext-tokenizer": "*",
- "php": "^7.2 || ^8.0",
- "psr/cache": "^1 || ^2 || ^3"
- },
- "require-dev": {
- "doctrine/cache": "^2.0",
- "doctrine/coding-standard": "^10",
- "phpstan/phpstan": "^1.8.0",
- "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
- "symfony/cache": "^5.4 || ^6",
- "vimeo/psalm": "^4.10"
- },
- "suggest": {
- "php": "PHP 8.0 or higher comes with attributes, a native replacement for annotations"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Guilherme Blanco",
- "email": "guilhermeblanco@gmail.com"
- },
- {
- "name": "Roman Borschel",
- "email": "roman@code-factory.org"
- },
- {
- "name": "Benjamin Eberlei",
- "email": "kontakt@beberlei.de"
- },
- {
- "name": "Jonathan Wage",
- "email": "jonwage@gmail.com"
- },
- {
- "name": "Johannes Schmitt",
- "email": "schmittjoh@gmail.com"
- }
- ],
- "description": "Docblock Annotations Parser",
- "homepage": "https://www.doctrine-project.org/projects/annotations.html",
- "keywords": [
- "annotations",
- "docblock",
- "parser"
- ],
- "support": {
- "issues": "https://github.com/doctrine/annotations/issues",
- "source": "https://github.com/doctrine/annotations/tree/2.0.1"
- },
- "time": "2023-02-02T22:02:53+00:00"
- },
- {
- "name": "doctrine/instantiator",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0",
- "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0",
- "shasum": ""
- },
- "require": {
- "php": "^8.1"
- },
- "require-dev": {
- "doctrine/coding-standard": "^11",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpbench/phpbench": "^1.2",
- "phpstan/phpstan": "^1.9.4",
- "phpstan/phpstan-phpunit": "^1.3",
- "phpunit/phpunit": "^9.5.27",
- "vimeo/psalm": "^5.4"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "https://ocramius.github.io/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://www.doctrine-project.org/projects/instantiator.html",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "support": {
- "issues": "https://github.com/doctrine/instantiator/issues",
- "source": "https://github.com/doctrine/instantiator/tree/2.0.0"
- },
- "funding": [
- {
- "url": "https://www.doctrine-project.org/sponsorship.html",
- "type": "custom"
- },
- {
- "url": "https://www.patreon.com/phpdoctrine",
- "type": "patreon"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator",
- "type": "tidelift"
- }
- ],
- "time": "2022-12-30T00:23:10+00:00"
- },
- {
- "name": "doctrine/lexer",
- "version": "3.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/lexer.git",
- "reference": "31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/lexer/zipball/31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd",
- "reference": "31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd",
- "shasum": ""
- },
- "require": {
- "php": "^8.1"
- },
- "require-dev": {
- "doctrine/coding-standard": "^12",
- "phpstan/phpstan": "^1.10",
- "phpunit/phpunit": "^10.5",
- "psalm/plugin-phpunit": "^0.18.3",
- "vimeo/psalm": "^5.21"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Doctrine\\Common\\Lexer\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Guilherme Blanco",
- "email": "guilhermeblanco@gmail.com"
- },
- {
- "name": "Roman Borschel",
- "email": "roman@code-factory.org"
- },
- {
- "name": "Johannes Schmitt",
- "email": "schmittjoh@gmail.com"
- }
- ],
- "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.",
- "homepage": "https://www.doctrine-project.org/projects/lexer.html",
- "keywords": [
- "annotations",
- "docblock",
- "lexer",
- "parser",
- "php"
- ],
- "support": {
- "issues": "https://github.com/doctrine/lexer/issues",
- "source": "https://github.com/doctrine/lexer/tree/3.0.1"
- },
- "funding": [
- {
- "url": "https://www.doctrine-project.org/sponsorship.html",
- "type": "custom"
- },
- {
- "url": "https://www.patreon.com/phpdoctrine",
- "type": "patreon"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer",
- "type": "tidelift"
- }
- ],
- "time": "2024-02-05T11:56:58+00:00"
- },
- {
- "name": "guzzlehttp/guzzle",
- "version": "7.8.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "41042bc7ab002487b876a0683fc8dce04ddce104"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/41042bc7ab002487b876a0683fc8dce04ddce104",
- "reference": "41042bc7ab002487b876a0683fc8dce04ddce104",
- "shasum": ""
- },
- "require": {
- "ext-json": "*",
- "guzzlehttp/promises": "^1.5.3 || ^2.0.1",
- "guzzlehttp/psr7": "^1.9.1 || ^2.5.1",
- "php": "^7.2.5 || ^8.0",
- "psr/http-client": "^1.0",
- "symfony/deprecation-contracts": "^2.2 || ^3.0"
- },
- "provide": {
- "psr/http-client-implementation": "1.0"
- },
- "require-dev": {
- "bamarni/composer-bin-plugin": "^1.8.2",
- "ext-curl": "*",
- "php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999",
- "php-http/message-factory": "^1.1",
- "phpunit/phpunit": "^8.5.36 || ^9.6.15",
- "psr/log": "^1.1 || ^2.0 || ^3.0"
- },
- "suggest": {
- "ext-curl": "Required for CURL handler support",
- "ext-intl": "Required for Internationalized Domain Name (IDN) support",
- "psr/log": "Required for using the Log middleware"
- },
- "type": "library",
- "extra": {
- "bamarni-bin": {
- "bin-links": true,
- "forward-command": false
- }
- },
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "GuzzleHttp\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Graham Campbell",
- "email": "hello@gjcampbell.co.uk",
- "homepage": "https://github.com/GrahamCampbell"
- },
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Jeremy Lindblom",
- "email": "jeremeamia@gmail.com",
- "homepage": "https://github.com/jeremeamia"
- },
- {
- "name": "George Mponos",
- "email": "gmponos@gmail.com",
- "homepage": "https://github.com/gmponos"
- },
- {
- "name": "Tobias Nyholm",
- "email": "tobias.nyholm@gmail.com",
- "homepage": "https://github.com/Nyholm"
- },
- {
- "name": "Márk Sági-Kazár",
- "email": "mark.sagikazar@gmail.com",
- "homepage": "https://github.com/sagikazarmark"
- },
- {
- "name": "Tobias Schultze",
- "email": "webmaster@tubo-world.de",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "psr-18",
- "psr-7",
- "rest",
- "web service"
- ],
- "support": {
- "issues": "https://github.com/guzzle/guzzle/issues",
- "source": "https://github.com/guzzle/guzzle/tree/7.8.1"
- },
- "funding": [
- {
- "url": "https://github.com/GrahamCampbell",
- "type": "github"
- },
- {
- "url": "https://github.com/Nyholm",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle",
- "type": "tidelift"
- }
- ],
- "time": "2023-12-03T20:35:24+00:00"
- },
- {
- "name": "guzzlehttp/promises",
- "version": "2.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/promises.git",
- "reference": "bbff78d96034045e58e13dedd6ad91b5d1253223"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/bbff78d96034045e58e13dedd6ad91b5d1253223",
- "reference": "bbff78d96034045e58e13dedd6ad91b5d1253223",
- "shasum": ""
- },
- "require": {
- "php": "^7.2.5 || ^8.0"
- },
- "require-dev": {
- "bamarni/composer-bin-plugin": "^1.8.2",
- "phpunit/phpunit": "^8.5.36 || ^9.6.15"
- },
- "type": "library",
- "extra": {
- "bamarni-bin": {
- "bin-links": true,
- "forward-command": false
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Promise\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Graham Campbell",
- "email": "hello@gjcampbell.co.uk",
- "homepage": "https://github.com/GrahamCampbell"
- },
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Tobias Nyholm",
- "email": "tobias.nyholm@gmail.com",
- "homepage": "https://github.com/Nyholm"
- },
- {
- "name": "Tobias Schultze",
- "email": "webmaster@tubo-world.de",
- "homepage": "https://github.com/Tobion"
- }
- ],
- "description": "Guzzle promises library",
- "keywords": [
- "promise"
- ],
- "support": {
- "issues": "https://github.com/guzzle/promises/issues",
- "source": "https://github.com/guzzle/promises/tree/2.0.2"
- },
- "funding": [
- {
- "url": "https://github.com/GrahamCampbell",
- "type": "github"
- },
- {
- "url": "https://github.com/Nyholm",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises",
- "type": "tidelift"
- }
- ],
- "time": "2023-12-03T20:19:20+00:00"
- },
- {
- "name": "guzzlehttp/psr7",
- "version": "2.6.2",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/psr7.git",
- "reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/45b30f99ac27b5ca93cb4831afe16285f57b8221",
- "reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221",
- "shasum": ""
- },
- "require": {
- "php": "^7.2.5 || ^8.0",
- "psr/http-factory": "^1.0",
- "psr/http-message": "^1.1 || ^2.0",
- "ralouphie/getallheaders": "^3.0"
- },
- "provide": {
- "psr/http-factory-implementation": "1.0",
- "psr/http-message-implementation": "1.0"
- },
- "require-dev": {
- "bamarni/composer-bin-plugin": "^1.8.2",
- "http-interop/http-factory-tests": "^0.9",
- "phpunit/phpunit": "^8.5.36 || ^9.6.15"
- },
- "suggest": {
- "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
- },
- "type": "library",
- "extra": {
- "bamarni-bin": {
- "bin-links": true,
- "forward-command": false
- }
- },
- "autoload": {
- "psr-4": {
- "GuzzleHttp\\Psr7\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Graham Campbell",
- "email": "hello@gjcampbell.co.uk",
- "homepage": "https://github.com/GrahamCampbell"
- },
- {
- "name": "Michael Dowling",
- "email": "mtdowling@gmail.com",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "George Mponos",
- "email": "gmponos@gmail.com",
- "homepage": "https://github.com/gmponos"
- },
- {
- "name": "Tobias Nyholm",
- "email": "tobias.nyholm@gmail.com",
- "homepage": "https://github.com/Nyholm"
- },
- {
- "name": "Márk Sági-Kazár",
- "email": "mark.sagikazar@gmail.com",
- "homepage": "https://github.com/sagikazarmark"
- },
- {
- "name": "Tobias Schultze",
- "email": "webmaster@tubo-world.de",
- "homepage": "https://github.com/Tobion"
- },
- {
- "name": "Márk Sági-Kazár",
- "email": "mark.sagikazar@gmail.com",
- "homepage": "https://sagikazarmark.hu"
- }
- ],
- "description": "PSR-7 message implementation that also provides common utility methods",
- "keywords": [
- "http",
- "message",
- "psr-7",
- "request",
- "response",
- "stream",
- "uri",
- "url"
- ],
- "support": {
- "issues": "https://github.com/guzzle/psr7/issues",
- "source": "https://github.com/guzzle/psr7/tree/2.6.2"
- },
- "funding": [
- {
- "url": "https://github.com/GrahamCampbell",
- "type": "github"
- },
- {
- "url": "https://github.com/Nyholm",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7",
- "type": "tidelift"
- }
- ],
- "time": "2023-12-03T20:05:35+00:00"
- },
- {
- "name": "jms/metadata",
- "version": "2.8.0",
- "source": {
- "type": "git",
- "url": "https://github.com/schmittjoh/metadata.git",
- "reference": "7ca240dcac0c655eb15933ee55736ccd2ea0d7a6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/schmittjoh/metadata/zipball/7ca240dcac0c655eb15933ee55736ccd2ea0d7a6",
- "reference": "7ca240dcac0c655eb15933ee55736ccd2ea0d7a6",
- "shasum": ""
- },
- "require": {
- "php": "^7.2|^8.0"
- },
- "require-dev": {
- "doctrine/cache": "^1.0",
- "doctrine/coding-standard": "^8.0",
- "mikey179/vfsstream": "^1.6.7",
- "phpunit/phpunit": "^8.5|^9.0",
- "psr/container": "^1.0|^2.0",
- "symfony/cache": "^3.1|^4.0|^5.0",
- "symfony/dependency-injection": "^3.1|^4.0|^5.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Metadata\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Johannes M. Schmitt",
- "email": "schmittjoh@gmail.com"
- },
- {
- "name": "Asmir Mustafic",
- "email": "goetas@gmail.com"
- }
- ],
- "description": "Class/method/property metadata management in PHP",
- "keywords": [
- "annotations",
- "metadata",
- "xml",
- "yaml"
- ],
- "support": {
- "issues": "https://github.com/schmittjoh/metadata/issues",
- "source": "https://github.com/schmittjoh/metadata/tree/2.8.0"
- },
- "time": "2023-02-15T13:44:18+00:00"
- },
- {
- "name": "jms/serializer",
- "version": "3.30.0",
- "source": {
- "type": "git",
- "url": "https://github.com/schmittjoh/serializer.git",
- "reference": "bf1105358123d7c02ee6cad08ea33ab535a09d5e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/schmittjoh/serializer/zipball/bf1105358123d7c02ee6cad08ea33ab535a09d5e",
- "reference": "bf1105358123d7c02ee6cad08ea33ab535a09d5e",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.3.1 || ^2.0",
- "doctrine/lexer": "^2.0 || ^3.0",
- "jms/metadata": "^2.6",
- "php": "^7.4 || ^8.0",
- "phpstan/phpdoc-parser": "^1.20"
- },
- "require-dev": {
- "doctrine/annotations": "^1.14 || ^2.0",
- "doctrine/coding-standard": "^12.0",
- "doctrine/orm": "^2.14 || ^3.0",
- "doctrine/persistence": "^2.5.2 || ^3.0",
- "doctrine/phpcr-odm": "^1.5.2 || ^2.0",
- "ext-pdo_sqlite": "*",
- "jackalope/jackalope-doctrine-dbal": "^1.3",
- "ocramius/proxy-manager": "^1.0 || ^2.0",
- "phpbench/phpbench": "^1.0",
- "phpstan/phpstan": "^1.0.2",
- "phpunit/phpunit": "^9.0 || ^10.0",
- "psr/container": "^1.0 || ^2.0",
- "rector/rector": "^0.19.0",
- "symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
- "symfony/expression-language": "^5.4 || ^6.0 || ^7.0",
- "symfony/filesystem": "^5.4 || ^6.0 || ^7.0",
- "symfony/form": "^5.4 || ^6.0 || ^7.0",
- "symfony/translation": "^5.4 || ^6.0 || ^7.0",
- "symfony/uid": "^5.4 || ^6.0 || ^7.0",
- "symfony/validator": "^5.4 || ^6.0 || ^7.0",
- "symfony/yaml": "^5.4 || ^6.0 || ^7.0",
- "twig/twig": "^1.34 || ^2.4 || ^3.0"
- },
- "suggest": {
- "doctrine/collections": "Required if you like to use doctrine collection types as ArrayCollection.",
- "symfony/cache": "Required if you like to use cache functionality.",
- "symfony/uid": "Required if you'd like to serialize UID objects.",
- "symfony/yaml": "Required if you'd like to use the YAML metadata format."
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "JMS\\Serializer\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Johannes M. Schmitt",
- "email": "schmittjoh@gmail.com"
- },
- {
- "name": "Asmir Mustafic",
- "email": "goetas@gmail.com"
- }
- ],
- "description": "Library for (de-)serializing data of any complexity; supports XML, and JSON.",
- "homepage": "http://jmsyst.com/libs/serializer",
- "keywords": [
- "deserialization",
- "jaxb",
- "json",
- "serialization",
- "xml"
- ],
- "support": {
- "issues": "https://github.com/schmittjoh/serializer/issues",
- "source": "https://github.com/schmittjoh/serializer/tree/3.30.0"
- },
- "funding": [
- {
- "url": "https://github.com/goetas",
- "type": "github"
- }
- ],
- "time": "2024-02-24T14:12:14+00:00"
- },
- {
- "name": "phpstan/phpdoc-parser",
- "version": "1.29.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpstan/phpdoc-parser.git",
- "reference": "536889f2b340489d328f5ffb7b02bb6b183ddedc"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/536889f2b340489d328f5ffb7b02bb6b183ddedc",
- "reference": "536889f2b340489d328f5ffb7b02bb6b183ddedc",
- "shasum": ""
- },
- "require": {
- "php": "^7.2 || ^8.0"
- },
- "require-dev": {
- "doctrine/annotations": "^2.0",
- "nikic/php-parser": "^4.15",
- "php-parallel-lint/php-parallel-lint": "^1.2",
- "phpstan/extension-installer": "^1.0",
- "phpstan/phpstan": "^1.5",
- "phpstan/phpstan-phpunit": "^1.1",
- "phpstan/phpstan-strict-rules": "^1.0",
- "phpunit/phpunit": "^9.5",
- "symfony/process": "^5.2"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "PHPStan\\PhpDocParser\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "PHPDoc parser with support for nullable, intersection and generic types",
- "support": {
- "issues": "https://github.com/phpstan/phpdoc-parser/issues",
- "source": "https://github.com/phpstan/phpdoc-parser/tree/1.29.0"
- },
- "time": "2024-05-06T12:04:23+00:00"
- },
- {
- "name": "psr/cache",
- "version": "3.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/cache.git",
- "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf",
- "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf",
- "shasum": ""
- },
- "require": {
- "php": ">=8.0.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "https://www.php-fig.org/"
- }
- ],
- "description": "Common interface for caching libraries",
- "keywords": [
- "cache",
- "psr",
- "psr-6"
- ],
- "support": {
- "source": "https://github.com/php-fig/cache/tree/3.0.0"
- },
- "time": "2021-02-03T23:26:27+00:00"
- },
- {
- "name": "psr/http-client",
- "version": "1.0.3",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-client.git",
- "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90",
- "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90",
- "shasum": ""
- },
- "require": {
- "php": "^7.0 || ^8.0",
- "psr/http-message": "^1.0 || ^2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Client\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "https://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP clients",
- "homepage": "https://github.com/php-fig/http-client",
- "keywords": [
- "http",
- "http-client",
- "psr",
- "psr-18"
- ],
- "support": {
- "source": "https://github.com/php-fig/http-client"
- },
- "time": "2023-09-23T14:17:50+00:00"
- },
- {
- "name": "psr/http-factory",
- "version": "1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-factory.git",
- "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a",
- "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a",
- "shasum": ""
- },
- "require": {
- "php": ">=7.1",
- "psr/http-message": "^1.0 || ^2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "https://www.php-fig.org/"
- }
- ],
- "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories",
- "keywords": [
- "factory",
- "http",
- "message",
- "psr",
- "psr-17",
- "psr-7",
- "request",
- "response"
- ],
- "support": {
- "source": "https://github.com/php-fig/http-factory"
- },
- "time": "2024-04-15T12:06:14+00:00"
- },
- {
- "name": "psr/http-message",
- "version": "2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/http-message.git",
- "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71",
- "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71",
- "shasum": ""
- },
- "require": {
- "php": "^7.2 || ^8.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Http\\Message\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "https://www.php-fig.org/"
- }
- ],
- "description": "Common interface for HTTP messages",
- "homepage": "https://github.com/php-fig/http-message",
- "keywords": [
- "http",
- "http-message",
- "psr",
- "psr-7",
- "request",
- "response"
- ],
- "support": {
- "source": "https://github.com/php-fig/http-message/tree/2.0"
- },
- "time": "2023-04-04T09:54:51+00:00"
- },
- {
- "name": "ralouphie/getallheaders",
- "version": "3.0.3",
- "source": {
- "type": "git",
- "url": "https://github.com/ralouphie/getallheaders.git",
- "reference": "120b605dfeb996808c31b6477290a714d356e822"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822",
- "reference": "120b605dfeb996808c31b6477290a714d356e822",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6"
- },
- "require-dev": {
- "php-coveralls/php-coveralls": "^2.1",
- "phpunit/phpunit": "^5 || ^6.5"
- },
- "type": "library",
- "autoload": {
- "files": [
- "src/getallheaders.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Ralph Khattar",
- "email": "ralph.khattar@gmail.com"
- }
- ],
- "description": "A polyfill for getallheaders.",
- "support": {
- "issues": "https://github.com/ralouphie/getallheaders/issues",
- "source": "https://github.com/ralouphie/getallheaders/tree/develop"
- },
- "time": "2019-03-08T08:55:37+00:00"
- },
- {
- "name": "symfony/deprecation-contracts",
- "version": "v3.5.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/deprecation-contracts.git",
- "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1",
- "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1",
- "shasum": ""
- },
- "require": {
- "php": ">=8.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-main": "3.5-dev"
- },
- "thanks": {
- "name": "symfony/contracts",
- "url": "https://github.com/symfony/contracts"
- }
- },
- "autoload": {
- "files": [
- "function.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "A generic function and convention to trigger deprecation notices",
- "homepage": "https://symfony.com",
- "support": {
- "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.0"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2024-04-18T09:32:20+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "clue/ndjson-react",
- "version": "v1.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/clue/reactphp-ndjson.git",
- "reference": "392dc165fce93b5bb5c637b67e59619223c931b0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/clue/reactphp-ndjson/zipball/392dc165fce93b5bb5c637b67e59619223c931b0",
- "reference": "392dc165fce93b5bb5c637b67e59619223c931b0",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3",
- "react/stream": "^1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "^9.5 || ^5.7 || ^4.8.35",
- "react/event-loop": "^1.2"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Clue\\React\\NDJson\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Christian Lück",
- "email": "christian@clue.engineering"
- }
- ],
- "description": "Streaming newline-delimited JSON (NDJSON) parser and encoder for ReactPHP.",
- "homepage": "https://github.com/clue/reactphp-ndjson",
- "keywords": [
- "NDJSON",
- "json",
- "jsonlines",
- "newline",
- "reactphp",
- "streaming"
- ],
- "support": {
- "issues": "https://github.com/clue/reactphp-ndjson/issues",
- "source": "https://github.com/clue/reactphp-ndjson/tree/v1.3.0"
- },
- "funding": [
- {
- "url": "https://clue.engineering/support",
- "type": "custom"
- },
- {
- "url": "https://github.com/clue",
- "type": "github"
- }
- ],
- "time": "2022-12-23T10:58:28+00:00"
- },
- {
- "name": "composer/pcre",
- "version": "3.1.4",
- "source": {
- "type": "git",
- "url": "https://github.com/composer/pcre.git",
- "reference": "04229f163664973f68f38f6f73d917799168ef24"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/composer/pcre/zipball/04229f163664973f68f38f6f73d917799168ef24",
- "reference": "04229f163664973f68f38f6f73d917799168ef24",
- "shasum": ""
- },
- "require": {
- "php": "^7.4 || ^8.0"
- },
- "require-dev": {
- "phpstan/phpstan": "^1.3",
- "phpstan/phpstan-strict-rules": "^1.1",
- "symfony/phpunit-bridge": "^5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-main": "3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Composer\\Pcre\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jordi Boggiano",
- "email": "j.boggiano@seld.be",
- "homepage": "http://seld.be"
- }
- ],
- "description": "PCRE wrapping library that offers type-safe preg_* replacements.",
- "keywords": [
- "PCRE",
- "preg",
- "regex",
- "regular expression"
- ],
- "support": {
- "issues": "https://github.com/composer/pcre/issues",
- "source": "https://github.com/composer/pcre/tree/3.1.4"
- },
- "funding": [
- {
- "url": "https://packagist.com",
- "type": "custom"
- },
- {
- "url": "https://github.com/composer",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/composer/composer",
- "type": "tidelift"
- }
- ],
- "time": "2024-05-27T13:40:54+00:00"
- },
- {
- "name": "composer/semver",
- "version": "3.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/composer/semver.git",
- "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/composer/semver/zipball/35e8d0af4486141bc745f23a29cc2091eb624a32",
- "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.2 || ^7.0 || ^8.0"
- },
- "require-dev": {
- "phpstan/phpstan": "^1.4",
- "symfony/phpunit-bridge": "^4.2 || ^5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-main": "3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Composer\\Semver\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nils Adermann",
- "email": "naderman@naderman.de",
- "homepage": "http://www.naderman.de"
- },
- {
- "name": "Jordi Boggiano",
- "email": "j.boggiano@seld.be",
- "homepage": "http://seld.be"
- },
- {
- "name": "Rob Bast",
- "email": "rob.bast@gmail.com",
- "homepage": "http://robbast.nl"
- }
- ],
- "description": "Semver library that offers utilities, version constraint parsing and validation.",
- "keywords": [
- "semantic",
- "semver",
- "validation",
- "versioning"
- ],
- "support": {
- "irc": "ircs://irc.libera.chat:6697/composer",
- "issues": "https://github.com/composer/semver/issues",
- "source": "https://github.com/composer/semver/tree/3.4.0"
- },
- "funding": [
- {
- "url": "https://packagist.com",
- "type": "custom"
- },
- {
- "url": "https://github.com/composer",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/composer/composer",
- "type": "tidelift"
- }
- ],
- "time": "2023-08-31T09:50:34+00:00"
- },
- {
- "name": "composer/xdebug-handler",
- "version": "3.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/composer/xdebug-handler.git",
- "reference": "6c1925561632e83d60a44492e0b344cf48ab85ef"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/6c1925561632e83d60a44492e0b344cf48ab85ef",
- "reference": "6c1925561632e83d60a44492e0b344cf48ab85ef",
- "shasum": ""
- },
- "require": {
- "composer/pcre": "^1 || ^2 || ^3",
- "php": "^7.2.5 || ^8.0",
- "psr/log": "^1 || ^2 || ^3"
- },
- "require-dev": {
- "phpstan/phpstan": "^1.0",
- "phpstan/phpstan-strict-rules": "^1.1",
- "phpunit/phpunit": "^8.5 || ^9.6 || ^10.5"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Composer\\XdebugHandler\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "John Stevenson",
- "email": "john-stevenson@blueyonder.co.uk"
- }
- ],
- "description": "Restarts a process without Xdebug.",
- "keywords": [
- "Xdebug",
- "performance"
- ],
- "support": {
- "irc": "ircs://irc.libera.chat:6697/composer",
- "issues": "https://github.com/composer/xdebug-handler/issues",
- "source": "https://github.com/composer/xdebug-handler/tree/3.0.5"
- },
- "funding": [
- {
- "url": "https://packagist.com",
- "type": "custom"
- },
- {
- "url": "https://github.com/composer",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/composer/composer",
- "type": "tidelift"
- }
- ],
- "time": "2024-05-06T16:37:16+00:00"
- },
- {
- "name": "evenement/evenement",
- "version": "v3.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/igorw/evenement.git",
- "reference": "0a16b0d71ab13284339abb99d9d2bd813640efbc"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/igorw/evenement/zipball/0a16b0d71ab13284339abb99d9d2bd813640efbc",
- "reference": "0a16b0d71ab13284339abb99d9d2bd813640efbc",
- "shasum": ""
- },
- "require": {
- "php": ">=7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^9 || ^6"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Evenement\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Igor Wiedler",
- "email": "igor@wiedler.ch"
- }
- ],
- "description": "Événement is a very simple event dispatching library for PHP",
- "keywords": [
- "event-dispatcher",
- "event-emitter"
- ],
- "support": {
- "issues": "https://github.com/igorw/evenement/issues",
- "source": "https://github.com/igorw/evenement/tree/v3.0.2"
- },
- "time": "2023-08-08T05:53:35+00:00"
- },
- {
- "name": "fidry/cpu-core-counter",
- "version": "1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/theofidry/cpu-core-counter.git",
- "reference": "f92996c4d5c1a696a6a970e20f7c4216200fcc42"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/f92996c4d5c1a696a6a970e20f7c4216200fcc42",
- "reference": "f92996c4d5c1a696a6a970e20f7c4216200fcc42",
- "shasum": ""
- },
- "require": {
- "php": "^7.2 || ^8.0"
- },
- "require-dev": {
- "fidry/makefile": "^0.2.0",
- "fidry/php-cs-fixer-config": "^1.1.2",
- "phpstan/extension-installer": "^1.2.0",
- "phpstan/phpstan": "^1.9.2",
- "phpstan/phpstan-deprecation-rules": "^1.0.0",
- "phpstan/phpstan-phpunit": "^1.2.2",
- "phpstan/phpstan-strict-rules": "^1.4.4",
- "phpunit/phpunit": "^8.5.31 || ^9.5.26",
- "webmozarts/strict-phpunit": "^7.5"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Fidry\\CpuCoreCounter\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Théo FIDRY",
- "email": "theo.fidry@gmail.com"
- }
- ],
- "description": "Tiny utility to get the number of CPU cores.",
- "keywords": [
- "CPU",
- "core"
- ],
- "support": {
- "issues": "https://github.com/theofidry/cpu-core-counter/issues",
- "source": "https://github.com/theofidry/cpu-core-counter/tree/1.1.0"
- },
- "funding": [
- {
- "url": "https://github.com/theofidry",
- "type": "github"
- }
- ],
- "time": "2024-02-07T09:43:46+00:00"
- },
- {
- "name": "friendsofphp/php-cs-fixer",
- "version": "v3.58.1",
- "source": {
- "type": "git",
- "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git",
- "reference": "04e9424025677a86914b9a4944dbbf4060bb0aff"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/04e9424025677a86914b9a4944dbbf4060bb0aff",
- "reference": "04e9424025677a86914b9a4944dbbf4060bb0aff",
- "shasum": ""
- },
- "require": {
- "clue/ndjson-react": "^1.0",
- "composer/semver": "^3.4",
- "composer/xdebug-handler": "^3.0.3",
- "ext-filter": "*",
- "ext-json": "*",
- "ext-tokenizer": "*",
- "fidry/cpu-core-counter": "^1.0",
- "php": "^7.4 || ^8.0",
- "react/child-process": "^0.6.5",
- "react/event-loop": "^1.0",
- "react/promise": "^2.0 || ^3.0",
- "react/socket": "^1.0",
- "react/stream": "^1.0",
- "sebastian/diff": "^4.0 || ^5.0 || ^6.0",
- "symfony/console": "^5.4 || ^6.0 || ^7.0",
- "symfony/event-dispatcher": "^5.4 || ^6.0 || ^7.0",
- "symfony/filesystem": "^5.4 || ^6.0 || ^7.0",
- "symfony/finder": "^5.4 || ^6.0 || ^7.0",
- "symfony/options-resolver": "^5.4 || ^6.0 || ^7.0",
- "symfony/polyfill-mbstring": "^1.28",
- "symfony/polyfill-php80": "^1.28",
- "symfony/polyfill-php81": "^1.28",
- "symfony/process": "^5.4 || ^6.0 || ^7.0",
- "symfony/stopwatch": "^5.4 || ^6.0 || ^7.0"
- },
- "require-dev": {
- "facile-it/paraunit": "^1.3 || ^2.0",
- "infection/infection": "^0.27.11",
- "justinrainbow/json-schema": "^5.2",
- "keradus/cli-executor": "^2.1",
- "mikey179/vfsstream": "^1.6.11",
- "php-coveralls/php-coveralls": "^2.7",
- "php-cs-fixer/accessible-object": "^1.1",
- "php-cs-fixer/phpunit-constraint-isidenticalstring": "^1.4",
- "php-cs-fixer/phpunit-constraint-xmlmatchesxsd": "^1.4",
- "phpunit/phpunit": "^9.6 || ^10.5.5 || ^11.0.2",
- "symfony/var-dumper": "^5.4 || ^6.0 || ^7.0",
- "symfony/yaml": "^5.4 || ^6.0 || ^7.0"
- },
- "suggest": {
- "ext-dom": "For handling output formats in XML",
- "ext-mbstring": "For handling non-UTF8 characters."
- },
- "bin": [
- "php-cs-fixer"
- ],
- "type": "application",
- "autoload": {
- "psr-4": {
- "PhpCsFixer\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Dariusz Rumiński",
- "email": "dariusz.ruminski@gmail.com"
- }
- ],
- "description": "A tool to automatically fix PHP code style",
- "keywords": [
- "Static code analysis",
- "fixer",
- "standards",
- "static analysis"
- ],
- "support": {
- "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues",
- "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.58.1"
- },
- "funding": [
- {
- "url": "https://github.com/keradus",
- "type": "github"
- }
- ],
- "time": "2024-05-29T16:39:07+00:00"
- },
- {
- "name": "myclabs/deep-copy",
- "version": "1.11.1",
- "source": {
- "type": "git",
- "url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c",
- "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c",
- "shasum": ""
- },
- "require": {
- "php": "^7.1 || ^8.0"
- },
- "conflict": {
- "doctrine/collections": "<1.6.8",
- "doctrine/common": "<2.13.3 || >=3,<3.2.2"
- },
- "require-dev": {
- "doctrine/collections": "^1.6.8",
- "doctrine/common": "^2.13.3 || ^3.2.2",
- "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13"
- },
- "type": "library",
- "autoload": {
- "files": [
- "src/DeepCopy/deep_copy.php"
- ],
- "psr-4": {
- "DeepCopy\\": "src/DeepCopy/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Create deep copies (clones) of your objects",
- "keywords": [
- "clone",
- "copy",
- "duplicate",
- "object",
- "object graph"
- ],
- "support": {
- "issues": "https://github.com/myclabs/DeepCopy/issues",
- "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1"
- },
- "funding": [
- {
- "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy",
- "type": "tidelift"
- }
- ],
- "time": "2023-03-08T13:26:56+00:00"
- },
- {
- "name": "nikic/php-parser",
- "version": "v5.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/nikic/PHP-Parser.git",
- "reference": "139676794dc1e9231bf7bcd123cfc0c99182cb13"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/139676794dc1e9231bf7bcd123cfc0c99182cb13",
- "reference": "139676794dc1e9231bf7bcd123cfc0c99182cb13",
- "shasum": ""
- },
- "require": {
- "ext-ctype": "*",
- "ext-json": "*",
- "ext-tokenizer": "*",
- "php": ">=7.4"
- },
- "require-dev": {
- "ircmaxell/php-yacc": "^0.0.7",
- "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0"
- },
- "bin": [
- "bin/php-parse"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "PhpParser\\": "lib/PhpParser"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Nikita Popov"
- }
- ],
- "description": "A PHP parser written in PHP",
- "keywords": [
- "parser",
- "php"
- ],
- "support": {
- "issues": "https://github.com/nikic/PHP-Parser/issues",
- "source": "https://github.com/nikic/PHP-Parser/tree/v5.0.2"
- },
- "time": "2024-03-05T20:51:40+00:00"
- },
- {
- "name": "phar-io/manifest",
- "version": "2.0.4",
- "source": {
- "type": "git",
- "url": "https://github.com/phar-io/manifest.git",
- "reference": "54750ef60c58e43759730615a392c31c80e23176"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phar-io/manifest/zipball/54750ef60c58e43759730615a392c31c80e23176",
- "reference": "54750ef60c58e43759730615a392c31c80e23176",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-libxml": "*",
- "ext-phar": "*",
- "ext-xmlwriter": "*",
- "phar-io/version": "^3.0.1",
- "php": "^7.2 || ^8.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Heuer",
- "email": "sebastian@phpeople.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "Developer"
- }
- ],
- "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
- "support": {
- "issues": "https://github.com/phar-io/manifest/issues",
- "source": "https://github.com/phar-io/manifest/tree/2.0.4"
- },
- "funding": [
- {
- "url": "https://github.com/theseer",
- "type": "github"
- }
- ],
- "time": "2024-03-03T12:33:53+00:00"
- },
- {
- "name": "phar-io/version",
- "version": "3.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phar-io/version.git",
- "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74",
- "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74",
- "shasum": ""
- },
- "require": {
- "php": "^7.2 || ^8.0"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Heuer",
- "email": "sebastian@phpeople.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "Developer"
- }
- ],
- "description": "Library for handling version information and constraints",
- "support": {
- "issues": "https://github.com/phar-io/version/issues",
- "source": "https://github.com/phar-io/version/tree/3.2.1"
- },
- "time": "2022-02-21T01:04:05+00:00"
- },
- {
- "name": "phpstan/phpstan",
- "version": "1.11.2",
- "source": {
- "type": "git",
- "url": "https://github.com/phpstan/phpstan.git",
- "reference": "0d5d4294a70deb7547db655c47685d680e39cfec"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpstan/zipball/0d5d4294a70deb7547db655c47685d680e39cfec",
- "reference": "0d5d4294a70deb7547db655c47685d680e39cfec",
- "shasum": ""
- },
- "require": {
- "php": "^7.2|^8.0"
- },
- "conflict": {
- "phpstan/phpstan-shim": "*"
- },
- "bin": [
- "phpstan",
- "phpstan.phar"
- ],
- "type": "library",
- "autoload": {
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "PHPStan - PHP Static Analysis Tool",
- "keywords": [
- "dev",
- "static analysis"
- ],
- "support": {
- "docs": "https://phpstan.org/user-guide/getting-started",
- "forum": "https://github.com/phpstan/phpstan/discussions",
- "issues": "https://github.com/phpstan/phpstan/issues",
- "security": "https://github.com/phpstan/phpstan/security/policy",
- "source": "https://github.com/phpstan/phpstan-src"
- },
- "funding": [
- {
- "url": "https://github.com/ondrejmirtes",
- "type": "github"
- },
- {
- "url": "https://github.com/phpstan",
- "type": "github"
- }
- ],
- "time": "2024-05-24T13:23:04+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "9.2.31",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "48c34b5d8d983006bd2adc2d0de92963b9155965"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/48c34b5d8d983006bd2adc2d0de92963b9155965",
- "reference": "48c34b5d8d983006bd2adc2d0de92963b9155965",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-libxml": "*",
- "ext-xmlwriter": "*",
- "nikic/php-parser": "^4.18 || ^5.0",
- "php": ">=7.3",
- "phpunit/php-file-iterator": "^3.0.3",
- "phpunit/php-text-template": "^2.0.2",
- "sebastian/code-unit-reverse-lookup": "^2.0.2",
- "sebastian/complexity": "^2.0",
- "sebastian/environment": "^5.1.2",
- "sebastian/lines-of-code": "^1.0.3",
- "sebastian/version": "^3.0.1",
- "theseer/tokenizer": "^1.2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^9.3"
- },
- "suggest": {
- "ext-pcov": "PHP extension that provides line coverage",
- "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "9.2-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "support": {
- "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
- "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy",
- "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.31"
- },
- "funding": [
- {
- "url": "https://github.com/sebastianbergmann",
- "type": "github"
- }
- ],
- "time": "2024-03-02T06:37:42+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "3.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf",
- "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf",
- "shasum": ""
- },
- "require": {
- "php": ">=7.3"
- },
- "require-dev": {
- "phpunit/phpunit": "^9.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "support": {
- "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues",
- "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6"
- },
- "funding": [
- {
- "url": "https://github.com/sebastianbergmann",
- "type": "github"
- }
- ],
- "time": "2021-12-02T12:48:52+00:00"
- },
- {
- "name": "phpunit/php-invoker",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-invoker.git",
- "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67",
- "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67",
- "shasum": ""
- },
- "require": {
- "php": ">=7.3"
- },
- "require-dev": {
- "ext-pcntl": "*",
- "phpunit/phpunit": "^9.3"
- },
- "suggest": {
- "ext-pcntl": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.1-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Invoke callables with a timeout",
- "homepage": "https://github.com/sebastianbergmann/php-invoker/",
- "keywords": [
- "process"
- ],
- "support": {
- "issues": "https://github.com/sebastianbergmann/php-invoker/issues",
- "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1"
- },
- "funding": [
- {
- "url": "https://github.com/sebastianbergmann",
- "type": "github"
- }
- ],
- "time": "2020-09-28T05:58:55+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "2.0.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28",
- "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28",
- "shasum": ""
- },
- "require": {
- "php": ">=7.3"
- },
- "require-dev": {
- "phpunit/phpunit": "^9.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "support": {
- "issues": "https://github.com/sebastianbergmann/php-text-template/issues",
- "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4"
- },
- "funding": [
- {
- "url": "https://github.com/sebastianbergmann",
- "type": "github"
- }
- ],
- "time": "2020-10-26T05:33:50+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "5.0.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2",
- "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2",
- "shasum": ""
- },
- "require": {
- "php": ">=7.3"
- },
- "require-dev": {
- "phpunit/phpunit": "^9.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "support": {
- "issues": "https://github.com/sebastianbergmann/php-timer/issues",
- "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3"
- },
- "funding": [
- {
- "url": "https://github.com/sebastianbergmann",
- "type": "github"
- }
- ],
- "time": "2020-10-26T13:16:10+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "9.6.19",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "a1a54a473501ef4cdeaae4e06891674114d79db8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a1a54a473501ef4cdeaae4e06891674114d79db8",
- "reference": "a1a54a473501ef4cdeaae4e06891674114d79db8",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.3.1 || ^2",
- "ext-dom": "*",
- "ext-json": "*",
- "ext-libxml": "*",
- "ext-mbstring": "*",
- "ext-xml": "*",
- "ext-xmlwriter": "*",
- "myclabs/deep-copy": "^1.10.1",
- "phar-io/manifest": "^2.0.3",
- "phar-io/version": "^3.0.2",
- "php": ">=7.3",
- "phpunit/php-code-coverage": "^9.2.28",
- "phpunit/php-file-iterator": "^3.0.5",
- "phpunit/php-invoker": "^3.1.1",
- "phpunit/php-text-template": "^2.0.3",
- "phpunit/php-timer": "^5.0.2",
- "sebastian/cli-parser": "^1.0.1",
- "sebastian/code-unit": "^1.0.6",
- "sebastian/comparator": "^4.0.8",
- "sebastian/diff": "^4.0.3",
- "sebastian/environment": "^5.1.3",
- "sebastian/exporter": "^4.0.5",
- "sebastian/global-state": "^5.0.1",
- "sebastian/object-enumerator": "^4.0.3",
- "sebastian/resource-operations": "^3.0.3",
- "sebastian/type": "^3.2",
- "sebastian/version": "^3.0.2"
- },
- "suggest": {
- "ext-soap": "To be able to generate mocks based on WSDL files",
- "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "9.6-dev"
- }
- },
- "autoload": {
- "files": [
- "src/Framework/Assert/Functions.php"
- ],
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "support": {
- "issues": "https://github.com/sebastianbergmann/phpunit/issues",
- "security": "https://github.com/sebastianbergmann/phpunit/security/policy",
- "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.19"
- },
- "funding": [
- {
- "url": "https://phpunit.de/sponsors.html",
- "type": "custom"
- },
- {
- "url": "https://github.com/sebastianbergmann",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit",
- "type": "tidelift"
- }
- ],
- "time": "2024-04-05T04:35:58+00:00"
- },
- {
- "name": "psr/container",
- "version": "2.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/container.git",
- "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963",
- "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963",
- "shasum": ""
- },
- "require": {
- "php": ">=7.4.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Container\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "https://www.php-fig.org/"
- }
- ],
- "description": "Common Container Interface (PHP FIG PSR-11)",
- "homepage": "https://github.com/php-fig/container",
- "keywords": [
- "PSR-11",
- "container",
- "container-interface",
- "container-interop",
- "psr"
- ],
- "support": {
- "issues": "https://github.com/php-fig/container/issues",
- "source": "https://github.com/php-fig/container/tree/2.0.2"
- },
- "time": "2021-11-05T16:47:00+00:00"
- },
- {
- "name": "psr/event-dispatcher",
- "version": "1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/event-dispatcher.git",
- "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0",
- "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0",
- "shasum": ""
- },
- "require": {
- "php": ">=7.2.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\EventDispatcher\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Standard interfaces for event handling.",
- "keywords": [
- "events",
- "psr",
- "psr-14"
- ],
- "support": {
- "issues": "https://github.com/php-fig/event-dispatcher/issues",
- "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0"
- },
- "time": "2019-01-08T18:20:26+00:00"
- },
- {
- "name": "psr/log",
- "version": "3.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001",
- "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001",
- "shasum": ""
- },
- "require": {
- "php": ">=8.0.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "https://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "support": {
- "source": "https://github.com/php-fig/log/tree/3.0.0"
- },
- "time": "2021-07-14T16:46:02+00:00"
- },
- {
- "name": "react/cache",
- "version": "v1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/reactphp/cache.git",
- "reference": "d47c472b64aa5608225f47965a484b75c7817d5b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/reactphp/cache/zipball/d47c472b64aa5608225f47965a484b75c7817d5b",
- "reference": "d47c472b64aa5608225f47965a484b75c7817d5b",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0",
- "react/promise": "^3.0 || ^2.0 || ^1.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^9.5 || ^5.7 || ^4.8.35"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "React\\Cache\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Christian Lück",
- "email": "christian@clue.engineering",
- "homepage": "https://clue.engineering/"
- },
- {
- "name": "Cees-Jan Kiewiet",
- "email": "reactphp@ceesjankiewiet.nl",
- "homepage": "https://wyrihaximus.net/"
- },
- {
- "name": "Jan Sorgalla",
- "email": "jsorgalla@gmail.com",
- "homepage": "https://sorgalla.com/"
- },
- {
- "name": "Chris Boden",
- "email": "cboden@gmail.com",
- "homepage": "https://cboden.dev/"
- }
- ],
- "description": "Async, Promise-based cache interface for ReactPHP",
- "keywords": [
- "cache",
- "caching",
- "promise",
- "reactphp"
- ],
- "support": {
- "issues": "https://github.com/reactphp/cache/issues",
- "source": "https://github.com/reactphp/cache/tree/v1.2.0"
- },
- "funding": [
- {
- "url": "https://opencollective.com/reactphp",
- "type": "open_collective"
- }
- ],
- "time": "2022-11-30T15:59:55+00:00"
- },
- {
- "name": "react/child-process",
- "version": "v0.6.5",
- "source": {
- "type": "git",
- "url": "https://github.com/reactphp/child-process.git",
- "reference": "e71eb1aa55f057c7a4a0d08d06b0b0a484bead43"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/reactphp/child-process/zipball/e71eb1aa55f057c7a4a0d08d06b0b0a484bead43",
- "reference": "e71eb1aa55f057c7a4a0d08d06b0b0a484bead43",
- "shasum": ""
- },
- "require": {
- "evenement/evenement": "^3.0 || ^2.0 || ^1.0",
- "php": ">=5.3.0",
- "react/event-loop": "^1.2",
- "react/stream": "^1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "^9.3 || ^5.7 || ^4.8.35",
- "react/socket": "^1.8",
- "sebastian/environment": "^5.0 || ^3.0 || ^2.0 || ^1.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "React\\ChildProcess\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Christian Lück",
- "email": "christian@clue.engineering",
- "homepage": "https://clue.engineering/"
- },
- {
- "name": "Cees-Jan Kiewiet",
- "email": "reactphp@ceesjankiewiet.nl",
- "homepage": "https://wyrihaximus.net/"
- },
- {
- "name": "Jan Sorgalla",
- "email": "jsorgalla@gmail.com",
- "homepage": "https://sorgalla.com/"
- },
- {
- "name": "Chris Boden",
- "email": "cboden@gmail.com",
- "homepage": "https://cboden.dev/"
- }
- ],
- "description": "Event-driven library for executing child processes with ReactPHP.",
- "keywords": [
- "event-driven",
- "process",
- "reactphp"
- ],
- "support": {
- "issues": "https://github.com/reactphp/child-process/issues",
- "source": "https://github.com/reactphp/child-process/tree/v0.6.5"
- },
- "funding": [
- {
- "url": "https://github.com/WyriHaximus",
- "type": "github"
- },
- {
- "url": "https://github.com/clue",
- "type": "github"
- }
- ],
- "time": "2022-09-16T13:41:56+00:00"
- },
- {
- "name": "react/dns",
- "version": "v1.12.0",
- "source": {
- "type": "git",
- "url": "https://github.com/reactphp/dns.git",
- "reference": "c134600642fa615b46b41237ef243daa65bb64ec"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/reactphp/dns/zipball/c134600642fa615b46b41237ef243daa65bb64ec",
- "reference": "c134600642fa615b46b41237ef243daa65bb64ec",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0",
- "react/cache": "^1.0 || ^0.6 || ^0.5",
- "react/event-loop": "^1.2",
- "react/promise": "^3.0 || ^2.7 || ^1.2.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36",
- "react/async": "^4 || ^3 || ^2",
- "react/promise-timer": "^1.9"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "React\\Dns\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Christian Lück",
- "email": "christian@clue.engineering",
- "homepage": "https://clue.engineering/"
- },
- {
- "name": "Cees-Jan Kiewiet",
- "email": "reactphp@ceesjankiewiet.nl",
- "homepage": "https://wyrihaximus.net/"
- },
- {
- "name": "Jan Sorgalla",
- "email": "jsorgalla@gmail.com",
- "homepage": "https://sorgalla.com/"
- },
- {
- "name": "Chris Boden",
- "email": "cboden@gmail.com",
- "homepage": "https://cboden.dev/"
- }
- ],
- "description": "Async DNS resolver for ReactPHP",
- "keywords": [
- "async",
- "dns",
- "dns-resolver",
- "reactphp"
- ],
- "support": {
- "issues": "https://github.com/reactphp/dns/issues",
- "source": "https://github.com/reactphp/dns/tree/v1.12.0"
- },
- "funding": [
- {
- "url": "https://opencollective.com/reactphp",
- "type": "open_collective"
- }
- ],
- "time": "2023-11-29T12:41:06+00:00"
- },
- {
- "name": "react/event-loop",
- "version": "v1.5.0",
- "source": {
- "type": "git",
- "url": "https://github.com/reactphp/event-loop.git",
- "reference": "bbe0bd8c51ffc05ee43f1729087ed3bdf7d53354"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/reactphp/event-loop/zipball/bbe0bd8c51ffc05ee43f1729087ed3bdf7d53354",
- "reference": "bbe0bd8c51ffc05ee43f1729087ed3bdf7d53354",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36"
- },
- "suggest": {
- "ext-pcntl": "For signal handling support when using the StreamSelectLoop"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "React\\EventLoop\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Christian Lück",
- "email": "christian@clue.engineering",
- "homepage": "https://clue.engineering/"
- },
- {
- "name": "Cees-Jan Kiewiet",
- "email": "reactphp@ceesjankiewiet.nl",
- "homepage": "https://wyrihaximus.net/"
- },
- {
- "name": "Jan Sorgalla",
- "email": "jsorgalla@gmail.com",
- "homepage": "https://sorgalla.com/"
- },
- {
- "name": "Chris Boden",
- "email": "cboden@gmail.com",
- "homepage": "https://cboden.dev/"
- }
- ],
- "description": "ReactPHP's core reactor event loop that libraries can use for evented I/O.",
- "keywords": [
- "asynchronous",
- "event-loop"
- ],
- "support": {
- "issues": "https://github.com/reactphp/event-loop/issues",
- "source": "https://github.com/reactphp/event-loop/tree/v1.5.0"
- },
- "funding": [
- {
- "url": "https://opencollective.com/reactphp",
- "type": "open_collective"
- }
- ],
- "time": "2023-11-13T13:48:05+00:00"
- },
- {
- "name": "react/promise",
- "version": "v3.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/reactphp/promise.git",
- "reference": "8a164643313c71354582dc850b42b33fa12a4b63"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/reactphp/promise/zipball/8a164643313c71354582dc850b42b33fa12a4b63",
- "reference": "8a164643313c71354582dc850b42b33fa12a4b63",
- "shasum": ""
- },
- "require": {
- "php": ">=7.1.0"
- },
- "require-dev": {
- "phpstan/phpstan": "1.10.39 || 1.4.10",
- "phpunit/phpunit": "^9.6 || ^7.5"
- },
- "type": "library",
- "autoload": {
- "files": [
- "src/functions_include.php"
- ],
- "psr-4": {
- "React\\Promise\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jan Sorgalla",
- "email": "jsorgalla@gmail.com",
- "homepage": "https://sorgalla.com/"
- },
- {
- "name": "Christian Lück",
- "email": "christian@clue.engineering",
- "homepage": "https://clue.engineering/"
- },
- {
- "name": "Cees-Jan Kiewiet",
- "email": "reactphp@ceesjankiewiet.nl",
- "homepage": "https://wyrihaximus.net/"
- },
- {
- "name": "Chris Boden",
- "email": "cboden@gmail.com",
- "homepage": "https://cboden.dev/"
- }
- ],
- "description": "A lightweight implementation of CommonJS Promises/A for PHP",
- "keywords": [
- "promise",
- "promises"
- ],
- "support": {
- "issues": "https://github.com/reactphp/promise/issues",
- "source": "https://github.com/reactphp/promise/tree/v3.2.0"
- },
- "funding": [
- {
- "url": "https://opencollective.com/reactphp",
- "type": "open_collective"
- }
- ],
- "time": "2024-05-24T10:39:05+00:00"
- },
- {
- "name": "react/socket",
- "version": "v1.15.0",
- "source": {
- "type": "git",
- "url": "https://github.com/reactphp/socket.git",
- "reference": "216d3aec0b87f04a40ca04f481e6af01bdd1d038"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/reactphp/socket/zipball/216d3aec0b87f04a40ca04f481e6af01bdd1d038",
- "reference": "216d3aec0b87f04a40ca04f481e6af01bdd1d038",
- "shasum": ""
- },
- "require": {
- "evenement/evenement": "^3.0 || ^2.0 || ^1.0",
- "php": ">=5.3.0",
- "react/dns": "^1.11",
- "react/event-loop": "^1.2",
- "react/promise": "^3 || ^2.6 || ^1.2.1",
- "react/stream": "^1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "^9.6 || ^5.7 || ^4.8.36",
- "react/async": "^4 || ^3 || ^2",
- "react/promise-stream": "^1.4",
- "react/promise-timer": "^1.10"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "React\\Socket\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Christian Lück",
- "email": "christian@clue.engineering",
- "homepage": "https://clue.engineering/"
- },
- {
- "name": "Cees-Jan Kiewiet",
- "email": "reactphp@ceesjankiewiet.nl",
- "homepage": "https://wyrihaximus.net/"
- },
- {
- "name": "Jan Sorgalla",
- "email": "jsorgalla@gmail.com",
- "homepage": "https://sorgalla.com/"
- },
- {
- "name": "Chris Boden",
- "email": "cboden@gmail.com",
- "homepage": "https://cboden.dev/"
- }
- ],
- "description": "Async, streaming plaintext TCP/IP and secure TLS socket server and client connections for ReactPHP",
- "keywords": [
- "Connection",
- "Socket",
- "async",
- "reactphp",
- "stream"
- ],
- "support": {
- "issues": "https://github.com/reactphp/socket/issues",
- "source": "https://github.com/reactphp/socket/tree/v1.15.0"
- },
- "funding": [
- {
- "url": "https://opencollective.com/reactphp",
- "type": "open_collective"
- }
- ],
- "time": "2023-12-15T11:02:10+00:00"
- },
- {
- "name": "react/stream",
- "version": "v1.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/reactphp/stream.git",
- "reference": "6fbc9672905c7d5a885f2da2fc696f65840f4a66"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/reactphp/stream/zipball/6fbc9672905c7d5a885f2da2fc696f65840f4a66",
- "reference": "6fbc9672905c7d5a885f2da2fc696f65840f4a66",
- "shasum": ""
- },
- "require": {
- "evenement/evenement": "^3.0 || ^2.0 || ^1.0",
- "php": ">=5.3.8",
- "react/event-loop": "^1.2"
- },
- "require-dev": {
- "clue/stream-filter": "~1.2",
- "phpunit/phpunit": "^9.5 || ^5.7 || ^4.8.35"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "React\\Stream\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Christian Lück",
- "email": "christian@clue.engineering",
- "homepage": "https://clue.engineering/"
- },
- {
- "name": "Cees-Jan Kiewiet",
- "email": "reactphp@ceesjankiewiet.nl",
- "homepage": "https://wyrihaximus.net/"
- },
- {
- "name": "Jan Sorgalla",
- "email": "jsorgalla@gmail.com",
- "homepage": "https://sorgalla.com/"
- },
- {
- "name": "Chris Boden",
- "email": "cboden@gmail.com",
- "homepage": "https://cboden.dev/"
- }
- ],
- "description": "Event-driven readable and writable streams for non-blocking I/O in ReactPHP",
- "keywords": [
- "event-driven",
- "io",
- "non-blocking",
- "pipe",
- "reactphp",
- "readable",
- "stream",
- "writable"
- ],
- "support": {
- "issues": "https://github.com/reactphp/stream/issues",
- "source": "https://github.com/reactphp/stream/tree/v1.3.0"
- },
- "funding": [
- {
- "url": "https://opencollective.com/reactphp",
- "type": "open_collective"
- }
- ],
- "time": "2023-06-16T10:52:11+00:00"
- },
- {
- "name": "sebastian/cli-parser",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/cli-parser.git",
- "reference": "2b56bea83a09de3ac06bb18b92f068e60cc6f50b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/2b56bea83a09de3ac06bb18b92f068e60cc6f50b",
- "reference": "2b56bea83a09de3ac06bb18b92f068e60cc6f50b",
- "shasum": ""
- },
- "require": {
- "php": ">=7.3"
- },
- "require-dev": {
- "phpunit/phpunit": "^9.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library for parsing CLI options",
- "homepage": "https://github.com/sebastianbergmann/cli-parser",
- "support": {
- "issues": "https://github.com/sebastianbergmann/cli-parser/issues",
- "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.2"
- },
- "funding": [
- {
- "url": "https://github.com/sebastianbergmann",
- "type": "github"
- }
- ],
- "time": "2024-03-02T06:27:43+00:00"
- },
- {
- "name": "sebastian/code-unit",
- "version": "1.0.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/code-unit.git",
- "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120",
- "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120",
- "shasum": ""
- },
- "require": {
- "php": ">=7.3"
- },
- "require-dev": {
- "phpunit/phpunit": "^9.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Collection of value objects that represent the PHP code units",
- "homepage": "https://github.com/sebastianbergmann/code-unit",
- "support": {
- "issues": "https://github.com/sebastianbergmann/code-unit/issues",
- "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8"
- },
- "funding": [
- {
- "url": "https://github.com/sebastianbergmann",
- "type": "github"
- }
- ],
- "time": "2020-10-26T13:08:54+00:00"
- },
- {
- "name": "sebastian/code-unit-reverse-lookup",
- "version": "2.0.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
- "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5",
- "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5",
- "shasum": ""
- },
- "require": {
- "php": ">=7.3"
- },
- "require-dev": {
- "phpunit/phpunit": "^9.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Looks up which function or method a line of code belongs to",
- "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
- "support": {
- "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues",
- "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3"
- },
- "funding": [
- {
- "url": "https://github.com/sebastianbergmann",
- "type": "github"
- }
- ],
- "time": "2020-09-28T05:30:19+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "4.0.8",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "fa0f136dd2334583309d32b62544682ee972b51a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a",
- "reference": "fa0f136dd2334583309d32b62544682ee972b51a",
- "shasum": ""
- },
- "require": {
- "php": ">=7.3",
- "sebastian/diff": "^4.0",
- "sebastian/exporter": "^4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^9.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "https://github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "support": {
- "issues": "https://github.com/sebastianbergmann/comparator/issues",
- "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8"
- },
- "funding": [
- {
- "url": "https://github.com/sebastianbergmann",
- "type": "github"
- }
- ],
- "time": "2022-09-14T12:41:17+00:00"
- },
- {
- "name": "sebastian/complexity",
- "version": "2.0.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/complexity.git",
- "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/25f207c40d62b8b7aa32f5ab026c53561964053a",
- "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a",
- "shasum": ""
- },
- "require": {
- "nikic/php-parser": "^4.18 || ^5.0",
- "php": ">=7.3"
- },
- "require-dev": {
- "phpunit/phpunit": "^9.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library for calculating the complexity of PHP code units",
- "homepage": "https://github.com/sebastianbergmann/complexity",
- "support": {
- "issues": "https://github.com/sebastianbergmann/complexity/issues",
- "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.3"
- },
- "funding": [
- {
- "url": "https://github.com/sebastianbergmann",
- "type": "github"
- }
- ],
- "time": "2023-12-22T06:19:30+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "4.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/ba01945089c3a293b01ba9badc29ad55b106b0bc",
- "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc",
- "shasum": ""
- },
- "require": {
- "php": ">=7.3"
- },
- "require-dev": {
- "phpunit/phpunit": "^9.3",
- "symfony/process": "^4.2 || ^5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff",
- "udiff",
- "unidiff",
- "unified diff"
- ],
- "support": {
- "issues": "https://github.com/sebastianbergmann/diff/issues",
- "source": "https://github.com/sebastianbergmann/diff/tree/4.0.6"
- },
- "funding": [
- {
- "url": "https://github.com/sebastianbergmann",
- "type": "github"
- }
- ],
- "time": "2024-03-02T06:30:58+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "5.1.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed",
- "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed",
- "shasum": ""
- },
- "require": {
- "php": ">=7.3"
- },
- "require-dev": {
- "phpunit/phpunit": "^9.3"
- },
- "suggest": {
- "ext-posix": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.1-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "support": {
- "issues": "https://github.com/sebastianbergmann/environment/issues",
- "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5"
- },
- "funding": [
- {
- "url": "https://github.com/sebastianbergmann",
- "type": "github"
- }
- ],
- "time": "2023-02-03T06:03:51+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "4.0.6",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "78c00df8f170e02473b682df15bfcdacc3d32d72"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/78c00df8f170e02473b682df15bfcdacc3d32d72",
- "reference": "78c00df8f170e02473b682df15bfcdacc3d32d72",
- "shasum": ""
- },
- "require": {
- "php": ">=7.3",
- "sebastian/recursion-context": "^4.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "^9.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "https://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "support": {
- "issues": "https://github.com/sebastianbergmann/exporter/issues",
- "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.6"
- },
- "funding": [
- {
- "url": "https://github.com/sebastianbergmann",
- "type": "github"
- }
- ],
- "time": "2024-03-02T06:33:00+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "5.0.7",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9",
- "reference": "bca7df1f32ee6fe93b4d4a9abbf69e13a4ada2c9",
- "shasum": ""
- },
- "require": {
- "php": ">=7.3",
- "sebastian/object-reflector": "^2.0",
- "sebastian/recursion-context": "^4.0"
- },
- "require-dev": {
- "ext-dom": "*",
- "phpunit/phpunit": "^9.3"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "support": {
- "issues": "https://github.com/sebastianbergmann/global-state/issues",
- "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.7"
- },
- "funding": [
- {
- "url": "https://github.com/sebastianbergmann",
- "type": "github"
- }
- ],
- "time": "2024-03-02T06:35:11+00:00"
- },
- {
- "name": "sebastian/lines-of-code",
- "version": "1.0.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/lines-of-code.git",
- "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/e1e4a170560925c26d424b6a03aed157e7dcc5c5",
- "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5",
- "shasum": ""
- },
- "require": {
- "nikic/php-parser": "^4.18 || ^5.0",
- "php": ">=7.3"
- },
- "require-dev": {
- "phpunit/phpunit": "^9.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library for counting the lines of code in PHP source code",
- "homepage": "https://github.com/sebastianbergmann/lines-of-code",
- "support": {
- "issues": "https://github.com/sebastianbergmann/lines-of-code/issues",
- "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.4"
- },
- "funding": [
- {
- "url": "https://github.com/sebastianbergmann",
- "type": "github"
- }
- ],
- "time": "2023-12-22T06:20:34+00:00"
- },
- {
- "name": "sebastian/object-enumerator",
- "version": "4.0.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/object-enumerator.git",
- "reference": "5c9eeac41b290a3712d88851518825ad78f45c71"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71",
- "reference": "5c9eeac41b290a3712d88851518825ad78f45c71",
- "shasum": ""
- },
- "require": {
- "php": ">=7.3",
- "sebastian/object-reflector": "^2.0",
- "sebastian/recursion-context": "^4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^9.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Traverses array structures and object graphs to enumerate all referenced objects",
- "homepage": "https://github.com/sebastianbergmann/object-enumerator/",
- "support": {
- "issues": "https://github.com/sebastianbergmann/object-enumerator/issues",
- "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4"
- },
- "funding": [
- {
- "url": "https://github.com/sebastianbergmann",
- "type": "github"
- }
- ],
- "time": "2020-10-26T13:12:34+00:00"
- },
- {
- "name": "sebastian/object-reflector",
- "version": "2.0.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/object-reflector.git",
- "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7",
- "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7",
- "shasum": ""
- },
- "require": {
- "php": ">=7.3"
- },
- "require-dev": {
- "phpunit/phpunit": "^9.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Allows reflection of object attributes, including inherited and non-public ones",
- "homepage": "https://github.com/sebastianbergmann/object-reflector/",
- "support": {
- "issues": "https://github.com/sebastianbergmann/object-reflector/issues",
- "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4"
- },
- "funding": [
- {
- "url": "https://github.com/sebastianbergmann",
- "type": "github"
- }
- ],
- "time": "2020-10-26T13:14:26+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "4.0.5",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1",
- "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1",
- "shasum": ""
- },
- "require": {
- "php": ">=7.3"
- },
- "require-dev": {
- "phpunit/phpunit": "^9.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "https://github.com/sebastianbergmann/recursion-context",
- "support": {
- "issues": "https://github.com/sebastianbergmann/recursion-context/issues",
- "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5"
- },
- "funding": [
- {
- "url": "https://github.com/sebastianbergmann",
- "type": "github"
- }
- ],
- "time": "2023-02-03T06:07:39+00:00"
- },
- {
- "name": "sebastian/resource-operations",
- "version": "3.0.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/resource-operations.git",
- "reference": "05d5692a7993ecccd56a03e40cd7e5b09b1d404e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/05d5692a7993ecccd56a03e40cd7e5b09b1d404e",
- "reference": "05d5692a7993ecccd56a03e40cd7e5b09b1d404e",
- "shasum": ""
- },
- "require": {
- "php": ">=7.3"
- },
- "require-dev": {
- "phpunit/phpunit": "^9.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-main": "3.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides a list of PHP built-in functions that operate on resources",
- "homepage": "https://www.github.com/sebastianbergmann/resource-operations",
- "support": {
- "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.4"
- },
- "funding": [
- {
- "url": "https://github.com/sebastianbergmann",
- "type": "github"
- }
- ],
- "time": "2024-03-14T16:00:52+00:00"
- },
- {
- "name": "sebastian/type",
- "version": "3.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/type.git",
- "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7",
- "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7",
- "shasum": ""
- },
- "require": {
- "php": ">=7.3"
- },
- "require-dev": {
- "phpunit/phpunit": "^9.5"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.2-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Collection of value objects that represent the types of the PHP type system",
- "homepage": "https://github.com/sebastianbergmann/type",
- "support": {
- "issues": "https://github.com/sebastianbergmann/type/issues",
- "source": "https://github.com/sebastianbergmann/type/tree/3.2.1"
- },
- "funding": [
- {
- "url": "https://github.com/sebastianbergmann",
- "type": "github"
- }
- ],
- "time": "2023-02-03T06:13:03+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "3.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "c6c1022351a901512170118436c764e473f6de8c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c",
- "reference": "c6c1022351a901512170118436c764e473f6de8c",
- "shasum": ""
- },
- "require": {
- "php": ">=7.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "support": {
- "issues": "https://github.com/sebastianbergmann/version/issues",
- "source": "https://github.com/sebastianbergmann/version/tree/3.0.2"
- },
- "funding": [
- {
- "url": "https://github.com/sebastianbergmann",
- "type": "github"
- }
- ],
- "time": "2020-09-28T06:39:44+00:00"
- },
- {
- "name": "symfony/console",
- "version": "v7.0.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/console.git",
- "reference": "c981e0e9380ce9f146416bde3150c79197ce9986"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/c981e0e9380ce9f146416bde3150c79197ce9986",
- "reference": "c981e0e9380ce9f146416bde3150c79197ce9986",
- "shasum": ""
- },
- "require": {
- "php": ">=8.2",
- "symfony/polyfill-mbstring": "~1.0",
- "symfony/service-contracts": "^2.5|^3",
- "symfony/string": "^6.4|^7.0"
- },
- "conflict": {
- "symfony/dependency-injection": "<6.4",
- "symfony/dotenv": "<6.4",
- "symfony/event-dispatcher": "<6.4",
- "symfony/lock": "<6.4",
- "symfony/process": "<6.4"
- },
- "provide": {
- "psr/log-implementation": "1.0|2.0|3.0"
- },
- "require-dev": {
- "psr/log": "^1|^2|^3",
- "symfony/config": "^6.4|^7.0",
- "symfony/dependency-injection": "^6.4|^7.0",
- "symfony/event-dispatcher": "^6.4|^7.0",
- "symfony/http-foundation": "^6.4|^7.0",
- "symfony/http-kernel": "^6.4|^7.0",
- "symfony/lock": "^6.4|^7.0",
- "symfony/messenger": "^6.4|^7.0",
- "symfony/process": "^6.4|^7.0",
- "symfony/stopwatch": "^6.4|^7.0",
- "symfony/var-dumper": "^6.4|^7.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Console\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Eases the creation of beautiful and testable command line interfaces",
- "homepage": "https://symfony.com",
- "keywords": [
- "cli",
- "command-line",
- "console",
- "terminal"
- ],
- "support": {
- "source": "https://github.com/symfony/console/tree/v7.0.7"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2024-04-18T09:29:19+00:00"
- },
- {
- "name": "symfony/event-dispatcher",
- "version": "v7.0.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "db2a7fab994d67d92356bb39c367db115d9d30f9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/db2a7fab994d67d92356bb39c367db115d9d30f9",
- "reference": "db2a7fab994d67d92356bb39c367db115d9d30f9",
- "shasum": ""
- },
- "require": {
- "php": ">=8.2",
- "symfony/event-dispatcher-contracts": "^2.5|^3"
- },
- "conflict": {
- "symfony/dependency-injection": "<6.4",
- "symfony/service-contracts": "<2.5"
- },
- "provide": {
- "psr/event-dispatcher-implementation": "1.0",
- "symfony/event-dispatcher-implementation": "2.0|3.0"
- },
- "require-dev": {
- "psr/log": "^1|^2|^3",
- "symfony/config": "^6.4|^7.0",
- "symfony/dependency-injection": "^6.4|^7.0",
- "symfony/error-handler": "^6.4|^7.0",
- "symfony/expression-language": "^6.4|^7.0",
- "symfony/http-foundation": "^6.4|^7.0",
- "symfony/service-contracts": "^2.5|^3",
- "symfony/stopwatch": "^6.4|^7.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\EventDispatcher\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
- "homepage": "https://symfony.com",
- "support": {
- "source": "https://github.com/symfony/event-dispatcher/tree/v7.0.7"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2024-04-18T09:29:19+00:00"
- },
- {
- "name": "symfony/event-dispatcher-contracts",
- "version": "v3.5.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/event-dispatcher-contracts.git",
- "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/8f93aec25d41b72493c6ddff14e916177c9efc50",
- "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50",
- "shasum": ""
- },
- "require": {
- "php": ">=8.1",
- "psr/event-dispatcher": "^1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-main": "3.5-dev"
- },
- "thanks": {
- "name": "symfony/contracts",
- "url": "https://github.com/symfony/contracts"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Contracts\\EventDispatcher\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Generic abstractions related to dispatching event",
- "homepage": "https://symfony.com",
- "keywords": [
- "abstractions",
- "contracts",
- "decoupling",
- "interfaces",
- "interoperability",
- "standards"
- ],
- "support": {
- "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.5.0"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2024-04-18T09:32:20+00:00"
- },
- {
- "name": "symfony/filesystem",
- "version": "v7.0.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/filesystem.git",
- "reference": "cc168be6fbdcdf3401f50ae863ee3818ed4338f5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/cc168be6fbdcdf3401f50ae863ee3818ed4338f5",
- "reference": "cc168be6fbdcdf3401f50ae863ee3818ed4338f5",
- "shasum": ""
- },
- "require": {
- "php": ">=8.2",
- "symfony/polyfill-ctype": "~1.8",
- "symfony/polyfill-mbstring": "~1.8",
- "symfony/process": "^6.4|^7.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Filesystem\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Provides basic utilities for the filesystem",
- "homepage": "https://symfony.com",
- "support": {
- "source": "https://github.com/symfony/filesystem/tree/v7.0.7"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2024-04-18T09:29:19+00:00"
- },
- {
- "name": "symfony/finder",
- "version": "v7.0.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/finder.git",
- "reference": "4d58f0f4fe95a30d7b538d71197135483560b97c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/4d58f0f4fe95a30d7b538d71197135483560b97c",
- "reference": "4d58f0f4fe95a30d7b538d71197135483560b97c",
- "shasum": ""
- },
- "require": {
- "php": ">=8.2"
- },
- "require-dev": {
- "symfony/filesystem": "^6.4|^7.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Finder\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Finds files and directories via an intuitive fluent interface",
- "homepage": "https://symfony.com",
- "support": {
- "source": "https://github.com/symfony/finder/tree/v7.0.7"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2024-04-28T11:44:19+00:00"
- },
- {
- "name": "symfony/options-resolver",
- "version": "v7.0.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/options-resolver.git",
- "reference": "23cc173858776ad451e31f053b1c9f47840b2cfa"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/options-resolver/zipball/23cc173858776ad451e31f053b1c9f47840b2cfa",
- "reference": "23cc173858776ad451e31f053b1c9f47840b2cfa",
- "shasum": ""
- },
- "require": {
- "php": ">=8.2",
- "symfony/deprecation-contracts": "^2.5|^3"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\OptionsResolver\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Provides an improved replacement for the array_replace PHP function",
- "homepage": "https://symfony.com",
- "keywords": [
- "config",
- "configuration",
- "options"
- ],
- "support": {
- "source": "https://github.com/symfony/options-resolver/tree/v7.0.7"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2024-04-18T09:29:19+00:00"
- },
- {
- "name": "symfony/polyfill-ctype",
- "version": "v1.29.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ef4d7e442ca910c4764bce785146269b30cb5fc4",
- "reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4",
- "shasum": ""
- },
- "require": {
- "php": ">=7.1"
- },
- "provide": {
- "ext-ctype": "*"
- },
- "suggest": {
- "ext-ctype": "For best performance"
- },
- "type": "library",
- "extra": {
- "thanks": {
- "name": "symfony/polyfill",
- "url": "https://github.com/symfony/polyfill"
- }
- },
- "autoload": {
- "files": [
- "bootstrap.php"
- ],
- "psr-4": {
- "Symfony\\Polyfill\\Ctype\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Gert de Pagter",
- "email": "BackEndTea@gmail.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for ctype functions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "ctype",
- "polyfill",
- "portable"
- ],
- "support": {
- "source": "https://github.com/symfony/polyfill-ctype/tree/v1.29.0"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2024-01-29T20:11:03+00:00"
- },
- {
- "name": "symfony/polyfill-intl-grapheme",
- "version": "v1.29.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-intl-grapheme.git",
- "reference": "32a9da87d7b3245e09ac426c83d334ae9f06f80f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/32a9da87d7b3245e09ac426c83d334ae9f06f80f",
- "reference": "32a9da87d7b3245e09ac426c83d334ae9f06f80f",
- "shasum": ""
- },
- "require": {
- "php": ">=7.1"
- },
- "suggest": {
- "ext-intl": "For best performance"
- },
- "type": "library",
- "extra": {
- "thanks": {
- "name": "symfony/polyfill",
- "url": "https://github.com/symfony/polyfill"
- }
- },
- "autoload": {
- "files": [
- "bootstrap.php"
- ],
- "psr-4": {
- "Symfony\\Polyfill\\Intl\\Grapheme\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for intl's grapheme_* functions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "grapheme",
- "intl",
- "polyfill",
- "portable",
- "shim"
- ],
- "support": {
- "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.29.0"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2024-01-29T20:11:03+00:00"
- },
- {
- "name": "symfony/polyfill-intl-normalizer",
- "version": "v1.29.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-intl-normalizer.git",
- "reference": "bc45c394692b948b4d383a08d7753968bed9a83d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/bc45c394692b948b4d383a08d7753968bed9a83d",
- "reference": "bc45c394692b948b4d383a08d7753968bed9a83d",
- "shasum": ""
- },
- "require": {
- "php": ">=7.1"
- },
- "suggest": {
- "ext-intl": "For best performance"
- },
- "type": "library",
- "extra": {
- "thanks": {
- "name": "symfony/polyfill",
- "url": "https://github.com/symfony/polyfill"
- }
- },
- "autoload": {
- "files": [
- "bootstrap.php"
- ],
- "psr-4": {
- "Symfony\\Polyfill\\Intl\\Normalizer\\": ""
- },
- "classmap": [
- "Resources/stubs"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for intl's Normalizer class and related functions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "intl",
- "normalizer",
- "polyfill",
- "portable",
- "shim"
- ],
- "support": {
- "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.29.0"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2024-01-29T20:11:03+00:00"
- },
- {
- "name": "symfony/polyfill-mbstring",
- "version": "v1.29.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9773676c8a1bb1f8d4340a62efe641cf76eda7ec",
- "reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec",
- "shasum": ""
- },
- "require": {
- "php": ">=7.1"
- },
- "provide": {
- "ext-mbstring": "*"
- },
- "suggest": {
- "ext-mbstring": "For best performance"
- },
- "type": "library",
- "extra": {
- "thanks": {
- "name": "symfony/polyfill",
- "url": "https://github.com/symfony/polyfill"
- }
- },
- "autoload": {
- "files": [
- "bootstrap.php"
- ],
- "psr-4": {
- "Symfony\\Polyfill\\Mbstring\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for the Mbstring extension",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "mbstring",
- "polyfill",
- "portable",
- "shim"
- ],
- "support": {
- "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.29.0"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2024-01-29T20:11:03+00:00"
- },
- {
- "name": "symfony/polyfill-php80",
- "version": "v1.29.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-php80.git",
- "reference": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/87b68208d5c1188808dd7839ee1e6c8ec3b02f1b",
- "reference": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b",
- "shasum": ""
- },
- "require": {
- "php": ">=7.1"
- },
- "type": "library",
- "extra": {
- "thanks": {
- "name": "symfony/polyfill",
- "url": "https://github.com/symfony/polyfill"
- }
- },
- "autoload": {
- "files": [
- "bootstrap.php"
- ],
- "psr-4": {
- "Symfony\\Polyfill\\Php80\\": ""
- },
- "classmap": [
- "Resources/stubs"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Ion Bazan",
- "email": "ion.bazan@gmail.com"
- },
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "polyfill",
- "portable",
- "shim"
- ],
- "support": {
- "source": "https://github.com/symfony/polyfill-php80/tree/v1.29.0"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2024-01-29T20:11:03+00:00"
- },
- {
- "name": "symfony/polyfill-php81",
- "version": "v1.29.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-php81.git",
- "reference": "c565ad1e63f30e7477fc40738343c62b40bc672d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/c565ad1e63f30e7477fc40738343c62b40bc672d",
- "reference": "c565ad1e63f30e7477fc40738343c62b40bc672d",
- "shasum": ""
- },
- "require": {
- "php": ">=7.1"
- },
- "type": "library",
- "extra": {
- "thanks": {
- "name": "symfony/polyfill",
- "url": "https://github.com/symfony/polyfill"
- }
- },
- "autoload": {
- "files": [
- "bootstrap.php"
- ],
- "psr-4": {
- "Symfony\\Polyfill\\Php81\\": ""
- },
- "classmap": [
- "Resources/stubs"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "polyfill",
- "portable",
- "shim"
- ],
- "support": {
- "source": "https://github.com/symfony/polyfill-php81/tree/v1.29.0"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2024-01-29T20:11:03+00:00"
- },
- {
- "name": "symfony/process",
- "version": "v7.0.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/process.git",
- "reference": "3839e56b94dd1dbd13235d27504e66baf23faba0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/3839e56b94dd1dbd13235d27504e66baf23faba0",
- "reference": "3839e56b94dd1dbd13235d27504e66baf23faba0",
- "shasum": ""
- },
- "require": {
- "php": ">=8.2"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Process\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Executes commands in sub-processes",
- "homepage": "https://symfony.com",
- "support": {
- "source": "https://github.com/symfony/process/tree/v7.0.7"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2024-04-18T09:29:19+00:00"
- },
- {
- "name": "symfony/service-contracts",
- "version": "v3.5.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/service-contracts.git",
- "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/service-contracts/zipball/bd1d9e59a81d8fa4acdcea3f617c581f7475a80f",
- "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f",
- "shasum": ""
- },
- "require": {
- "php": ">=8.1",
- "psr/container": "^1.1|^2.0",
- "symfony/deprecation-contracts": "^2.5|^3"
- },
- "conflict": {
- "ext-psr": "<1.1|>=2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-main": "3.5-dev"
- },
- "thanks": {
- "name": "symfony/contracts",
- "url": "https://github.com/symfony/contracts"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Contracts\\Service\\": ""
- },
- "exclude-from-classmap": [
- "/Test/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Generic abstractions related to writing services",
- "homepage": "https://symfony.com",
- "keywords": [
- "abstractions",
- "contracts",
- "decoupling",
- "interfaces",
- "interoperability",
- "standards"
- ],
- "support": {
- "source": "https://github.com/symfony/service-contracts/tree/v3.5.0"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2024-04-18T09:32:20+00:00"
- },
- {
- "name": "symfony/stopwatch",
- "version": "v7.0.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/stopwatch.git",
- "reference": "41a7a24aa1dc82adf46a06bc292d1923acfe6b84"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/stopwatch/zipball/41a7a24aa1dc82adf46a06bc292d1923acfe6b84",
- "reference": "41a7a24aa1dc82adf46a06bc292d1923acfe6b84",
- "shasum": ""
- },
- "require": {
- "php": ">=8.2",
- "symfony/service-contracts": "^2.5|^3"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Stopwatch\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Provides a way to profile code",
- "homepage": "https://symfony.com",
- "support": {
- "source": "https://github.com/symfony/stopwatch/tree/v7.0.7"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2024-04-18T09:29:19+00:00"
- },
- {
- "name": "symfony/string",
- "version": "v7.0.7",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/string.git",
- "reference": "e405b5424dc2528e02e31ba26b83a79fd4eb8f63"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/string/zipball/e405b5424dc2528e02e31ba26b83a79fd4eb8f63",
- "reference": "e405b5424dc2528e02e31ba26b83a79fd4eb8f63",
- "shasum": ""
- },
- "require": {
- "php": ">=8.2",
- "symfony/polyfill-ctype": "~1.8",
- "symfony/polyfill-intl-grapheme": "~1.0",
- "symfony/polyfill-intl-normalizer": "~1.0",
- "symfony/polyfill-mbstring": "~1.0"
- },
- "conflict": {
- "symfony/translation-contracts": "<2.5"
- },
- "require-dev": {
- "symfony/error-handler": "^6.4|^7.0",
- "symfony/http-client": "^6.4|^7.0",
- "symfony/intl": "^6.4|^7.0",
- "symfony/translation-contracts": "^2.5|^3.0",
- "symfony/var-exporter": "^6.4|^7.0"
- },
- "type": "library",
- "autoload": {
- "files": [
- "Resources/functions.php"
- ],
- "psr-4": {
- "Symfony\\Component\\String\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way",
- "homepage": "https://symfony.com",
- "keywords": [
- "grapheme",
- "i18n",
- "string",
- "unicode",
- "utf-8",
- "utf8"
- ],
- "support": {
- "source": "https://github.com/symfony/string/tree/v7.0.7"
- },
- "funding": [
- {
- "url": "https://symfony.com/sponsor",
- "type": "custom"
- },
- {
- "url": "https://github.com/fabpot",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
- "type": "tidelift"
- }
- ],
- "time": "2024-04-18T09:29:19+00:00"
- },
- {
- "name": "theseer/tokenizer",
- "version": "1.2.3",
- "source": {
- "type": "git",
- "url": "https://github.com/theseer/tokenizer.git",
- "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/theseer/tokenizer/zipball/737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2",
- "reference": "737eda637ed5e28c3413cb1ebe8bb52cbf1ca7a2",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-tokenizer": "*",
- "ext-xmlwriter": "*",
- "php": "^7.2 || ^8.0"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- }
- ],
- "description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
- "support": {
- "issues": "https://github.com/theseer/tokenizer/issues",
- "source": "https://github.com/theseer/tokenizer/tree/1.2.3"
- },
- "funding": [
- {
- "url": "https://github.com/theseer",
- "type": "github"
- }
- ],
- "time": "2024-03-03T12:36:25+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": "~7.4|~8.0.0|~8.1.0|~8.2.0|~8.3.0"
- },
- "platform-dev": [],
- "plugin-api-version": "2.6.0"
-}
diff --git a/example/PaymentPage/example-initialize.php b/example/PaymentPage/example-initialize.php
index 6052c51..f15cada 100644
--- a/example/PaymentPage/example-initialize.php
+++ b/example/PaymentPage/example-initialize.php
@@ -75,4 +75,4 @@
// -----------------------------
// Step 7:
// On success page and notification url, assert that the payment has been successful.
-// -> see example-assert.php
+// see: example-assert.php
diff --git a/example/SecureCardData/example-alias-insert.php b/example/SecureCardData/example-alias-insert.php
index c273685..6b4925b 100644
--- a/example/SecureCardData/example-alias-insert.php
+++ b/example/SecureCardData/example-alias-insert.php
@@ -67,4 +67,4 @@
// -----------------------------
// Step 7:
// On success page and notification url, assert that the payment has been successful.
-// -> see example-alias-insert-assert.php
+// see: example-alias-insert-assert.php
diff --git a/example/Transaction/example-authorize.php b/example/Transaction/example-authorize.php
index e821154..b34139f 100644
--- a/example/Transaction/example-authorize.php
+++ b/example/Transaction/example-authorize.php
@@ -51,4 +51,4 @@
// -----------------------------
// Step 4:
// Capture the transaction to get the cash flowing.
-// See ../Transaction/example-capture.php
+// see: example-capture.php
diff --git a/example/Transaction/example-initialize.php b/example/Transaction/example-initialize.php
index c4c8c7a..81c2697 100644
--- a/example/Transaction/example-initialize.php
+++ b/example/Transaction/example-initialize.php
@@ -70,9 +70,9 @@
// -----------------------------
// Step 6:
// Fill in test payment page. For dummy credit card numbers see
-// https://saferpay.github.io/sndbx/paymentmeans.html
+// https://docs.saferpay.com/home/integration-guide/testing-and-go-live
// -----------------------------
// Step 7:
-// On success page and notification url, assert that the payment has been successful.
-// TODO: -> see example-assert.php
+// Authorize the transaction:
+// see: example-authorize.php
diff --git a/example/Transaction/example-inquire.php b/example/Transaction/example-inquire.php
new file mode 100644
index 0000000..5ef8ac0
--- /dev/null
+++ b/example/Transaction/example-inquire.php
@@ -0,0 +1,49 @@
+setTransactionId($transactionId);
+
+// -----------------------------
+// Step 2:
+// Create the request with required data
+
+$captureRequest = new InquireRequest(
+ $requestConfig,
+ $transactionReference
+);
+
+// -----------------------------
+// Step 3:
+// Execute and check for successful response
+
+try {
+ $response = $captureRequest->execute();
+} catch (SaferpayErrorException $e) {
+ die ($e->getErrorResponse()->getErrorMessage());
+}
+
+echo 'The information of this transaction has been fetched. Transaction type: ' . $response->getTransaction()->getType()."\n";
diff --git a/lib/SaferpayJson/Request/Container/Address.php b/lib/SaferpayJson/Request/Container/Address.php
index b0d3d8a..ae72f0d 100644
--- a/lib/SaferpayJson/Request/Container/Address.php
+++ b/lib/SaferpayJson/Request/Container/Address.php
@@ -5,7 +5,6 @@
namespace Ticketpark\SaferpayJson\Request\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class Address
{
@@ -15,88 +14,75 @@ final class Address
public const GENDER_COMPANY = 'COMPANY';
/**
- * @var string|null
* @SerializedName("FirstName")
*/
- private $firstName;
+ private ?string $firstName = null;
/**
- * @var string|null
* @SerializedName("LastName")
*/
- private $lastName;
+ private ?string $lastName = null;
/**
- * @var string|null
* @SerializedName("Company")
*/
- private $company;
+ private ?string $company = null;
/**
- * @var string|null
* @SerializedName("Gender")
*/
- private $gender;
+ private ?string $gender = null;
/**
- * @var string|null
* @SerializedName("Street")
*/
- private $street;
+ private ?string $street = null;
/**
- * @var string|null
* @SerializedName("Zip")
*/
- private $zip;
+ private ?string $zip = null;
/**
- * @var string|null
* @SerializedName("City")
*/
- private $city;
+ private ?string $city = null;
/**
- * @var string|null
* @SerializedName("CountryCode")
*/
- private $countryCode;
+ private ?string $countryCode = null;
/**
- * @var string|null
* @SerializedName("Email")
*/
- private $email;
+ private ?string $email = null;
/**
- * @var \DateTime|null
* @SerializedName("DateOfBirth")
*/
- private $dateOfBirth;
+ private ?\DateTime $dateOfBirth = null;
/**
* @var string|null
* @SerializedName("Street2")
*/
- private $street2;
+ private ?string $street2 = null;
/**
- * @var string|null
* @SerializedName("CountrySubdivisionCode")
*/
- private $countrySubdivisionCode;
+ private ?string $countrySubdivisionCode = null;
/**
- * @var string|null
* @SerializedName("Phone")
*/
- private $phone;
+ private ?string $phone = null;
/**
- * @var string|null
* @SerializedName("VatNumber")
*/
- private $vatNumber;
+ private ?string $vatNumber = null;
public function getFirstName(): ?string
{
@@ -262,6 +248,7 @@ public function getVatNumber(): ?string
public function setVatNumber(?string $vatNumber): self
{
$this->vatNumber = $vatNumber;
+
return $this;
}
}
diff --git a/lib/SaferpayJson/Request/Container/AddressForm.php b/lib/SaferpayJson/Request/Container/AddressForm.php
index 18bf5ad..d03228e 100644
--- a/lib/SaferpayJson/Request/Container/AddressForm.php
+++ b/lib/SaferpayJson/Request/Container/AddressForm.php
@@ -5,7 +5,6 @@
namespace Ticketpark\SaferpayJson\Request\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class AddressForm
{
@@ -26,16 +25,15 @@ final class AddressForm
public const ADDRESS_SOURCE_PREFER_PAYMENTMETHOD = 'PREFER_PAYMENTMETHOD';
/**
- * @var string
* @SerializedName("AddressSource")
*/
- private $addressSource;
+ private string $addressSource;
/**
* @var array|null
* @SerializedName("MandatoryFields")
*/
- private $mandatoryFields = [];
+ private ?array $mandatoryFields = [];
public function __construct(string $addressSource)
{
diff --git a/lib/SaferpayJson/Request/Container/Alias.php b/lib/SaferpayJson/Request/Container/Alias.php
index 0d49b43..1e08273 100644
--- a/lib/SaferpayJson/Request/Container/Alias.php
+++ b/lib/SaferpayJson/Request/Container/Alias.php
@@ -5,21 +5,18 @@
namespace Ticketpark\SaferpayJson\Request\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class Alias
{
/**
- * @var string
* @SerializedName("Id")
*/
- private $id;
+ private string $id;
/**
- * @var string|null
* @SerializedName("VerificationCode")
*/
- private $verificationCode;
+ private ?string $verificationCode = null;
public function __construct(string $id)
{
diff --git a/lib/SaferpayJson/Request/Container/Amount.php b/lib/SaferpayJson/Request/Container/Amount.php
index 203cf72..359bb75 100644
--- a/lib/SaferpayJson/Request/Container/Amount.php
+++ b/lib/SaferpayJson/Request/Container/Amount.php
@@ -10,17 +10,15 @@
final class Amount
{
/**
- * @var int
* @SerializedName("Value")
* @Type("integer")
*/
- private $value;
+ private int $value;
/**
- * @var string
* @SerializedName("CurrencyCode")
*/
- private $currencyCode;
+ private string $currencyCode;
public function __construct(int $value, string $currencyCode)
{
diff --git a/lib/SaferpayJson/Request/Container/ApplePay.php b/lib/SaferpayJson/Request/Container/ApplePay.php
index c276a97..c7630fb 100644
--- a/lib/SaferpayJson/Request/Container/ApplePay.php
+++ b/lib/SaferpayJson/Request/Container/ApplePay.php
@@ -9,10 +9,9 @@
final class ApplePay
{
/**
- * @var string
* @SerializedName("PaymentToken")
*/
- private $paymentToken;
+ private string $paymentToken;
public function __construct(string $paymentToken)
{
diff --git a/lib/SaferpayJson/Request/Container/Attachment.php b/lib/SaferpayJson/Request/Container/Attachment.php
index bdd37d8..6629887 100644
--- a/lib/SaferpayJson/Request/Container/Attachment.php
+++ b/lib/SaferpayJson/Request/Container/Attachment.php
@@ -9,16 +9,14 @@
final class Attachment
{
/**
- * @var string
* @SerializedName("ContentType")
*/
- private $contentType;
+ private string $contentType;
/**
- * @var string
* @SerializedName("Body")
*/
- private $body;
+ private string $body;
public function __construct(string $contentType, string $body)
{
diff --git a/lib/SaferpayJson/Request/Container/Authentication.php b/lib/SaferpayJson/Request/Container/Authentication.php
index fbd05bb..6baf269 100644
--- a/lib/SaferpayJson/Request/Container/Authentication.php
+++ b/lib/SaferpayJson/Request/Container/Authentication.php
@@ -5,7 +5,6 @@
namespace Ticketpark\SaferpayJson\Request\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class Authentication
{
@@ -17,16 +16,14 @@ final class Authentication
public const THREEDSCHALLENGE_AVOID = 'AVOID';
/**
- * @var string|null
* @SerializedName("Exemption")
*/
- private $exemption;
+ private ?string $exemption = null;
/**
- * @var string|null
* @SerializedName("ThreeDsChallenge")
*/
- private $threeDsChallenge;
+ private ?string $threeDsChallenge = null;
public function getExemption(): ?string
{
diff --git a/lib/SaferpayJson/Request/Container/BankAccount.php b/lib/SaferpayJson/Request/Container/BankAccount.php
index 7225141..3c4c742 100644
--- a/lib/SaferpayJson/Request/Container/BankAccount.php
+++ b/lib/SaferpayJson/Request/Container/BankAccount.php
@@ -5,33 +5,28 @@
namespace Ticketpark\SaferpayJson\Request\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class BankAccount
{
/**
- * @var string
* @SerializedName("Iban")
*/
- private $iban;
+ private string $iban;
/**
- * @var string|null
* @SerializedName("HolderName")
*/
- private $holderName;
+ private ?string $holderName = null;
/**
- * @var string|null
* @SerializedName("BIC")
*/
- private $bic;
+ private ?string $bic = null;
/**
- * @var string|null
* @SerializedName("BankName")
*/
- private $bankName;
+ private ?string $bankName = null;
public function __construct(string $iban)
{
diff --git a/lib/SaferpayJson/Request/Container/Billpay.php b/lib/SaferpayJson/Request/Container/Billpay.php
index d37dead..96dd8ed 100644
--- a/lib/SaferpayJson/Request/Container/Billpay.php
+++ b/lib/SaferpayJson/Request/Container/Billpay.php
@@ -5,15 +5,13 @@
namespace Ticketpark\SaferpayJson\Request\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class Billpay
{
/**
- * @var int|null
* @SerializedName("DelayInDays")
*/
- private $delayInDays;
+ private ?int $delayInDays = null;
public function getDelayInDays(): ?int
{
diff --git a/lib/SaferpayJson/Request/Container/Brand.php b/lib/SaferpayJson/Request/Container/Brand.php
index 5a2b059..9d55d76 100644
--- a/lib/SaferpayJson/Request/Container/Brand.php
+++ b/lib/SaferpayJson/Request/Container/Brand.php
@@ -5,21 +5,18 @@
namespace Ticketpark\SaferpayJson\Request\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class Brand
{
/**
- * @var string|null
* @SerializedName("PaymentMethod")
*/
- private $paymentMethod;
+ private ?string $paymentMethod = null;
/**
- * @var string|null
* @SerializedName("Name")
*/
- private $name;
+ private ?string $name = null;
public function getPaymentMethod(): ?string
{
diff --git a/lib/SaferpayJson/Request/Container/CaptureReference.php b/lib/SaferpayJson/Request/Container/CaptureReference.php
index 55d16d7..a64d41c 100644
--- a/lib/SaferpayJson/Request/Container/CaptureReference.php
+++ b/lib/SaferpayJson/Request/Container/CaptureReference.php
@@ -9,28 +9,24 @@
final class CaptureReference
{
/**
- * @var string|null
* @SerializedName("CaptureId")
*/
- private $captureId;
+ private ?string $captureId = null;
/**
- * @var string|null
* @SerializedName("TransactionId")
*/
- private $transactionId;
+ private ?string $transactionId = null;
/**
- * @var string|null
* @SerializedName("OrderId")
*/
- private $orderId;
+ private ?string $orderId = null;
/**
- * @var string|null
* @SerializedName("OrderPartId")
*/
- private $orderPartId;
+ private ?string $orderPartId = null;
public function getCaptureId(): ?string
{
diff --git a/lib/SaferpayJson/Request/Container/Card.php b/lib/SaferpayJson/Request/Container/Card.php
index 272d608..e542324 100644
--- a/lib/SaferpayJson/Request/Container/Card.php
+++ b/lib/SaferpayJson/Request/Container/Card.php
@@ -10,36 +10,31 @@
final class Card
{
/**
- * @var string|null
* @SerializedName("Number")
*/
- private $number;
+ private ?string $number = null;
/**
- * @var int|null
* @SerializedName("ExpYear")
* @Type("integer")
*/
- private $expYear;
+ private ?int $expYear = null;
/**
- * @var int|null
* @SerializedName("ExpMonth")
* @Type("integer")
*/
- private $expMonth;
+ private ?int $expMonth = null;
/**
- * @var string|null
* @SerializedName("HolderName")
*/
- private $holderName;
+ private ?string $holderName = null;
/**
- * @var string|null
* @SerializedName("CountryCode")
*/
- private $countryCode;
+ private ?string $countryCode = null;
public function getNumber(): ?string
{
diff --git a/lib/SaferpayJson/Request/Container/CardForm.php b/lib/SaferpayJson/Request/Container/CardForm.php
index 7424e18..88f71b2 100644
--- a/lib/SaferpayJson/Request/Container/CardForm.php
+++ b/lib/SaferpayJson/Request/Container/CardForm.php
@@ -5,7 +5,6 @@
namespace Ticketpark\SaferpayJson\Request\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class CardForm
{
@@ -13,10 +12,9 @@ final class CardForm
public const HOLDER_NAME_MANDATORY = 'MANDATORY';
/**
- * @var string|null
* @SerializedName("HolderName")
*/
- private $holderName;
+ private ?string $holderName = null;
public function getHolderName(): ?string
{
diff --git a/lib/SaferpayJson/Request/Container/Check.php b/lib/SaferpayJson/Request/Container/Check.php
index 58a03ed..d80279a 100644
--- a/lib/SaferpayJson/Request/Container/Check.php
+++ b/lib/SaferpayJson/Request/Container/Check.php
@@ -12,16 +12,14 @@ final class Check
public const TYPE_ONLINE_STRONG = 'ONLINE_STRONG';
/**
- * @var string|null
* @SerializedName("Type")
*/
- private $type;
+ private ?string $type = null;
/**
- * @var string|null
* @SerializedName("TerminalId")
*/
- private $terminalId;
+ private ?string $terminalId = null;
public function getType(): ?string
{
diff --git a/lib/SaferpayJson/Request/Container/ChosenPlan.php b/lib/SaferpayJson/Request/Container/ChosenPlan.php
index 0a2b8f7..330ff33 100644
--- a/lib/SaferpayJson/Request/Container/ChosenPlan.php
+++ b/lib/SaferpayJson/Request/Container/ChosenPlan.php
@@ -10,51 +10,44 @@
final class ChosenPlan
{
/**
- * @var int
* @SerializedName("NumberOfInstallments")
* @Type("int")
*/
- private $numberOfInstallments;
+ private int $numberOfInstallments;
/**
- * @var string|null
* @SerializedName("InterestRate")
*/
- private $interestRate;
+ private ?string $interestRate = null;
/**
- * @var Amount|null
* @SerializedName("InstallmentFee")
* @Type("Ticketpark\SaferpayJson\Request\Container\Amount")
*/
- private $installmentFee;
+ private ?Amount $installmentFee = null;
/**
- * @var string|null
* @SerializedName("AnnualPercentageRate")
*/
- private $annualPercentageRate;
+ private ?string $annualPercentageRate = null;
/**
- * @var Amount|null
* @SerializedName("FirstInstallmentAmount")
* @Type("Ticketpark\SaferpayJson\Request\Container\Amount")
*/
- private $firstInstallmentAmount;
+ private ?Amount $firstInstallmentAmount = null;
/**
- * @var Amount|null
* @SerializedName("SubsequentInstallmentAmount")
* @Type("Ticketpark\SaferpayJson\Request\Container\Amount")
*/
- private $subsequentInstallmentAmount;
+ private ?Amount $subsequentInstallmentAmount = null;
/**
- * @var Amount|null
* @SerializedName("TotalAmountDue")
* @Type("Ticketpark\SaferpayJson\Request\Container\Amount")
*/
- private $totalAmountDue;
+ private ?Amount $totalAmountDue = null;
public function __construct(int $numberOfInstallments)
{
diff --git a/lib/SaferpayJson/Request/Container/ClientInfo.php b/lib/SaferpayJson/Request/Container/ClientInfo.php
index 08b7487..2bfce19 100644
--- a/lib/SaferpayJson/Request/Container/ClientInfo.php
+++ b/lib/SaferpayJson/Request/Container/ClientInfo.php
@@ -5,21 +5,18 @@
namespace Ticketpark\SaferpayJson\Request\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class ClientInfo
{
/**
- * @var string|null
* @SerializedName("ShopInfo")
*/
- private $shopInfo;
+ private ?string $shopInfo = null;
/**
- * @var string|null
* @SerializedName("OsInfo")
*/
- private $osInfo;
+ private ?string $osInfo = null;
public function getShopInfo(): ?string
{
diff --git a/lib/SaferpayJson/Request/Container/GooglePay.php b/lib/SaferpayJson/Request/Container/GooglePay.php
index 7d23c3d..acadb66 100644
--- a/lib/SaferpayJson/Request/Container/GooglePay.php
+++ b/lib/SaferpayJson/Request/Container/GooglePay.php
@@ -9,10 +9,9 @@
final class GooglePay
{
/**
- * @var string
* @SerializedName("PaymentToken")
*/
- private $paymentToken;
+ private string $paymentToken;
public function __construct(string $paymentToken)
{
diff --git a/lib/SaferpayJson/Request/Container/Ideal.php b/lib/SaferpayJson/Request/Container/Ideal.php
index 51a15a8..cc0e305 100644
--- a/lib/SaferpayJson/Request/Container/Ideal.php
+++ b/lib/SaferpayJson/Request/Container/Ideal.php
@@ -5,15 +5,13 @@
namespace Ticketpark\SaferpayJson\Request\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class Ideal
{
/**
- * @var string
* @SerializedName("IssuerId")
*/
- private $issuerId;
+ private string $issuerId;
public function __construct(string $issuerId)
{
diff --git a/lib/SaferpayJson/Request/Container/Installment.php b/lib/SaferpayJson/Request/Container/Installment.php
index 60a9950..ded078d 100644
--- a/lib/SaferpayJson/Request/Container/Installment.php
+++ b/lib/SaferpayJson/Request/Container/Installment.php
@@ -9,10 +9,9 @@
final class Installment
{
/**
- * @var bool
* @SerializedName("Initial")
*/
- private $initial;
+ private bool $initial;
public function __construct(bool $initial)
{
diff --git a/lib/SaferpayJson/Request/Container/IssuerReference.php b/lib/SaferpayJson/Request/Container/IssuerReference.php
index c1290ee..bd29fc5 100644
--- a/lib/SaferpayJson/Request/Container/IssuerReference.php
+++ b/lib/SaferpayJson/Request/Container/IssuerReference.php
@@ -10,18 +10,16 @@
final class IssuerReference
{
/**
- * @var string
* @SerializedName("TransactionStamp")
* @Type("string")
*/
- private $transactionStamp;
+ private string $transactionStamp;
/**
- * @var string|null
* @SerializedName("SettlementDate")
* @Type("string")
*/
- private $settlementDate;
+ private ?string $settlementDate = null;
public function __construct(string $transactionStamp)
{
@@ -41,6 +39,7 @@ public function getSettlementDate(): ?string
public function setSettlementDate(?string $settlementDate): self
{
$this->settlementDate = $settlementDate;
+
return $this;
}
}
diff --git a/lib/SaferpayJson/Request/Container/Klarna.php b/lib/SaferpayJson/Request/Container/Klarna.php
index 48796ce..e4bf627 100644
--- a/lib/SaferpayJson/Request/Container/Klarna.php
+++ b/lib/SaferpayJson/Request/Container/Klarna.php
@@ -10,11 +10,10 @@
final class Klarna
{
/**
- * @var Attachment
* @SerializedName("Attachment")
* @Type("Ticketpark\SaferpayJson\Request\Container\Attachment")
*/
- private $attachment;
+ private Attachment $attachment;
public function __construct(Attachment $attachment)
{
diff --git a/lib/SaferpayJson/Request/Container/Marketplace.php b/lib/SaferpayJson/Request/Container/Marketplace.php
index b3798f2..d704111 100644
--- a/lib/SaferpayJson/Request/Container/Marketplace.php
+++ b/lib/SaferpayJson/Request/Container/Marketplace.php
@@ -9,22 +9,19 @@
final class Marketplace
{
/**
- * @var string
* @SerializedName("SubmerchantId")
*/
- private $submerchantId;
+ private string $submerchantId;
/**
- * @var Amount|null
* @SerializedName("Fee")
*/
- private $fee;
+ private ?Amount $fee = null;
/**
- * @var Amount|null
* @SerializedName("FeeRefund")
*/
- private $feeRefund;
+ private ?Amount $feeRefund = null;
public function __construct(string $submerchantId)
{
diff --git a/lib/SaferpayJson/Request/Container/MastercardIssuerInstallments.php b/lib/SaferpayJson/Request/Container/MastercardIssuerInstallments.php
index 74adbe5..c3629a9 100644
--- a/lib/SaferpayJson/Request/Container/MastercardIssuerInstallments.php
+++ b/lib/SaferpayJson/Request/Container/MastercardIssuerInstallments.php
@@ -10,11 +10,10 @@
final class MastercardIssuerInstallments
{
/**
- * @var ChosenPlan|null
* @SerializedName("ChosenPlan")
- * @Type("array")
+ * @Type("Ticketpark\SaferpayJson\Request\Container\ChosenPlan")
*/
- private $chosenPlan;
+ private ?ChosenPlan $chosenPlan = null;
public function getChosenPlan(): ?ChosenPlan
{
diff --git a/lib/SaferpayJson/Request/Container/Notification.php b/lib/SaferpayJson/Request/Container/Notification.php
index ee92950..c788fd5 100644
--- a/lib/SaferpayJson/Request/Container/Notification.php
+++ b/lib/SaferpayJson/Request/Container/Notification.php
@@ -12,13 +12,12 @@ final class Notification
* @var array|null
* @SerializedName("MerchantEmails")
*/
- private $merchantEmails = [];
+ private ?array $merchantEmails = [];
/**
- * @var string|null
* @SerializedName("PayerEmail")
*/
- private $payerEmail;
+ private ?string $payerEmail = null;
/**
* @var string|null
@@ -30,13 +29,12 @@ final class Notification
* @var string|null
* @SerializedName("SuccessNotifyUrl")
*/
- private $successNotifyUrl;
+ private ?string $successNotifyUrl = null;
/**
- * @var string|null
* @SerializedName("FailNotifyUrl")
*/
- private $failNotifyUrl;
+ private ?string $failNotifyUrl = null;
public function getMerchantEmails(): ?array
{
@@ -81,6 +79,7 @@ public function getSuccessNotifyUrl(): ?string
public function setSuccessNotifyUrl(?string $successNotifyUrl): self
{
$this->successNotifyUrl = $successNotifyUrl;
+
return $this;
}
@@ -92,6 +91,7 @@ public function getFailNotifyUrl(): ?string
public function setFailNotifyUrl(?string $failNotifyUrl): self
{
$this->failNotifyUrl = $failNotifyUrl;
+
return $this;
}
}
diff --git a/lib/SaferpayJson/Request/Container/Options.php b/lib/SaferpayJson/Request/Container/Options.php
index d9e1ca7..e348dce 100644
--- a/lib/SaferpayJson/Request/Container/Options.php
+++ b/lib/SaferpayJson/Request/Container/Options.php
@@ -5,21 +5,18 @@
namespace Ticketpark\SaferpayJson\Request\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class Options
{
/**
- * @var bool|null
* @SerializedName("PreAuth")
*/
- private $preAuth;
+ private ?bool $preAuth = null;
/**
- * @var bool|null
* @SerializedName("AllowPartialAuthorization")
*/
- private $allowPartialAuthorization;
+ private ?bool $allowPartialAuthorization = null;
public function isPreAuth(): ?bool
{
diff --git a/lib/SaferpayJson/Request/Container/Order.php b/lib/SaferpayJson/Request/Container/Order.php
index c495ffd..c386938 100644
--- a/lib/SaferpayJson/Request/Container/Order.php
+++ b/lib/SaferpayJson/Request/Container/Order.php
@@ -5,7 +5,6 @@
namespace Ticketpark\SaferpayJson\Request\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class Order
{
@@ -13,7 +12,7 @@ final class Order
* @var array|null
* @SerializedName("Items")
*/
- private $items = [];
+ private ?array $items = [];
public function getItems(): ?array
{
diff --git a/lib/SaferpayJson/Request/Container/OrderItem.php b/lib/SaferpayJson/Request/Container/OrderItem.php
index e2e4411..19dfb4e 100644
--- a/lib/SaferpayJson/Request/Container/OrderItem.php
+++ b/lib/SaferpayJson/Request/Container/OrderItem.php
@@ -5,7 +5,6 @@
namespace Ticketpark\SaferpayJson\Request\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class OrderItem
{
@@ -19,88 +18,74 @@ final class OrderItem
public const TYPE_SURCHARGE = 'SURCHARGE';
/**
- * @var string|null
* @SerializedName("Type")
*/
- private $type;
+ private ?string $type = null;
/**
- * @var string|null
* @SerializedName("Id")
*/
- private $id;
+ private ?string $id = null;
/**
- * @var string|null
* @SerializedName("VariantId")
*/
- private $variantId;
+ private ?string $variantId = null;
/**
- * @var string|null
* @SerializedName("Name")
*/
- private $name;
+ private ?string $name = null;
/**
- * @var string|null
* @SerializedName("CategoryName")
*/
- private $categoryName;
+ private ?string $categoryName = null;
/**
- * @var string|null
* @SerializedName("Description")
*/
- private $description;
+ private ?string $description = null;
/**
- * @var string|null
* @SerializedName("Quantity")
*/
- private $quantity;
+ private ?string $quantity = null;
/**
- * @var string|null
* @SerializedName("UnitPrice")
*/
- private $unitPrice;
+ private ?string $unitPrice = null;
/**
- * @var string|null
* @SerializedName("IsPreOrder")
*/
- private $isPreOrder;
+ private ?string $isPreOrder = null;
/**
- * @var string|null
* @SerializedName("TaxRate")
*/
- private $taxRate;
+ private ?string $taxRate = null;
/**
- * @var string|null
* @SerializedName("TaxAmount")
*/
- private $taxAmount;
+ private ?string $taxAmount = null;
/**
- * @var string|null
* @SerializedName("DiscountAmount")
*/
- private $discountAmount;
+ private ?string $discountAmount = null;
/**
- * @var string|null
* @SerializedName("ProductUrl")
*/
- private $productUrl;
+ private ?string $productUrl = null;
/**
- * @var string|null
* @SerializedName("ImageUrl")
*/
- private $imageUrl;
+ private ?string $imageUrl = null;
public function getType(): ?string
@@ -278,6 +263,7 @@ public function getProductUrl(): ?string
public function setProductUrl(?string $productUrl): self
{
$this->productUrl = $productUrl;
+
return $this;
}
@@ -289,6 +275,7 @@ public function getImageUrl(): ?string
public function setImageUrl(?string $imageUrl): self
{
$this->imageUrl = $imageUrl;
+
return $this;
}
}
diff --git a/lib/SaferpayJson/Request/Container/Payer.php b/lib/SaferpayJson/Request/Container/Payer.php
index 5223950..1502412 100644
--- a/lib/SaferpayJson/Request/Container/Payer.php
+++ b/lib/SaferpayJson/Request/Container/Payer.php
@@ -10,35 +10,30 @@
final class Payer
{
/**
- * @var string|null
* @SerializedName("Id")
*/
- private $id;
+ private ?string $id = null;
/**
- * @var string|null
* @SerializedName("IpAddress")
*/
- private $ipAddress;
+ private ?string $ipAddress = null;
/**
- * @var string|null
* @SerializedName("LanguageCode")
*/
- private $languageCode;
+ private ?string $languageCode = null;
/**
- * @var Address|null
* @SerializedName("DeliveryAddress")
* @Type("Ticketpark\SaferpayJson\Request\Container\Address")
*/
- private $deliveryAddress;
+ private ?Address $deliveryAddress = null;
/**
- * @var Address|null
* @SerializedName("BillingAddress")
* @Type("Ticketpark\SaferpayJson\Request\Container\Address")
*/
- private $billingAddress;
+ private ?Address $billingAddress = null;
public function getId(): ?string
{
diff --git a/lib/SaferpayJson/Request/Container/PayerProfile.php b/lib/SaferpayJson/Request/Container/PayerProfile.php
index 4b4c479..e076e12 100644
--- a/lib/SaferpayJson/Request/Container/PayerProfile.php
+++ b/lib/SaferpayJson/Request/Container/PayerProfile.php
@@ -15,91 +15,77 @@ final class PayerProfile
public const GENDER_COMPANY = "COMPANY";
/**
- * @var bool|null
* @SerializedName("HasAccount")
*/
- private $hasAccount;
+ private ?bool $hasAccount = null;
/**
- * @var bool|null
* @SerializedName("HasPassword")
*/
- private $hasPassword;
+ private ?bool $hasPassword = null;
/**
- * @var bool|null
* @SerializedName("PasswordForgotten")
*/
- private $passwordForgotten;
+ private ?bool $passwordForgotten = null;
/**
- * @var string|null
* @SerializedName("FirstName")
*/
- private $firstName;
+ private ?string $firstName = null;
/**
- * @var string|null
* @SerializedName("LastName")
*/
- private $lastName;
+ private ?string $lastName = null;
/**
- * @var string|null
* @SerializedName("Company")
*/
- private $company;
+ private ?string $company = null;
/**
- * @var string|null
* @SerializedName("DateOfBirth")
*/
- private $dateOfBirth;
+ private ?string $dateOfBirth = null;
/**
- * @var \DateTime|null
* @SerializedName("LastLoginDate")
* @Type("DateTime<'Y-m-d\TH:i:s.uT'>")
*/
- private $lastLoginDate;
+ private ?\DateTime $lastLoginDate = null;
/**
- * @var string|null
* @SerializedName("Gender")
*/
- private $gender;
+ private ?string $gender = null;
/**
- * @var \DateTime|null
* @SerializedName("CreationDate")
* @Type("DateTime<'Y-m-d\TH:i:s.uT'>")
*/
- private $creationDate;
+ private ?\DateTime $creationDate = null;
/**
- * @var \DateTime|null
* @SerializedName("PasswordLastChangeDate")
* @Type("DateTime<'Y-m-d\TH:i:s.uT'>")
*/
- private $passwordLastChangeDate;
+ private ?\DateTime $passwordLastChangeDate = null;
/**
- * @var string|null
* @SerializedName("Email")
*/
- private $email;
+ private ?string $email = null;
/**
- * @var string|null
* @SerializedName("SecondaryEmail")
*/
- private $secondaryEmail;
+ private ?string $secondaryEmail = null;
/**
- * @var Phone|null
* @SerializedName("Phone")
*/
- private $phone;
+ private ?Phone $phone = null;
public function getHasAccount(): ?bool
{
diff --git a/lib/SaferpayJson/Request/Container/Payment.php b/lib/SaferpayJson/Request/Container/Payment.php
index 8842d03..a73d603 100644
--- a/lib/SaferpayJson/Request/Container/Payment.php
+++ b/lib/SaferpayJson/Request/Container/Payment.php
@@ -9,52 +9,44 @@
final class Payment
{
/**
- * @var Amount
* @SerializedName("Amount")
*/
- private $amount;
+ private Amount $amount;
/**
- * @var string|null
* @SerializedName("OrderId")
*/
- private $orderId;
+ private ?string $orderId = null;
/**
- * @var string|null
* @SerializedName("PayerNote")
*/
- private $payerNote;
+ private ?string $payerNote = null;
/**
- * @var string|null
* @SerializedName("Description")
*/
- private $description;
+ private ?string $description = null;
/**
- * @var string|null
* @SerializedName("MandateId")
*/
- private $mandateId;
+ private ?string $mandateId = null;
/**
- * @var Options|null
* @SerializedName("Options")
*/
- private $options;
+ private ?Options $options = null;
/**
- * @var Recurring|null
* @SerializedName("Recurring")
*/
- private $recurring;
+ private ?Recurring $recurring = null;
/**
- * @var Installment|null
* @SerializedName("Installment")
*/
- private $installment;
+ private ?Installment $installment = null;
public function __construct(Amount $amount)
{
diff --git a/lib/SaferpayJson/Request/Container/PaymentMeans.php b/lib/SaferpayJson/Request/Container/PaymentMeans.php
index 7606aa8..2800711 100644
--- a/lib/SaferpayJson/Request/Container/PaymentMeans.php
+++ b/lib/SaferpayJson/Request/Container/PaymentMeans.php
@@ -10,79 +10,68 @@
final class PaymentMeans
{
/**
- * @var Brand|null
* @SerializedName("Brand")
* @Type("Ticketpark\SaferpayJson\Request\Container\Brand")
*/
- private $brand;
+ private ?Brand $brand = null;
/**
- * @var string|null
* @SerializedName("DisplayText")
*/
- private $displayText;
+ private ?string $displayText = null;
/**
- * @var string|null
* @SerializedName("Wallet")
*/
- private $wallet;
+ private ?string $wallet = null;
/**
- * @var Card|null
* @SerializedName("Card")
* @Type("Ticketpark\SaferpayJson\Request\Container\Card")
*/
- private $card;
+ private ?Card $card = null;
/**
- * @var BankAccount|null
* @SerializedName("BankAccount")
* @Type("Ticketpark\SaferpayJson\Request\Container\BankAccount")
*/
- private $bankAccount;
+ private ?BankAccount $bankAccount = null;
/**
- * @var Twint|null
* @SerializedName("Twint")
* @Type("Ticketpark\SaferpayJson\Request\Container\Twint")
*/
- private $twint;
+ private ?Twint $twint = null;
/**
- * @var SaferpayFields|null
* @SerializedName("SaferpayFields")
* @Type("Ticketpark\SaferpayJson\Request\Container\SaferpayFields")
*/
- private $saferpayFields;
+ private ?SaferpayFields $saferpayFields = null;
/**
- * @var Alias|null
* @SerializedName("Alias")
* @Type("Ticketpark\SaferpayJson\Request\Container\Alias")
*/
- private $alias;
+ private ?Alias $alias = null;
/**
- * @var SchemeToken|null
* @SerializedName("SchemeToken")
* @Type("Ticketpark\SaferpayJson\Request\Container\SchemeToken")
*/
- private $schemeToken;
+ private ?SchemeToken $schemeToken = null;
/**
- * @var ApplePay|null
* @SerializedName("ApplePay")
* @Type("Ticketpark\SaferpayJson\Request\Container\ApplePay")
*/
- private $applePay;
+ private ?ApplePay $applePay = null;
/**
- * @var GooglePay|null
* @SerializedName("GooglePay")
* @Type("Ticketpark\SaferpayJson\Request\Container\GooglePay")
*/
- private $googlePay;
+ private ?GooglePay $googlePay = null;
public function getBrand(): ?Brand
{
@@ -199,6 +188,7 @@ public function getApplePay(): ?ApplePay
public function setApplePay(?ApplePay $applePay): self
{
$this->applePay = $applePay;
+
return $this;
}
@@ -210,6 +200,7 @@ public function getGooglePay(): ?GooglePay
public function setGooglePay(?GooglePay $googlePay): self
{
$this->googlePay = $googlePay;
+
return $this;
}
}
diff --git a/lib/SaferpayJson/Request/Container/PaymentMethodsOptions.php b/lib/SaferpayJson/Request/Container/PaymentMethodsOptions.php
index a345a34..8e5b744 100644
--- a/lib/SaferpayJson/Request/Container/PaymentMethodsOptions.php
+++ b/lib/SaferpayJson/Request/Container/PaymentMethodsOptions.php
@@ -14,14 +14,13 @@ final class PaymentMethodsOptions
* @SerializedName("Ideal")
* @Type("Ticketpark\SaferpayJson\Request\Container\Ideal")
*/
- private $ideal;
+ private ?Ideal $ideal = null;
/**
- * @var Klarna|null
* @SerializedName("Klarna")
* @Type("Ticketpark\SaferpayJson\Request\Container\Klarna")
*/
- private $klarna;
+ private ?Klarna $klarna = null;
public function getIdeal(): ?Ideal
{
@@ -43,6 +42,7 @@ public function getKlarna(): ?Klarna
public function setKlarna(?Klarna $klarna): self
{
$this->klarna = $klarna;
+
return $this;
}
}
diff --git a/lib/SaferpayJson/Request/Container/PendingNotification.php b/lib/SaferpayJson/Request/Container/PendingNotification.php
index 204954f..254048b 100644
--- a/lib/SaferpayJson/Request/Container/PendingNotification.php
+++ b/lib/SaferpayJson/Request/Container/PendingNotification.php
@@ -12,13 +12,12 @@ final class PendingNotification
* @var array|null
* @SerializedName("MerchantEmails")
*/
- private $merchantEmails = [];
+ private ?array $merchantEmails = [];
/**
- * @var string|null
* @SerializedName("NotifyUrl")
*/
- private $notifyUrl;
+ private ?string $notifyUrl = null;
public function getMerchantEmails(): ?array
{
diff --git a/lib/SaferpayJson/Request/Container/Phone.php b/lib/SaferpayJson/Request/Container/Phone.php
index 2ad0847..97a4acd 100644
--- a/lib/SaferpayJson/Request/Container/Phone.php
+++ b/lib/SaferpayJson/Request/Container/Phone.php
@@ -9,22 +9,19 @@
final class Phone
{
/**
- * @var string|null
* @SerializedName("Main")
*/
- private $main;
+ private ?string $main = null;
/**
- * @var string|null
* @SerializedName("Mobile")
*/
- private $mobile;
+ private ?string $mobile = null;
/**
- * @var string|null
* @SerializedName("Work")
*/
- private $work;
+ private ?string $work = null;
public function getMain(): ?string
{
diff --git a/lib/SaferpayJson/Request/Container/Recurring.php b/lib/SaferpayJson/Request/Container/Recurring.php
index 7b522e2..da2e8cc 100644
--- a/lib/SaferpayJson/Request/Container/Recurring.php
+++ b/lib/SaferpayJson/Request/Container/Recurring.php
@@ -9,10 +9,9 @@
final class Recurring
{
/**
- * @var bool
* @SerializedName("Initial")
*/
- private $initial;
+ private bool $initial;
public function __construct(bool $initial = true)
{
diff --git a/lib/SaferpayJson/Request/Container/RedirectNotifyUrls.php b/lib/SaferpayJson/Request/Container/RedirectNotifyUrls.php
index fac3ba2..1893353 100644
--- a/lib/SaferpayJson/Request/Container/RedirectNotifyUrls.php
+++ b/lib/SaferpayJson/Request/Container/RedirectNotifyUrls.php
@@ -9,16 +9,14 @@
final class RedirectNotifyUrls
{
/**
- * @var string
* @SerializedName("Success")
*/
- private $success;
+ private string $success;
/**
- * @var string
* @SerializedName("Fail")
*/
- private $fail;
+ private string $fail;
public function __construct(string $success, string $fail)
{
diff --git a/lib/SaferpayJson/Request/Container/Refund.php b/lib/SaferpayJson/Request/Container/Refund.php
index 830a910..08df477 100644
--- a/lib/SaferpayJson/Request/Container/Refund.php
+++ b/lib/SaferpayJson/Request/Container/Refund.php
@@ -10,29 +10,25 @@
final class Refund
{
/**
- * @var Amount|null
* @SerializedName("Amount")
* @Type("Ticketpark\SaferpayJson\Request\Container\Amount")
*/
- private $amount;
+ private ?Amount $amount = null;
/**
- * @var string|null
* @SerializedName("OrderId")
*/
- private $orderId;
+ private ?string $orderId = null;
/**
- * @var string|null
* @SerializedName("Description")
*/
- private $description;
+ private ?string $description = null;
/**
- * @var bool|null
* @SerializedName("RestrictRefundAmountToCapturedAmount")
*/
- private $restrictRefundAmountToCapturedAmount;
+ private ?bool $restrictRefundAmountToCapturedAmount = null;
public function __construct(?Amount $amount)
{
@@ -83,6 +79,7 @@ public function isRestrictRefundAmountToCapturedAmount(): ?bool
public function setRestrictRefundAmountToCapturedAmount(?bool $restrictRefundAmountToCapturedAmount): self
{
$this->restrictRefundAmountToCapturedAmount = $restrictRefundAmountToCapturedAmount;
+
return $this;
}
}
diff --git a/lib/SaferpayJson/Request/Container/RegisterAlias.php b/lib/SaferpayJson/Request/Container/RegisterAlias.php
index cc56d95..76e29f4 100644
--- a/lib/SaferpayJson/Request/Container/RegisterAlias.php
+++ b/lib/SaferpayJson/Request/Container/RegisterAlias.php
@@ -14,23 +14,20 @@ final class RegisterAlias
public const ID_GENERATOR_RANDOM_UNIQUE = 'RANDOM_UNIQUE';
/**
- * @var string
* @SerializedName("IdGenerator")
*/
- private $idGenerator;
+ private string $idGenerator;
/**
- * @var string|null
* @SerializedName("Id")
*/
- private $id;
+ private ?string $id = null;
/**
- * @var int|null
* @SerializedName("Lifetime")
* @Type("integer")
*/
- private $lifetime;
+ private ?int $lifetime = null;
public function __construct(string $idGenerator)
{
diff --git a/lib/SaferpayJson/Request/Container/RequestHeader.php b/lib/SaferpayJson/Request/Container/RequestHeader.php
index a146127..52910fb 100644
--- a/lib/SaferpayJson/Request/Container/RequestHeader.php
+++ b/lib/SaferpayJson/Request/Container/RequestHeader.php
@@ -9,34 +9,29 @@
final class RequestHeader
{
/**
- * @var string
* @SerializedName("SpecVersion")
*/
- private $specVersion = '1.40';
+ private string $specVersion = '1.40';
/**
- * @var string
* @SerializedName("CustomerId")
*/
- private $customerId;
+ private string $customerId;
/**
- * @var string|null
* @SerializedName("RequestId")
*/
- private $requestId;
+ private ?string $requestId = null;
/**
- * @var int
* @SerializedName("RetryIndicator")
*/
- private $retryIndicator = 0;
+ private int $retryIndicator = 0;
/**
- * @var ClientInfo|null
* @SerializedName("ClientInfo")
*/
- private $clientInfo;
+ private ?ClientInfo $clientInfo = null;
public function __construct(string $customerId, string $requestId = null, int $retryIndicator = 0)
{
diff --git a/lib/SaferpayJson/Request/Container/RiskFactors.php b/lib/SaferpayJson/Request/Container/RiskFactors.php
index b9a2851..a21684d 100644
--- a/lib/SaferpayJson/Request/Container/RiskFactors.php
+++ b/lib/SaferpayJson/Request/Container/RiskFactors.php
@@ -16,23 +16,20 @@ final class RiskFactors
public const DELIVERY_TYPE_HQ = "HQ";
/**
- * @var string|null
* @SerializedName("DeliveryType")
*/
- private $deliveryType;
+ private ?string $deliveryType = null;
/**
- * @var PayerProfile|null
* @SerializedName("PayerProfile")
* @Type("Ticketpark\SaferpayJson\Request\Container\PayerProfile")
*/
- private $payerProfile;
+ private ?PayerProfile $payerProfile = null;
/**
- * @var bool|null
* @SerializedName("IsB2B")
*/
- private $isB2B;
+ private ?bool $isB2B = null;
/**
* @var string|null
@@ -72,6 +69,7 @@ public function isIsB2B(): ?bool
public function setIsB2B(?bool $isB2B): self
{
$this->isB2B = $isB2B;
+
return $this;
}
diff --git a/lib/SaferpayJson/Request/Container/SaferpayFields.php b/lib/SaferpayJson/Request/Container/SaferpayFields.php
index 9c472ef..ae7be43 100644
--- a/lib/SaferpayJson/Request/Container/SaferpayFields.php
+++ b/lib/SaferpayJson/Request/Container/SaferpayFields.php
@@ -5,15 +5,13 @@
namespace Ticketpark\SaferpayJson\Request\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class SaferpayFields
{
/**
- * @var string
* @SerializedName("Token")
*/
- private $token;
+ private string $token;
public function __construct(string $token)
{
diff --git a/lib/SaferpayJson/Request/Container/SchemeToken.php b/lib/SaferpayJson/Request/Container/SchemeToken.php
index 9f4e0a2..193eb52 100644
--- a/lib/SaferpayJson/Request/Container/SchemeToken.php
+++ b/lib/SaferpayJson/Request/Container/SchemeToken.php
@@ -18,38 +18,33 @@ final class SchemeToken
public const TOKEN_TYPE_VTS = "VTS";
/**
- * @var string
* @SerializedName("Number")
* @Type("string")
*/
- private $number;
+ private string $number;
/**
- * @var int
* @SerializedName("ExpMonth")
* @Type("integer")
*/
- private $expMonth;
+ private int $expMonth;
/**
- * @var int
* @SerializedName("ExpYear")
* @Type("integer")
*/
- private $expYear;
+ private int $expYear;
/**
- * @var string
* @SerializedName("AuthValue")
* @Type("string")
*/
- private $authValue;
+ private string $authValue;
/**
- * @var string|null
* @SerializedName("Eci")
*/
- private $eci;
+ private ?string $eci = null;
/**
* @var string
@@ -94,6 +89,7 @@ public function getEci(): ?string
public function setEci(?string $eci): self
{
$this->eci = $eci;
+
return $this;
}
diff --git a/lib/SaferpayJson/Request/Container/Styling.php b/lib/SaferpayJson/Request/Container/Styling.php
index fd4b9e2..4b71e93 100644
--- a/lib/SaferpayJson/Request/Container/Styling.php
+++ b/lib/SaferpayJson/Request/Container/Styling.php
@@ -13,22 +13,19 @@ final class Styling
public const THEME_NONE = 'NONE';
/**
- * @var string|null
* @SerializedName("CssUrl")
*/
- private $cssUrl;
+ private ?string $cssUrl = null;
/**
- * @var bool|null
* @SerializedName("ContentSecurityEnabled")
*/
- private $contentSecurityEnabled;
+ private ?bool $contentSecurityEnabled = null;
/**
- * @var string|null
* @SerializedName("Theme")
*/
- private $theme;
+ private ?string $theme = null;
public function getCssUrl(): ?string
{
diff --git a/lib/SaferpayJson/Request/Container/TransactionReference.php b/lib/SaferpayJson/Request/Container/TransactionReference.php
index feab0bb..3811a81 100644
--- a/lib/SaferpayJson/Request/Container/TransactionReference.php
+++ b/lib/SaferpayJson/Request/Container/TransactionReference.php
@@ -9,16 +9,14 @@
final class TransactionReference
{
/**
- * @var string|null
* @SerializedName("TransactionId")
*/
- private $transactionId;
+ private ?string $transactionId = null;
/**
- * @var string|null
* @SerializedName("OrderId")
*/
- private $orderId;
+ private ?string $orderId = null;
public function getTransactionId(): ?string
{
diff --git a/lib/SaferpayJson/Request/Container/Twint.php b/lib/SaferpayJson/Request/Container/Twint.php
index 4a517e0..af00bba 100644
--- a/lib/SaferpayJson/Request/Container/Twint.php
+++ b/lib/SaferpayJson/Request/Container/Twint.php
@@ -10,11 +10,10 @@
final class Twint
{
/**
- * @var \DateTime|null
* @SerializedName("CertificateExpirationDate")
* @Type("DateTime<'Y-m-d\TH:i:s.uT'>")
*/
- private $certificateExpirationDate;
+ private ?\DateTime $certificateExpirationDate = null;
public function getCertificateExpirationDate(): ?\DateTime
{
diff --git a/lib/SaferpayJson/Request/Container/UpdateAlias.php b/lib/SaferpayJson/Request/Container/UpdateAlias.php
index 9e3bc61..c2e7c4d 100644
--- a/lib/SaferpayJson/Request/Container/UpdateAlias.php
+++ b/lib/SaferpayJson/Request/Container/UpdateAlias.php
@@ -10,17 +10,15 @@
final class UpdateAlias
{
/**
- * @var string
* @SerializedName("Id")
*/
- private $id;
+ private string $id;
/**
- * @var int|null
* @SerializedName("Lifetime")
* @Type("integer")
*/
- private $lifetime;
+ private ?int $lifetime = null;
public function __construct(string $id)
{
diff --git a/lib/SaferpayJson/Request/Container/UpdatePaymentMeans.php b/lib/SaferpayJson/Request/Container/UpdatePaymentMeans.php
index aa62340..34cd717 100644
--- a/lib/SaferpayJson/Request/Container/UpdatePaymentMeans.php
+++ b/lib/SaferpayJson/Request/Container/UpdatePaymentMeans.php
@@ -5,15 +5,13 @@
namespace Ticketpark\SaferpayJson\Request\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class UpdatePaymentMeans
{
/**
- * @var Card
* @SerializedName("Card")
*/
- private $card;
+ private Card $card;
public function __construct(Card $card)
{
diff --git a/lib/SaferpayJson/Request/Exception/SaferpayErrorException.php b/lib/SaferpayJson/Request/Exception/SaferpayErrorException.php
index 7d99a68..4472ebb 100644
--- a/lib/SaferpayJson/Request/Exception/SaferpayErrorException.php
+++ b/lib/SaferpayJson/Request/Exception/SaferpayErrorException.php
@@ -8,8 +8,7 @@
class SaferpayErrorException extends \Exception
{
- /** @var ErrorResponse */
- private $errorResponse;
+ private ErrorResponse $errorResponse;
public function __construct(ErrorResponse $errorResponse)
{
diff --git a/lib/SaferpayJson/Request/PaymentPage/AssertRequest.php b/lib/SaferpayJson/Request/PaymentPage/AssertRequest.php
index 7d03efd..f9554a7 100644
--- a/lib/SaferpayJson/Request/PaymentPage/AssertRequest.php
+++ b/lib/SaferpayJson/Request/PaymentPage/AssertRequest.php
@@ -17,10 +17,9 @@ final class AssertRequest extends Request
public const RESPONSE_CLASS = AssertResponse::class;
/**
- * @var string
* @SerializedName("Token")
*/
- private $token;
+ private string $token;
public function __construct(
RequestConfig $requestConfig,
diff --git a/lib/SaferpayJson/Request/PaymentPage/InitializeRequest.php b/lib/SaferpayJson/Request/PaymentPage/InitializeRequest.php
index 6364582..b234200 100644
--- a/lib/SaferpayJson/Request/PaymentPage/InitializeRequest.php
+++ b/lib/SaferpayJson/Request/PaymentPage/InitializeRequest.php
@@ -64,106 +64,93 @@ final class InitializeRequest extends Request
public const CONDITION_NONE = 'NONE';
/**
- * @var string
* @SerializedName("TerminalId")
*/
- private $terminalId;
+ private string $terminalId;
/**
- * @var Payment
* @SerializedName("Payment")
*/
- private $payment;
+ private Payment $payment;
/**
* @var ReturnUrl
* @SerializedName("ReturnUrl")
*/
- private $returnUrl;
+ private ReturnUrls $returnUrls;
/**
- * @var string|null
* @SerializedName("ConfigSet")
*/
- private $configSet;
+ private ?string $configSet = null;
/**
* @var array|null
* @SerializedName("PaymentMethods")
*/
- private $paymentMethods;
+ private ?array $paymentMethods = null;
/**
- * @var PaymentMethodsOptions|null
* @SerializedName("PaymentMethodsOptions")
*/
- private $paymentMethodsOptions;
+ private ?PaymentMethodsOptions $paymentMethodsOptions = null;
/**
- * @var Authentication|null
* @SerializedName("Authentication")
*/
- private $authentication;
+ private ?Authentication $authentication = null;
/**
* @var array|null
* @SerializedName("Wallets")
*/
- private $wallets;
+ private ?array $wallets = null;
/**
- * @var Payer|null
* @SerializedName("Payer")
*/
- private $payer;
+ private ?Payer $payer = null;
/**
- * @var RegisterAlias|null
* @SerializedName("RegisterAlias")
*/
- private $registerAlias;
+ private ?RegisterAlias $registerAlias = null;
/**
- * @var Notification|null
* @SerializedName("Notification")
*/
- private $notification;
+ private ?Notification $notification = null;
/**
* @var AddressForm|null
* @SerializedName("BillingAddressForm")
*/
- private $billingAddressForm;
+ private ?AddressForm $billingAddressForm = null;
/**
- * @var AddressForm|null
* @SerializedName("DeliveryAddressForm")
*/
- private $deliveryAddressForm;
+ private ?AddressForm $deliveryAddressForm = null;
/**
- * @var CardForm|null
* @SerializedName("CardForm")
*/
- private $cardForm;
+ private ?CardForm $cardForm = null;
/**
- * @var string|null
* @SerializedName("Condition")
*/
- private $condition;
+ private ?string $condition = null;
/**
- * @var Order|null
* @SerializedName("Order")
*/
- private $order;
+ private ?Order $order = null;
/**
- * @var RiskFactors|null
* @SerializedName("RiskFactors")
*/
- private $riskFactors;
+ private ?RiskFactors $riskFactors = null;
public function __construct(
RequestConfig $requestConfig,
@@ -382,7 +369,6 @@ public function setRiskFactors(?RiskFactors $riskFactors): self
return $this;
}
-
public function execute(): InitializeResponse
{
/** @var InitializeResponse $response */
diff --git a/lib/SaferpayJson/Request/Request.php b/lib/SaferpayJson/Request/Request.php
index eef5180..d336945 100644
--- a/lib/SaferpayJson/Request/Request.php
+++ b/lib/SaferpayJson/Request/Request.php
@@ -25,10 +25,9 @@ abstract class Request
private const ERROR_RESPONSE_CLASS = ErrorResponse::class;
/**
- * @var RequestConfig
* @Exclude
*/
- private $requestConfig;
+ private RequestConfig $requestConfig;
abstract public function execute(): Response;
diff --git a/lib/SaferpayJson/Request/RequestConfig.php b/lib/SaferpayJson/Request/RequestConfig.php
index a60a70e..e482ee5 100644
--- a/lib/SaferpayJson/Request/RequestConfig.php
+++ b/lib/SaferpayJson/Request/RequestConfig.php
@@ -8,30 +8,11 @@
final class RequestConfig
{
- /**
- * @var string
- */
- private $apiKey;
-
- /**
- * @var string
- */
- private $apiSecret;
-
- /**
- * @var string
- */
- private $customerId;
-
- /**
- * @var bool
- */
- private $test;
-
- /**
- * @var \GuzzleHttp\Client
- */
- private $client;
+ private string $apiKey;
+ private string $apiSecret;
+ private string $customerId;
+ private bool $test;
+ private ?Client $client = null;
public function __construct(string $apiKey, string $apiSecret, string $customerId, bool $test = false)
{
diff --git a/lib/SaferpayJson/Request/SecureCardData/AliasAssertInsertRequest.php b/lib/SaferpayJson/Request/SecureCardData/AliasAssertInsertRequest.php
index eb5e2c2..44dc945 100755
--- a/lib/SaferpayJson/Request/SecureCardData/AliasAssertInsertRequest.php
+++ b/lib/SaferpayJson/Request/SecureCardData/AliasAssertInsertRequest.php
@@ -17,10 +17,9 @@ final class AliasAssertInsertRequest extends Request
public const RESPONSE_CLASS = AliasAssertInsertResponse::class;
/**
- * @var string
* @SerializedName("Token")
*/
- private $token;
+ private string $token;
public function __construct(RequestConfig $requestConfig, string $token)
{
diff --git a/lib/SaferpayJson/Request/SecureCardData/AliasDeleteRequest.php b/lib/SaferpayJson/Request/SecureCardData/AliasDeleteRequest.php
index 85182c8..743b8e3 100755
--- a/lib/SaferpayJson/Request/SecureCardData/AliasDeleteRequest.php
+++ b/lib/SaferpayJson/Request/SecureCardData/AliasDeleteRequest.php
@@ -17,10 +17,9 @@ final class AliasDeleteRequest extends Request
public const RESPONSE_CLASS = AliasDeleteResponse::class;
/**
- * @var string
* @SerializedName("AliasId")
*/
- private $aliasId;
+ private string $aliasId;
public function __construct(RequestConfig $requestConfig, string $aliasId)
{
diff --git a/lib/SaferpayJson/Request/SecureCardData/AliasInsertDirectRequest.php b/lib/SaferpayJson/Request/SecureCardData/AliasInsertDirectRequest.php
index 70f03fd..cd4a7f4 100755
--- a/lib/SaferpayJson/Request/SecureCardData/AliasInsertDirectRequest.php
+++ b/lib/SaferpayJson/Request/SecureCardData/AliasInsertDirectRequest.php
@@ -22,31 +22,27 @@ final class AliasInsertDirectRequest extends Request
public const RESPONSE_CLASS = AliasInsertDirectResponse::class;
/**
- * @var RegisterAlias
* @SerializedName("RegisterAlias")
*/
- private $registerAlias;
+ private RegisterAlias $registerAlias;
/**
- * @var PaymentMeans
* @SerializedName("PaymentMeans")
* @Type("Ticketpark\SaferpayJson\Request\Container\PaymentMeans")
*/
- private $paymentMeans;
+ private PaymentMeans $paymentMeans;
/**
- * @var Check|null
* @SerializedName("Check")
* @Type("Ticketpark\SaferpayJson\Request\Container\Check")
*/
- private $check;
+ private ?Check $check = null;
/**
- * @var IssuerReference|null
* @SerializedName("IssuerReference")
* @Type("Ticketpark\SaferpayJson\Request\Container\IssuerReference")
*/
- private $issuerReference;
+ private ?IssuerReference $issuerReference = null;
public function __construct(RequestConfig $requestConfig, RegisterAlias $registerAlias, PaymentMeans $paymentMeans)
{
diff --git a/lib/SaferpayJson/Request/SecureCardData/AliasInsertRequest.php b/lib/SaferpayJson/Request/SecureCardData/AliasInsertRequest.php
index 1897848..73eae8d 100755
--- a/lib/SaferpayJson/Request/SecureCardData/AliasInsertRequest.php
+++ b/lib/SaferpayJson/Request/SecureCardData/AliasInsertRequest.php
@@ -36,6 +36,7 @@ final class AliasInsertRequest extends Request
public const PAYMENT_METHOD_SAFERPAYTEST = "SAFERPAYTEST";
public const PAYMENT_METHOD_VISA = "VISA";
public const PAYMENT_METHOD_WECHATPAY = "WECHATPAY";
+ public const PAYMENT_METHOD_WLCRYPTOPAYMENTS = "WLCRYPTOPAYMENTS";
public const TYPE_CARD = 'CARD';
public const TYPE_BANK_ACCOUNT = 'BANK_ACCOUNT';
@@ -43,17 +44,15 @@ final class AliasInsertRequest extends Request
public const TYPE_TWINT = 'TWINT';
/**
- * @var RegisterAlias
* @SerializedName("RegisterAlias")
*/
- private $registerAlias;
+ private RegisterAlias $registerAlias;
/**
- * @var string
* @SerializedName("Type")
* @Type("string")
*/
- private $type;
+ private string $type;
/**
* @var ReturnUrl
@@ -62,41 +61,36 @@ final class AliasInsertRequest extends Request
private $returnUrl;
/**
- * @var Styling|null
* @SerializedName("Styling")
*/
- private $styling;
+ private ?Styling $styling = null;
/**
- * @var string|null
* @SerializedName("LanguageCode")
* @Type("string")
*/
- private $languageCode;
+ private ?string $languageCode = null;
/**
- * @var Check|null
* @SerializedName("Check")
*/
- private $check;
+ private ?Check $check = null;
/**
* @var array|null
* @SerializedName("PaymentMethods")
*/
- private $paymentMethods;
+ private ?array $paymentMethods = null;
/**
- * @var CardForm|null
* @SerializedName("CardForm")
*/
- private $cardForm;
+ private ?CardForm $cardForm = null;
/**
- * @var PaymentMeans|null
* @SerializedName("PaymentMeans")
*/
- private $paymentMeans;
+ private ?PaymentMeans $paymentMeans = null;
/**
* @var Notification|null
diff --git a/lib/SaferpayJson/Request/SecureCardData/AliasUpdateRequest.php b/lib/SaferpayJson/Request/SecureCardData/AliasUpdateRequest.php
index ba98fb9..6092815 100755
--- a/lib/SaferpayJson/Request/SecureCardData/AliasUpdateRequest.php
+++ b/lib/SaferpayJson/Request/SecureCardData/AliasUpdateRequest.php
@@ -19,16 +19,14 @@ final class AliasUpdateRequest extends Request
public const RESPONSE_CLASS = AliasUpdateResponse::class;
/**
- * @var UpdateAlias
* @SerializedName("UpdateAlias")
*/
- private $updateAlias;
+ private UpdateAlias $updateAlias;
/**
- * @var UpdatePaymentMeans
* @SerializedName("UpdatePaymentMeans")
*/
- private $updatePaymentMeans;
+ private UpdatePaymentMeans $updatePaymentMeans;
public function __construct(
RequestConfig $requestConfig,
diff --git a/lib/SaferpayJson/Request/Transaction/AuthorizeDirectRequest.php b/lib/SaferpayJson/Request/Transaction/AuthorizeDirectRequest.php
index c6f284f..ca1c648 100644
--- a/lib/SaferpayJson/Request/Transaction/AuthorizeDirectRequest.php
+++ b/lib/SaferpayJson/Request/Transaction/AuthorizeDirectRequest.php
@@ -5,7 +5,6 @@
namespace Ticketpark\SaferpayJson\Request\Transaction;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
use Ticketpark\SaferpayJson\Request\Container\Authentication;
use Ticketpark\SaferpayJson\Request\Container\Order;
use Ticketpark\SaferpayJson\Request\Container\Payer;
@@ -28,58 +27,49 @@ final class AuthorizeDirectRequest extends Request
public const INITIATOR_PAYER = 'PAYER';
/**
- * @var string
* @SerializedName("TerminalId")
*/
- private $terminalId;
+ private string $terminalId;
/**
- * @var Payment
* @SerializedName("Payment")
*/
- private $payment;
+ private Payment $payment;
/**
- * @var PaymentMeans
* @SerializedName("PaymentMeans")
*/
- private $paymentMeans;
+ private PaymentMeans $paymentMeans;
/**
- * @var Authentication|null
* @SerializedName("Authentication")
*/
- private $authentication;
+ private ?Authentication $authentication = null;
/**
- * @var RegisterAlias|null
* @SerializedName("RegisterAlias")
*/
- private $registerAlias;
+ private ?RegisterAlias $registerAlias = null;
/**
- * @var Payer|null
* @SerializedName("Payer")
*/
- private $payer;
+ private ?Payer $payer = null;
/**
- * @var Order|null
* @SerializedName("Order")
*/
- private $order;
+ private ?Order $order = null;
/**
- * @var RiskFactors|null
* @SerializedName("RiskFactors")
*/
- private $riskFactors;
+ private ?RiskFactors $riskFactors = null;
/**
- * @var string|null
* @SerializedName("Initiator")
*/
- private $initiator;
+ private ?string $initiator = null;
public function __construct(
RequestConfig $requestConfig,
diff --git a/lib/SaferpayJson/Request/Transaction/AuthorizeReferencedRequest.php b/lib/SaferpayJson/Request/Transaction/AuthorizeReferencedRequest.php
index 3cf76d1..6615424 100644
--- a/lib/SaferpayJson/Request/Transaction/AuthorizeReferencedRequest.php
+++ b/lib/SaferpayJson/Request/Transaction/AuthorizeReferencedRequest.php
@@ -21,34 +21,29 @@ final class AuthorizeReferencedRequest extends Request
public const RESPONSE_CLASS = AuthorizeReferencedResponse::class;
/**
- * @var string
* @SerializedName("TerminalId")
*/
- private $terminalId;
+ private string $terminalId;
/**
- * @var Payment
* @SerializedName("Payment")
*/
- private $payment;
+ private Payment $payment;
/**
- * @var TransactionReference
* @SerializedName("TransactionReference")
*/
- private $transactionReference;
+ private TransactionReference $transactionReference;
/**
- * @var Authentication|null
* @SerializedName("Authentication")
*/
- private $authentication;
+ private ?Authentication $authentication = null;
/**
- * @var bool|null
* @SerializedName("SuppressDcc")
*/
- private $suppressDcc;
+ private ?bool $suppressDcc = null;
/**
* @var Notification|null
diff --git a/lib/SaferpayJson/Request/Transaction/AuthorizeRequest.php b/lib/SaferpayJson/Request/Transaction/AuthorizeRequest.php
index 617dddd..8b0993d 100644
--- a/lib/SaferpayJson/Request/Transaction/AuthorizeRequest.php
+++ b/lib/SaferpayJson/Request/Transaction/AuthorizeRequest.php
@@ -18,28 +18,24 @@ final class AuthorizeRequest extends Request
public const RESPONSE_CLASS = AuthorizeResponse::class;
/**
- * @var string
* @SerializedName("Token")
*/
- private $token;
+ private string $token;
/**
- * @var string|null
* @SerializedName("Condition")
*/
- private $condition;
+ private ?string $condition = null;
/**
- * @var string|null
* @SerializedName("VerificationCode")
*/
- private $verificationCode;
+ private ?string $verificationCode = null;
/**
- * @var RegisterAlias|null
* @SerializedName("RegisterAlias")
*/
- private $registerAlias;
+ private ?RegisterAlias $registerAlias = null;
public function __construct(
RequestConfig $requestConfig,
diff --git a/lib/SaferpayJson/Request/Transaction/CancelRequest.php b/lib/SaferpayJson/Request/Transaction/CancelRequest.php
index 8248689..aca2f09 100644
--- a/lib/SaferpayJson/Request/Transaction/CancelRequest.php
+++ b/lib/SaferpayJson/Request/Transaction/CancelRequest.php
@@ -18,10 +18,9 @@ final class CancelRequest extends Request
public const RESPONSE_CLASS = CancelResponse::class;
/**
- * @var TransactionReference
* @SerializedName("TransactionReference")
*/
- private $transactionReference;
+ private TransactionReference $transactionReference;
public function __construct(
RequestConfig $requestConfig,
diff --git a/lib/SaferpayJson/Request/Transaction/CaptureRequest.php b/lib/SaferpayJson/Request/Transaction/CaptureRequest.php
index fc04a97..66c05d7 100644
--- a/lib/SaferpayJson/Request/Transaction/CaptureRequest.php
+++ b/lib/SaferpayJson/Request/Transaction/CaptureRequest.php
@@ -23,40 +23,34 @@ final class CaptureRequest extends Request
public const RESPONSE_CLASS = CaptureResponse::class;
/**
- * @var TransactionReference
* @SerializedName("TransactionReference")
*/
- private $transactionReference;
+ private TransactionReference $transactionReference;
/**
- * @var Amount|null
* @SerializedName("Amount")
*/
- private $amount;
+ private ?Amount $amount = null;
/**
- * @var Billpay|null
* @SerializedName("Billpay")
*/
- private $billpay;
+ private ?Billpay $billpay = null;
/**
- * @var PendingNotification|null
* @SerializedName("PendingNotification")
*/
- private $pendingNotification;
+ private ?PendingNotification $pendingNotification = null;
/**
- * @var Marketplace|null
* @SerializedName("Marketplace")
*/
- private $marketplace;
+ private ?Marketplace $marketplace = null;
/**
- * @var MastercardIssuerInstallments|null
* @SerializedName("MastercardIssuerInstallments")
*/
- private $mastercardIssuerInstallments;
+ private ?MastercardIssuerInstallments $mastercardIssuerInstallments = null;
public function __construct(
RequestConfig $requestConfig,
diff --git a/lib/SaferpayJson/Request/Transaction/InitializeRequest.php b/lib/SaferpayJson/Request/Transaction/InitializeRequest.php
index 60cf044..c584085 100644
--- a/lib/SaferpayJson/Request/Transaction/InitializeRequest.php
+++ b/lib/SaferpayJson/Request/Transaction/InitializeRequest.php
@@ -42,40 +42,34 @@ final class InitializeRequest extends Request
public const WALLET_MASTERPASS = "MASTERPASS";
/**
- * @var string|null
* @SerializedName("ConfigSet")
*/
- private $configSet;
+ private ?string $configSet = null;
/**
- * @var string
* @SerializedName("TerminalId")
*/
- private $terminalId;
+ private string $terminalId;
/**
- * @var Payment
* @SerializedName("Payment")
*/
- private $payment;
+ private Payment $payment;
/**
- * @var PaymentMeans|null
* @SerializedName("PaymentMeans")
*/
- private $paymentMeans;
+ private ?PaymentMeans $paymentMeans = null;
/**
- * @var Authentication|null
* @SerializedName("Authentication")
*/
- private $authentication;
+ private ?Authentication $authentication = null;
/**
- * @var Payer|null
* @SerializedName("Payer")
*/
- private $payer;
+ private ?Payer $payer = null;
/**
* @var ReturnUrl
@@ -84,40 +78,35 @@ final class InitializeRequest extends Request
private $returnUrl;
/**
- * @var Styling|null
* @SerializedName("Styling")
*/
- private $styling;
+ private ?Styling $styling = null;
/**
* @var array|null
* @SerializedName("PaymentMethods")
*/
- private $paymentMethods;
+ private ?array $paymentMethods = null;
/**
- * @var Order|null
* @SerializedName("Order")
*/
- private $order;
+ private ?Order $order = null;
/**
- * @var RiskFactors|null
* @SerializedName("RiskFactors")
*/
- private $riskFactors;
+ private ?RiskFactors $riskFactors = null;
/**
- * @var CardForm|null
* @SerializedName("CardForm")
*/
- private $cardForm;
+ private ?CardForm $cardForm = null;
/**
- * @var RedirectNotifyUrls|null
* @SerializedName("RedirectNotifyUrls")
*/
- private $redirectNotifyUrls;
+ private ?RedirectNotifyUrls $redirectNotifyUrls = null;
/**
* @var Notification|null
diff --git a/lib/SaferpayJson/Request/Transaction/InquireRequest.php b/lib/SaferpayJson/Request/Transaction/InquireRequest.php
new file mode 100644
index 0000000..fd5651a
--- /dev/null
+++ b/lib/SaferpayJson/Request/Transaction/InquireRequest.php
@@ -0,0 +1,53 @@
+transactionReference = $transactionReference;
+
+ parent::__construct($requestConfig);
+ }
+
+ public function getTransactionReference(): TransactionReference
+ {
+ return $this->transactionReference;
+ }
+
+ public function setTransactionReference(TransactionReference $transactionReference): self
+ {
+ $this->transactionReference = $transactionReference;
+
+ return $this;
+ }
+
+ public function execute(): InquireResponse
+ {
+ /** @var InquireResponse $response */
+ $response = $this->doExecute();
+
+ return $response;
+ }
+}
diff --git a/lib/SaferpayJson/Request/Transaction/RefundRequest.php b/lib/SaferpayJson/Request/Transaction/RefundRequest.php
index 9c8e7df..80fb294 100644
--- a/lib/SaferpayJson/Request/Transaction/RefundRequest.php
+++ b/lib/SaferpayJson/Request/Transaction/RefundRequest.php
@@ -21,22 +21,19 @@ final class RefundRequest extends Request
public const RESPONSE_CLASS = RefundResponse::class;
/**
- * @var Refund
* @SerializedName("Refund")
*/
- private $refund;
+ private Refund $refund;
/**
- * @var CaptureReference
* @SerializedName("CaptureReference")
*/
- private $captureReference;
+ private CaptureReference $captureReference;
/**
- * @var PendingNotification|null
* @SerializedName("PendingNotification")
*/
- private $pendingNotification;
+ private ?PendingNotification $pendingNotification = null;
/**
* @var PaymentMethodsOptions|null
diff --git a/lib/SaferpayJson/Response/Container/Address.php b/lib/SaferpayJson/Response/Container/Address.php
index ecfd185..93a7dde 100644
--- a/lib/SaferpayJson/Response/Container/Address.php
+++ b/lib/SaferpayJson/Response/Container/Address.php
@@ -15,101 +15,76 @@ final class Address
public const GENDER_COMPANY = 'COMPANY';
/**
- * @var string|null
* @SerializedName("FirstName")
- * @Type("string")
*/
- private $firstName;
+ private ?string $firstName = null;
/**
- * @var string|null
* @SerializedName("LastName")
- * @Type("string")
*/
- private $lastName;
+ private ?string $lastName = null;
/**
- * @var string|null
* @SerializedName("Company")
- * @Type("string")
*/
- private $company;
+ private ?string $company = null;
/**
- * @var string|null
* @SerializedName("Gender")
- * @Type("string")
*/
- private $gender;
+ private ?string $gender = null;
/**
- * @var string|null
* @SerializedName("Street")
- * @Type("string")
*/
- private $street;
+ private ?string $street = null;
/**
- * @var string|null
* @SerializedName("Zip")
- * @Type("string")
*/
- private $zip;
+ private ?string $zip = null;
/**
- * @var string|null
* @SerializedName("City")
- * @Type("string")
*/
- private $city;
+ private ?string $city = null;
/**
- * @var string|null
* @SerializedName("CountryCode")
- * @Type("string")
*/
- private $countryCode;
+ private ?string $countryCode = null;
/**
- * @var string|null
* @SerializedName("Email")
- * @Type("string")
*/
- private $email;
+ private ?string $email = null;
/**
- * @var \DateTime|null
* @SerializedName("DateOfBirth")
- * @Type("string")
+ * @Type("DateTime<'Y-m-d'>")
*/
- private $dateOfBirth;
+ private ?\DateTime$dateOfBirth = null;
/**
* @var string|null
* @SerializedName("Street2")
- * @Type("string")
*/
- private $street2;
+ private ?string $street2 = null;
/**
- * @var string|null
* @SerializedName("CountrySubdivisionCode")
- * @Type("string")
*/
- private $countrySubdivisionCode;
+ private ?string $countrySubdivisionCode = null;
/**
- * @var string|null
* @SerializedName("Phone")
- * @Type("string")
*/
- private $phone;
+ private ?string $phone = null;
/**
- * @var string|null
* @SerializedName("VatNumber")
*/
- private $vatNumber;
+ private ?string $vatNumber = null;
public function getFirstName(): ?string
{
@@ -180,10 +155,4 @@ public function getVatNumber(): ?string
{
return $this->vatNumber;
}
-
- public function setVatNumber(?string $vatNumber): self
- {
- $this->vatNumber = $vatNumber;
- return $this;
- }
}
diff --git a/lib/SaferpayJson/Response/Container/Alias.php b/lib/SaferpayJson/Response/Container/Alias.php
index f2d3865..9f3e956 100644
--- a/lib/SaferpayJson/Response/Container/Alias.php
+++ b/lib/SaferpayJson/Response/Container/Alias.php
@@ -5,23 +5,18 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class Alias
{
/**
- * @var string|null
* @SerializedName("Id")
- * @Type("string")
*/
- private $id;
+ private ?string $id = null;
/**
- * @var int|null
* @SerializedName("Lifetime")
- * @Type("integer")
*/
- private $lifetime;
+ private ?int $lifetime = null;
public function getId(): ?string
{
diff --git a/lib/SaferpayJson/Response/Container/Amount.php b/lib/SaferpayJson/Response/Container/Amount.php
index e81afe1..6011d31 100644
--- a/lib/SaferpayJson/Response/Container/Amount.php
+++ b/lib/SaferpayJson/Response/Container/Amount.php
@@ -5,30 +5,25 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class Amount
{
/**
- * @var int
* @SerializedName("Value")
- * @Type("integer")
*/
- private $value;
+ private ?int $value = null;
/**
- * @var string
* @SerializedName("CurrencyCode")
- * @Type("string")
*/
- private $currencyCode;
+ private ?string $currencyCode = null;
- public function getValue(): int
+ public function getValue(): ?int
{
return $this->value;
}
- public function getCurrencyCode(): string
+ public function getCurrencyCode(): ?string
{
return $this->currencyCode;
}
diff --git a/lib/SaferpayJson/Response/Container/AuthenticationResult.php b/lib/SaferpayJson/Response/Container/AuthenticationResult.php
index 026c944..762070f 100644
--- a/lib/SaferpayJson/Response/Container/AuthenticationResult.php
+++ b/lib/SaferpayJson/Response/Container/AuthenticationResult.php
@@ -5,7 +5,6 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class AuthenticationResult
{
@@ -13,18 +12,14 @@ final class AuthenticationResult
public const RESULT_NOT_SUPPORTED = 'NOT_SUPPORTED';
/**
- * @var string|null
* @SerializedName("Result")
- * @Type("string")
*/
- private $result;
+ private ?string $result = null;
/**
- * @var string|null
* @SerializedName("Message")
- * @Type("string")
*/
- private $message;
+ private ?string $message = null;
public function getResult(): ?string
{
diff --git a/lib/SaferpayJson/Response/Container/BankAccount.php b/lib/SaferpayJson/Response/Container/BankAccount.php
index 37a7e31..c1c38d2 100644
--- a/lib/SaferpayJson/Response/Container/BankAccount.php
+++ b/lib/SaferpayJson/Response/Container/BankAccount.php
@@ -5,44 +5,33 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class BankAccount
{
/**
- * @var string|null
* @SerializedName("Iban")
- * @Type("string")
*/
- private $iban;
+ private ?string $iban = null;
/**
- * @var string|null
* @SerializedName("HolderName")
- * @Type("string")
*/
- private $holderName;
+ private ?string $holderName = null;
/**
- * @var string|null
* @SerializedName("BIC")
- * @Type("string")
*/
- private $bic;
+ private ?string $bic = null;
/**
- * @var string|null
* @SerializedName("BankName")
- * @Type("string")
*/
- private $bankName;
+ private ?string $bankName = null;
/**
- * @var string|null
* @SerializedName("CountryCode")
- * @Type("string")
*/
- private $countryCode;
+ private ?string $countryCode = null;
public function getIban(): ?string
{
diff --git a/lib/SaferpayJson/Response/Container/Brand.php b/lib/SaferpayJson/Response/Container/Brand.php
index d86dcd3..69e8de8 100644
--- a/lib/SaferpayJson/Response/Container/Brand.php
+++ b/lib/SaferpayJson/Response/Container/Brand.php
@@ -5,7 +5,6 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class Brand
{
@@ -21,14 +20,14 @@ final class Brand
public const PAYMENT_METHOD_IDEAL = 'IDEAL';
public const PAYMENT_METHOD_INVOICE = 'INVOICE';
public const PAYMENT_METHOD_JCB = 'JCB';
+ public const PAYMENT_METHOD_KLARNA = 'KLARNA';
public const PAYMENT_METHOD_MAESTRO = 'MAESTRO';
public const PAYMENT_METHOD_MASTERCARD = 'MASTERCARD';
public const PAYMENT_METHOD_MYONE = 'MYONE';
- public const PAYMENT_METHOD_PAYPAL = 'PAYPAL';
public const PAYMENT_METHOD_PAYDIREKT = 'PAYDIREKT';
+ public const PAYMENT_METHOD_PAYPAL = 'PAYPAL';
public const PAYMENT_METHOD_POSTCARD = 'POSTCARD';
public const PAYMENT_METHOD_POSTFINANCE = 'POSTFINANCE';
- public const PAYMENT_METHOD_SAFERPAYTEST = 'SAFERPAYTEST';
public const PAYMENT_METHOD_SOFORT = 'SOFORT';
public const PAYMENT_METHOD_TWINT = 'TWINT';
public const PAYMENT_METHOD_UNIONPAY = 'UNIONPAY';
@@ -37,18 +36,14 @@ final class Brand
public const PAYMENT_METHOD_WECHATPAY = 'WECHATPAY';
/**
- * @var string|null
* @SerializedName("PaymentMethod")
- * @Type("string")
*/
- private $paymentMethod;
+ private ?string $paymentMethod = null;
/**
- * @var string|null
* @SerializedName("Name")
- * @Type("string")
*/
- private $name;
+ private ?string $name = null;
public function getPaymentMethod(): ?string
{
diff --git a/lib/SaferpayJson/Response/Container/Card.php b/lib/SaferpayJson/Response/Container/Card.php
index 02f24e9..9ec3ca4 100644
--- a/lib/SaferpayJson/Response/Container/Card.php
+++ b/lib/SaferpayJson/Response/Container/Card.php
@@ -5,7 +5,6 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class Card
{
@@ -15,53 +14,39 @@ final class Card
public const HOLDER_SEGMENT_CORPORATE_AND_CONSUMER = 'CORPORATE_AND_CONSUMER';
/**
- * @var string|null
* @SerializedName("MaskedNumber")
- * @Type("string")
*/
- private $maskedNumber;
+ private ?string $maskedNumber = null;
/**
- * @var int|null
* @SerializedName("ExpYear")
- * @Type("integer")
*/
- private $expYear;
+ private ?int $expYear = null;
/**
- * @var int|null
* @SerializedName("ExpMonth")
- * @Type("integer")
*/
- private $expMonth;
+ private ?int $expMonth = null;
/**
- * @var string|null
* @SerializedName("HolderName")
- * @Type("string")
*/
- private $holderName;
+ private ?string $holderName = null;
/**
- * @var string|null
* @SerializedName("HolderSegment")
- * @Type("string")
*/
- private $holderSegment;
+ private ?string $holderSegment = null;
/**
- * @var string|null
* @SerializedName("CountryCode")
- * @Type("string")
*/
- private $countryCode;
+ private ?string $countryCode = null;
/**
- * @var string|null
* @SerializedName("HashValue")
- * @Type("string")
*/
- private $hashValue;
+ private ?string $hashValue = null;
public function getMaskedNumber(): ?string
{
diff --git a/lib/SaferpayJson/Response/Container/CheckResult.php b/lib/SaferpayJson/Response/Container/CheckResult.php
index 9f12bd7..90462c6 100644
--- a/lib/SaferpayJson/Response/Container/CheckResult.php
+++ b/lib/SaferpayJson/Response/Container/CheckResult.php
@@ -5,30 +5,23 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class CheckResult
{
/**
- * @var string|null
* @SerializedName("Result")
- * @Type("string")
*/
- private $result;
+ private ?string $result = null;
/**
- * @var string|null
* @SerializedName("Message")
- * @Type("string")
*/
- private $message;
+ private ?string $message = null;
/**
- * @var HolderAuthentication|null
* @SerializedName("Authentication")
- * @Type("Ticketpark\SaferpayJson\Response\Container\HolderAuthentication")
*/
- private $authentication;
+ private ?HolderAuthentication $authentication = null;
public function getResult(): ?string
{
diff --git a/lib/SaferpayJson/Response/Container/ChosenPlan.php b/lib/SaferpayJson/Response/Container/ChosenPlan.php
index e2fb003..800f83c 100644
--- a/lib/SaferpayJson/Response/Container/ChosenPlan.php
+++ b/lib/SaferpayJson/Response/Container/ChosenPlan.php
@@ -5,58 +5,43 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class ChosenPlan
{
/**
- * @var int|null
* @SerializedName("NumberOfInstallments")
- * @Type("int")
*/
- private $numberOfInstallments;
+ private ?int $numberOfInstallments = null;
/**
- * @var string|null
* @SerializedName("InterestRate")
- * @Type("string")
*/
- private $interestRate;
+ private ?string $interestRate = null;
/**
- * @var Amount|null
* @SerializedName("InstallmentFee")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Amount")
*/
- private $installmentFee;
+ private ?Amount $installmentFee = null;
/**
- * @var string|null
* @SerializedName("AnnualPercentageRate")
- * @Type("string")
*/
- private $annualPercentageRate;
+ private ?string $annualPercentageRate = null;
/**
- * @var Amount|null
* @SerializedName("FirstInstallmentAmount")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Amount")
*/
- private $firstInstallmentAmount;
+ private ?Amount $firstInstallmentAmount = null;
/**
- * @var Amount|null
* @SerializedName("SubsequentInstallmentAmount")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Amount")
*/
- private $subsequentInstallmentAmount;
+ private ?Amount $subsequentInstallmentAmount = null;
/**
- * @var Amount|null
* @SerializedName("TotalAmountDue")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Amount")
*/
- private $totalAmountDue;
+ private ?Amount $totalAmountDue = null;
public function getNumberOfInstallments(): ?int
{
diff --git a/lib/SaferpayJson/Response/Container/CustomPlan.php b/lib/SaferpayJson/Response/Container/CustomPlan.php
index b973be4..ac35011 100644
--- a/lib/SaferpayJson/Response/Container/CustomPlan.php
+++ b/lib/SaferpayJson/Response/Container/CustomPlan.php
@@ -5,51 +5,38 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class CustomPlan
{
/**
- * @var int|null
* @SerializedName("MinimumNumberOfInstallments")
- * @Type("int")
*/
- private $minimumNumberOfInstallments;
+ private ?int $minimumNumberOfInstallments = null;
/**
- * @var int|null
* @SerializedName("MaximumNumberOfInstallments")
- * @Type("int")
*/
- private $maximumNumberOfInstallments;
+ private ?int $maximumNumberOfInstallments = null;
/**
- * @var string|null
* @SerializedName("InterestRate")
- * @Type("string")
*/
- private $interestRate;
+ private ?string $interestRate = null;
/**
- * @var Amount|null
* @SerializedName("InstallmentFee")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Amount")
*/
- private $installmentFee;
+ private ?Amount $installmentFee = null;
/**
- * @var string|null
* @SerializedName("AnnualPercentageRate")
- * @Type("string")
*/
- private $annualPercentageRate;
+ private ?string $annualPercentageRate = null;
/**
- * @var Amount|null
* @SerializedName("TotalAmountDue")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Amount")
*/
- private $totalAmountDue;
+ private ?Amount $totalAmountDue = null;
public function getMinimumNumberOfInstallments(): ?int
{
diff --git a/lib/SaferpayJson/Response/Container/Dcc.php b/lib/SaferpayJson/Response/Container/Dcc.php
index 5078d01..84cc3b3 100644
--- a/lib/SaferpayJson/Response/Container/Dcc.php
+++ b/lib/SaferpayJson/Response/Container/Dcc.php
@@ -5,30 +5,23 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class Dcc
{
/**
- * @var Amount|null
* @SerializedName("PayerAmount")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Amount")
*/
- private $payerAmount;
+ private ?Amount $payerAmount = null;
/**
- * @var string|null
* @SerializedName("Markup")
- * @Type("string")
*/
- private $markup;
+ private ?string $markup = null;
/**
- * @var string|null
* @SerializedName("ExchangeRate")
- * @Type("string")
*/
- private $exchangeRate;
+ private ?string $exchangeRate = null;
public function getPayerAmount(): ?Amount
{
diff --git a/lib/SaferpayJson/Response/Container/DirectDebit.php b/lib/SaferpayJson/Response/Container/DirectDebit.php
index 8971371..5d4c8b7 100644
--- a/lib/SaferpayJson/Response/Container/DirectDebit.php
+++ b/lib/SaferpayJson/Response/Container/DirectDebit.php
@@ -5,23 +5,18 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class DirectDebit
{
/**
- * @var string|null
* @SerializedName("MandateId")
- * @Type("string")
*/
- private $mandateId;
+ private ?string $mandateId = null;
/**
- * @var string|null
* @SerializedName("CreditorId")
- * @Type("string")
*/
- private $creditorId;
+ private ?string $creditorId = null;
public function getMandateId(): ?string
{
diff --git a/lib/SaferpayJson/Response/Container/Error.php b/lib/SaferpayJson/Response/Container/Error.php
index 11444c2..7d4a676 100644
--- a/lib/SaferpayJson/Response/Container/Error.php
+++ b/lib/SaferpayJson/Response/Container/Error.php
@@ -5,23 +5,18 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class Error
{
/**
- * @var string|null
* @SerializedName("ErrorName")
- * @Type("string")
*/
- private $errorName;
+ private ?string $errorName = null;
/**
- * @var string|null
* @SerializedName("ErrorMessage")
- * @Type("string")
*/
- private $errorMessage;
+ private ?string $errorMessage = null;
public function getErrorName(): ?string
{
diff --git a/lib/SaferpayJson/Response/Container/FraudPrevention.php b/lib/SaferpayJson/Response/Container/FraudPrevention.php
index 98b9b87..659163c 100644
--- a/lib/SaferpayJson/Response/Container/FraudPrevention.php
+++ b/lib/SaferpayJson/Response/Container/FraudPrevention.php
@@ -5,7 +5,6 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class FraudPrevention
{
@@ -13,11 +12,9 @@ final class FraudPrevention
public const CHALLENGED = 'CHALLENGED';
/**
- * @var string|null
* @SerializedName("Result")
- * @Type("string")
*/
- private $result;
+ private ?string $result = null;
public function getResult(): ?string
{
diff --git a/lib/SaferpayJson/Response/Container/HolderAuthentication.php b/lib/SaferpayJson/Response/Container/HolderAuthentication.php
index a550efe..b4227b2 100644
--- a/lib/SaferpayJson/Response/Container/HolderAuthentication.php
+++ b/lib/SaferpayJson/Response/Container/HolderAuthentication.php
@@ -5,7 +5,6 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class HolderAuthentication
{
@@ -13,25 +12,19 @@ final class HolderAuthentication
public const RESULT_NOT_SUPPORTED = 'NOT_SUPPORTED';
/**
- * @var string|null
* @SerializedName("Result")
- * @Type("string")
*/
- private $result;
+ private ?string $result = null;
/**
- * @var string|null
* @SerializedName("Message")
- * @Type("string")
*/
- private $message;
+ private ?string $message = null;
/**
- * @var string|null
* @SerializedName("Xid")
- * @Type("string")
*/
- private $xid;
+ private ?string $xid = null;
public function getResult(): ?string
{
diff --git a/lib/SaferpayJson/Response/Container/InstallmentPlan.php b/lib/SaferpayJson/Response/Container/InstallmentPlan.php
index 0cc7035..e218d96 100644
--- a/lib/SaferpayJson/Response/Container/InstallmentPlan.php
+++ b/lib/SaferpayJson/Response/Container/InstallmentPlan.php
@@ -5,58 +5,43 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class InstallmentPlan
{
/**
- * @var int|null
* @SerializedName("NumberOfInstallments")
- * @Type("int")
*/
- private $numberOfInstallments;
+ private ?int $numberOfInstallments = null;
/**
- * @var string|null
* @SerializedName("InterestRate")
- * @Type("string")
*/
- private $interestRate;
+ private ?string $interestRate = null;
/**
- * @var Amount|null
* @SerializedName("InstallmentFee")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Amount")
*/
- private $installmentFee;
+ private ?Amount $installmentFee = null;
/**
- * @var string|null
* @SerializedName("AnnualPercentageRate")
- * @Type("string")
*/
- private $annualPercentageRate;
+ private ?string $annualPercentageRate = null;
/**
- * @var Amount|null
* @SerializedName("FirstInstallmentAmount")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Amount")
*/
- private $firstInstallmentAmount;
+ private ?Amount $firstInstallmentAmount = null;
/**
- * @var Amount|null
* @SerializedName("SubsequentInstallmentAmount")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Amount")
*/
- private $subsequentInstallmentAmount;
+ private ?Amount $subsequentInstallmentAmount = null;
/**
- * @var Amount|null
* @SerializedName("TotalAmountDue")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Amount")
*/
- private $totalAmountDue;
+ private ?Amount $totalAmountDue = null;
public function getNumberOfInstallments(): ?int
{
diff --git a/lib/SaferpayJson/Response/Container/Invoice.php b/lib/SaferpayJson/Response/Container/Invoice.php
index 5860e5b..e05bb99 100644
--- a/lib/SaferpayJson/Response/Container/Invoice.php
+++ b/lib/SaferpayJson/Response/Container/Invoice.php
@@ -6,30 +6,24 @@
use JMS\Serializer\Annotation\SerializedName;
use JMS\Serializer\Annotation\Type;
-use Ticketpark\SaferpayJson\Response\Container\Payee;
final class Invoice
{
/**
- * @var Payee|null
* @SerializedName("Payee")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Payee")
*/
- private $payee;
+ private ?Payee $payee = null;
/**
- * @var string|null
* @SerializedName("ReasonForTransfer")
- * @Type("string")
*/
- private $reasonForTransfer;
+ private ?string $reasonForTransfer = null;
/**
- * @var string|null
* @SerializedName("DueDate")
- * @Type("string")
+ * @Type("DateTime<'Y-m-d'>")
*/
- private $dueDate;
+ private ?\DateTime $dueDate = null;
public function getPayee(): ?Payee
{
@@ -41,7 +35,7 @@ public function getReasonForTransfer(): ?string
return $this->reasonForTransfer;
}
- public function getDueDate(): ?string
+ public function getDueDate(): ?\DateTime
{
return $this->dueDate;
}
diff --git a/lib/SaferpayJson/Response/Container/IssuerReference.php b/lib/SaferpayJson/Response/Container/IssuerReference.php
index f6d7335..43564b0 100644
--- a/lib/SaferpayJson/Response/Container/IssuerReference.php
+++ b/lib/SaferpayJson/Response/Container/IssuerReference.php
@@ -5,23 +5,18 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class IssuerReference
{
/**
- * @var string|null
* @SerializedName("TransactionStamp")
- * @Type("string")
*/
- private $transactionStamp;
+ private ?string $transactionStamp = null;
/**
- * @var string|null
* @SerializedName("SettlementDate")
- * @Type("string")
*/
- private $settlementDate;
+ private ?string $settlementDate = null;
public function getTransactionStamp(): ?string
{
diff --git a/lib/SaferpayJson/Response/Container/Liability.php b/lib/SaferpayJson/Response/Container/Liability.php
index 39602d5..28ac606 100644
--- a/lib/SaferpayJson/Response/Container/Liability.php
+++ b/lib/SaferpayJson/Response/Container/Liability.php
@@ -5,37 +5,28 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class Liability
{
/**
- * @var bool|null
* @SerializedName("LiabilityShift")
- * @Type("boolean")
*/
- private $liabilityShift;
+ private ?bool $liabilityShift = null;
/**
- * @var string|null
* @SerializedName("LiableEntity")
- * @Type("string")
*/
- private $liableEntity;
+ private ?string $liableEntity = null;
/**
- * @var ThreeDs|null
* @SerializedName("ThreeDs")
- * @Type("Ticketpark\SaferpayJson\Response\Container\ThreeDs")
*/
- private $threeDs;
+ private ?ThreeDs $threeDs = null;
/**
- * @var string|null
* @SerializedName("InPsd2Scope")
- * @Type("string")
*/
- private $inPsd2Scope;
+ private ?string $inPsd2Scope = null;
public function isLiabilityShift(): ?bool
{
diff --git a/lib/SaferpayJson/Response/Container/MastercardIssuerInstallments.php b/lib/SaferpayJson/Response/Container/MastercardIssuerInstallments.php
index 00faf04..852068f 100644
--- a/lib/SaferpayJson/Response/Container/MastercardIssuerInstallments.php
+++ b/lib/SaferpayJson/Response/Container/MastercardIssuerInstallments.php
@@ -4,8 +4,8 @@
namespace Ticketpark\SaferpayJson\Response\Container;
-use JMS\Serializer\Annotation\SerializedName;
use JMS\Serializer\Annotation\Type;
+use JMS\Serializer\Annotation\SerializedName;
final class MastercardIssuerInstallments
{
@@ -14,28 +14,22 @@ final class MastercardIssuerInstallments
* @SerializedName("InstallmentPlans")
* @Type("array")
*/
- private $installmentPlans;
+ private ?array $installmentPlans = null;
/**
- * @var CustomPlan|null
* @SerializedName("CustomPlan")
- * @Type("Ticketpark\SaferpayJson\Response\Container\CustomPlan")
*/
- private $customPlan;
+ private ?CustomPlan $customPlan = null;
/**
- * @var string|null
* @SerializedName("ReceiptFreeText")
- * @Type("string")
*/
- private $receiptFreeText;
+ private ?string $receiptFreeText = null;
/**
- * @var ChosenPlan|null
* @SerializedName("ChosenPlan")
- * @Type("array")
*/
- private $chosenPlan;
+ private ?ChosenPlan $chosenPlan = null;
public function getInstallmentPlans(): ?array
{
diff --git a/lib/SaferpayJson/Response/Container/PayPal.php b/lib/SaferpayJson/Response/Container/PayPal.php
index ded4dc5..0b0fdac 100644
--- a/lib/SaferpayJson/Response/Container/PayPal.php
+++ b/lib/SaferpayJson/Response/Container/PayPal.php
@@ -5,30 +5,23 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class PayPal
{
/**
- * @var string|null
* @SerializedName("PayerId")
- * @Type("string")
*/
- private $payerId;
+ private ?string $payerId = null;
/**
- * @var string|null
* @SerializedName("SellerProtectionStatus")
- * @Type("string")
*/
- private $sellerProtectionStatus;
+ private ?string $sellerProtectionStatus = null;
/**
- * @var string|null
* @SerializedName("Email")
- * @Type("string")
*/
- private $email;
+ private ?string $email = null;
public function getPayerId(): ?string
{
diff --git a/lib/SaferpayJson/Response/Container/Payee.php b/lib/SaferpayJson/Response/Container/Payee.php
index 52c4fdd..c2fc620 100644
--- a/lib/SaferpayJson/Response/Container/Payee.php
+++ b/lib/SaferpayJson/Response/Container/Payee.php
@@ -5,37 +5,28 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class Payee
{
/**
- * @var string|null
* @SerializedName("Iban")
- * @Type("string")
*/
- private $iban;
+ private ?string $iban = null;
/**
- * @var string|null
* @SerializedName("HolderName")
- * @Type("string")
*/
- private $holderName;
+ private ?string $holderName = null;
/**
- * @var string|null
* @SerializedName("Bic")
- * @Type("string")
*/
- private $bic;
+ private ?string $bic = null;
/**
- * @var string|null
* @SerializedName("BankName")
- * @Type("string")
*/
- private $bankName;
+ private ?string $bankName = null;
public function getIban(): ?string
{
diff --git a/lib/SaferpayJson/Response/Container/Payer.php b/lib/SaferpayJson/Response/Container/Payer.php
index 281c592..8cc6c06 100644
--- a/lib/SaferpayJson/Response/Container/Payer.php
+++ b/lib/SaferpayJson/Response/Container/Payer.php
@@ -5,43 +5,33 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class Payer
{
/**
- * @var string|null
* @SerializedName("Id")
*/
- private $id;
+ private ?string $id = null;
/**
- * @var string|null
* @SerializedName("IpAddress")
- * @Type("string")
*/
- private $ipAddress;
+ private ?string $ipAddress = null;
/**
- * @var string|null
* @SerializedName("IpLocation")
- * @Type("string")
*/
- private $ipLocation;
+ private ?string $ipLocation = null;
/**
- * @var Address|null
* @SerializedName("DeliveryAddress")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Address")
*/
- private $deliveryAddress;
+ private ?Address $deliveryAddress = null;
/**
- * @var Address|null
* @SerializedName("BillingAddress")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Address")
*/
- private $billingAddress;
+ private ?Address $billingAddress = null;
public function getId(): ?string
{
diff --git a/lib/SaferpayJson/Response/Container/PaymentMeans.php b/lib/SaferpayJson/Response/Container/PaymentMeans.php
index d383b18..2e908c0 100644
--- a/lib/SaferpayJson/Response/Container/PaymentMeans.php
+++ b/lib/SaferpayJson/Response/Container/PaymentMeans.php
@@ -5,51 +5,39 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class PaymentMeans
{
/**
- * @var Brand|null
* @SerializedName("Brand")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Brand")
*/
- private $brand;
+ private ?Brand $brand = null;
/**
- * @var string|null
* @SerializedName("DisplayText")
- * @Type("string")
*/
- private $displayText;
+ private ?string $displayText = null;
/**
- * @var string|null
* @SerializedName("Wallet")
- * @Type("string")
*/
- private $wallet;
+ private ?string $wallet = null;
/**
- * @var Card|null
* @SerializedName("Card")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Card")
*/
- private $card;
+ private ?Card $card = null;
/**
- * @var BankAccount|null
* @SerializedName("BankAccount")
- * @Type("Ticketpark\SaferpayJson\Response\Container\BankAccount")
*/
- private $bankAccount;
+ private ?BankAccount $bankAccount = null;
/**
* @var PayPal|null
* @SerializedName("PayPal")
- * @Type("Ticketpark\SaferpayJson\Response\Container\PayPal")
*/
- private $payPal;
+ private ?PayPal $payPal = null;
public function getBrand(): ?Brand
{
diff --git a/lib/SaferpayJson/Response/Container/Redirect.php b/lib/SaferpayJson/Response/Container/Redirect.php
index 84e5a71..26dae3b 100644
--- a/lib/SaferpayJson/Response/Container/Redirect.php
+++ b/lib/SaferpayJson/Response/Container/Redirect.php
@@ -4,24 +4,19 @@
namespace Ticketpark\SaferpayJson\Response\Container;
-use JMS\Serializer\Annotation\Type;
use JMS\Serializer\Annotation\SerializedName;
final class Redirect
{
/**
- * @var string|null
* @SerializedName("RedirectUrl")
- * @Type("string")
*/
- private $redirectUrl;
+ private ?string $redirectUrl = null;
/**
- * @var bool|null
* @SerializedName("PaymentMeansRequired")
- * @Type("bool")
*/
- private $paymentMeansRequired;
+ private ?bool $paymentMeansRequired = null;
public function getRedirectUrl(): ?string
{
diff --git a/lib/SaferpayJson/Response/Container/RegisterAlias.php b/lib/SaferpayJson/Response/Container/RegisterAlias.php
index 0e2648b..4c86b52 100644
--- a/lib/SaferpayJson/Response/Container/RegisterAlias.php
+++ b/lib/SaferpayJson/Response/Container/RegisterAlias.php
@@ -5,23 +5,18 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class RegisterAlias
{
/**
- * @var string|null
* @SerializedName("Id")
- * @Type("string")
*/
- private $id;
+ private ?string $id = null;
/**
- * @var int|null
* @SerializedName("Lifetime")
- * @Type("integer")
*/
- private $lifetime;
+ private ?int $lifetime = null;
public function getId(): ?string
{
diff --git a/lib/SaferpayJson/Response/Container/RegistrationResult.php b/lib/SaferpayJson/Response/Container/RegistrationResult.php
index 10dbb0c..64d5f3c 100644
--- a/lib/SaferpayJson/Response/Container/RegistrationResult.php
+++ b/lib/SaferpayJson/Response/Container/RegistrationResult.php
@@ -5,37 +5,28 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class RegistrationResult
{
/**
- * @var bool|null
* @SerializedName("Success")
- * @Type("boolean")
*/
- private $success;
+ private ?bool $success = null;
/**
- * @var Alias|null
* @SerializedName("Alias")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Alias")
*/
- private $alias;
+ private ?Alias $alias = null;
/**
- * @var Error|null
* @SerializedName("Error")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Error")
*/
- private $error;
+ private ?Error $error = null;
/**
- * @var AuthenticationResult|null
* @SerializedName("AuthenticationResult")
- * @Type("Ticketpark\SaferpayJson\Response\Container\AuthenticationResult")
*/
- private $authenticationResult;
+ private ?AuthenticationResult $authenticationResult = null;
public function isSuccess(): ?bool
{
diff --git a/lib/SaferpayJson/Response/Container/ResponseHeader.php b/lib/SaferpayJson/Response/Container/ResponseHeader.php
index 34f6470..7291852 100644
--- a/lib/SaferpayJson/Response/Container/ResponseHeader.php
+++ b/lib/SaferpayJson/Response/Container/ResponseHeader.php
@@ -5,30 +5,25 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class ResponseHeader
{
/**
- * @var string
* @SerializedName("SpecVersion")
- * @Type("string")
*/
- private $specVersion;
+ private ?string $specVersion = null;
/**
- * @var string
* @SerializedName("RequestId")
- * @Type("string")
*/
- private $requestId;
+ private ?string $requestId = null;
- public function getSpecVersion(): string
+ public function getSpecVersion(): ?string
{
return $this->specVersion;
}
- public function getRequestId(): string
+ public function getRequestId(): ?string
{
return $this->requestId;
}
diff --git a/lib/SaferpayJson/Response/Container/Risk.php b/lib/SaferpayJson/Response/Container/Risk.php
index 919771b..0685828 100644
--- a/lib/SaferpayJson/Response/Container/Risk.php
+++ b/lib/SaferpayJson/Response/Container/Risk.php
@@ -5,7 +5,6 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class Risk
{
@@ -15,18 +14,14 @@ final class Risk
public const BLOCKREASON_BLACKLIST_PAYMENT_MEANS_ORIGIN = 'BLACKLIST_PAYMENT_MEANS_ORIGIN';
/**
- * @var string|null
* @SerializedName("BlockReason")
- * @Type("string")
*/
- private $blockReason;
+ private ?string $blockReason = null;
/**
- * @var string|null
* @SerializedName("IpLocation")
- * @Type("string")
*/
- private $ipLocation;
+ private ?string $ipLocation = null;
public function getBlockReason(): ?string
{
diff --git a/lib/SaferpayJson/Response/Container/SaferpayFields.php b/lib/SaferpayJson/Response/Container/SaferpayFields.php
index 28133b2..69b610e 100644
--- a/lib/SaferpayJson/Response/Container/SaferpayFields.php
+++ b/lib/SaferpayJson/Response/Container/SaferpayFields.php
@@ -5,15 +5,13 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class SaferpayFields
{
/**
- * @var string
* @SerializedName("Token")
*/
- private $token;
+ private ?string $token = null;
public function getToken(): ?string
{
diff --git a/lib/SaferpayJson/Response/Container/ThreeDs.php b/lib/SaferpayJson/Response/Container/ThreeDs.php
index 4c29387..5b9367b 100644
--- a/lib/SaferpayJson/Response/Container/ThreeDs.php
+++ b/lib/SaferpayJson/Response/Container/ThreeDs.php
@@ -5,44 +5,33 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class ThreeDs
{
/**
- * @var bool|null
* @SerializedName("Authenticated")
- * @Type("boolean")
*/
- private $authenticated;
+ private ?bool $authenticated = null;
/**
- * @var bool|null
* @SerializedName("LiabilityShift")
- * @Type("boolean")
*/
- private $liabilityShift;
+ private ?bool $liabilityShift = null;
/**
- * @var string|null
* @SerializedName("Xid")
- * @Type("string")
*/
- private $xid;
+ private ?string $xid = null;
/**
- * @var string|null
* @SerializedName("Version")
- * @Type("string")
*/
- private $version;
+ private ?string $version = null;
/**
- * @var string|null
* @SerializedName("AuthenticationType")
- * @Type("string")
*/
- private $authenticationType;
+ private ?string $authenticationType = null;
public function isAuthenticated(): ?bool
{
diff --git a/lib/SaferpayJson/Response/Container/Transaction.php b/lib/SaferpayJson/Response/Container/Transaction.php
index 486ccfb..5b408c7 100644
--- a/lib/SaferpayJson/Response/Container/Transaction.php
+++ b/lib/SaferpayJson/Response/Container/Transaction.php
@@ -5,7 +5,6 @@
namespace Ticketpark\SaferpayJson\Response\Container;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
final class Transaction
{
@@ -17,102 +16,74 @@ final class Transaction
public const STATUS_PENDING = 'PENDING';
/**
- * @var string|null
* @SerializedName("Type")
- * @Type("string")
*/
- private $type;
+ private ?string $type = null;
/**
- * @var string|null
* @SerializedName("Status")
- * @Type("string")
*/
- private $status;
+ private ?string $status = null;
/**
- * @var string|null
* @SerializedName("Id")
- * @Type("string")
*/
- private $id;
+ private ?string $id = null;
/**
- * @var string|null
* @SerializedName("CaptureId")
- * @Type("string")
*/
- private $captureId;
+ private ?string $captureId = null;
/**
- * @var string|null
* @SerializedName("Date")
- * @Type("string")
*/
- private $date;
+ private ?string $date = null;
/**
- * @var Amount|null
* @SerializedName("Amount")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Amount")
*/
- private $amount;
+ private ?Amount $amount = null;
/**
- * @var string|null
* @SerializedName("OrderId")
- * @Type("string")
*/
- private $orderId;
+ private ?string $orderId = null;
/**
- * @var string|null
* @SerializedName("AcquirerName")
- * @Type("string")
*/
- private $acquirerName;
+ private ?string $acquirerName = null;
/**
- * @var string|null
* @SerializedName("AcquirerReference")
- * @Type("string")
*/
- private $acquirerReference;
+ private ?string $acquirerReference = null;
/**
- * @var string|null
* @SerializedName("SixTransactionReference")
- * @Type("string")
*/
- private $sixTransactionReference;
+ private ?string $sixTransactionReference = null;
/**
- * @var string|null
* @SerializedName("ApprovalCode")
- * @Type("string")
*/
- private $approvalCode;
+ private ?string $approvalCode = null;
/**
- * @var DirectDebit|null
* @SerializedName("DirectDebit")
- * @Type("Ticketpark\SaferpayJson\Response\Container\DirectDebit")
*/
- private $directDebit;
+ private ?DirectDebit $directDebit = null;
/**
- * @var Invoice|null
* @SerializedName("Invoice")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Invoice")
*/
- private $invoice;
+ private ?Invoice $invoice = null;
/**
- * @var IssuerReference|null
* @SerializedName("IssuerReference")
- * @Type("Ticketpark\SaferpayJson\Response\Container\IssuerReference")
*/
- private $issuerReference;
+ private ?IssuerReference $issuerReference = null;
public function getType(): ?string
{
diff --git a/lib/SaferpayJson/Response/ErrorResponse.php b/lib/SaferpayJson/Response/ErrorResponse.php
index 1098c43..9bcf351 100644
--- a/lib/SaferpayJson/Response/ErrorResponse.php
+++ b/lib/SaferpayJson/Response/ErrorResponse.php
@@ -16,74 +16,55 @@ class ErrorResponse extends Response
public const BEHAVIOUR_RETRY_LATER = 'RETRY_LATER';
/**
- * @var Risk|null
* @SerializedName("Risk")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Risk")
*/
- private $risk;
+ private ?Risk $risk = null;
/**
- * @var string|null
* @SerializedName("Behavior")
- * @Type("string")
*/
- private $behaviour;
+ private ?string $behaviour = null;
/**
- * @var string|null
* @SerializedName("ErrorName")
- * @Type("string")
*/
- private $errorName;
+ private ?string $errorName = null;
/**
- * @var string|null
* @SerializedName("ErrorMessage")
- * @Type("string")
*/
- private $errorMessage;
+ private ?string $errorMessage = null;
/**
- * @var string|null
* @SerializedName("TransactionId")
- * @Type("string")
*/
- private $transactionId;
+ private ?string $transactionId = null;
/**
- * @var array|null
* @SerializedName("ErrorDetail")
* @Type("array")
*/
- private $errorDetail = [];
+ private array $errorDetail = [];
/**
- * @var string|null
* @SerializedName("ProcessorName")
- * @Type("string")
*/
- private $processorName;
+ private ?string $processorName = null;
/**
- * @var string|null
* @SerializedName("ProcessorResult")
- * @Type("string")
*/
- private $processorResult;
+ private ?string $processorResult = null;
/**
- * @var string|null
* @SerializedName("ProcessorMessage")
- * @Type("string")
*/
- private $processorMessage;
+ private ?string $processorMessage = null;
/**
- * @var string|null
* @SerializedName("PayerMessage")
- * @Type("string")
*/
- private $payerMessage;
+ private ?string $payerMessage = null;
public function getRisk(): ?Risk
{
diff --git a/lib/SaferpayJson/Response/PaymentPage/AssertResponse.php b/lib/SaferpayJson/Response/PaymentPage/AssertResponse.php
index 0f77afe..d27e7d8 100644
--- a/lib/SaferpayJson/Response/PaymentPage/AssertResponse.php
+++ b/lib/SaferpayJson/Response/PaymentPage/AssertResponse.php
@@ -5,7 +5,6 @@
namespace Ticketpark\SaferpayJson\Response\PaymentPage;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
use Ticketpark\SaferpayJson\Response\Container\Dcc;
use Ticketpark\SaferpayJson\Response\Container\FraudPrevention;
use Ticketpark\SaferpayJson\Response\Container\Liability;
@@ -19,61 +18,44 @@
final class AssertResponse extends Response
{
/**
- * @var Transaction|null
* @SerializedName("Transaction")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Transaction")
*/
- private $transaction;
+ private ?Transaction $transaction = null;
/**
- * @var PaymentMeans|null
* @SerializedName("PaymentMeans")
- * @Type("Ticketpark\SaferpayJson\Response\Container\PaymentMeans")
*/
- private $paymentMeans;
+ private ?PaymentMeans $paymentMeans = null;
/**
- * @var Payer|null
* @SerializedName("Payer")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Payer")
*/
- private $payer;
+ private ?Payer $payer = null;
/**
- * @var RegistrationResult|null
* @SerializedName("RegistrationResult")
- * @Type("Ticketpark\SaferpayJson\Response\Container\RegistrationResult")
*/
- private $registrationResult;
+ private ?RegistrationResult $registrationResult = null;
/**
- * @var Liability|null
* @SerializedName("Liability")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Liability")
*/
- private $liability;
+ private ?Liability $liability = null;
/**
- * @var Dcc|null
* @SerializedName("Dcc")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Dcc")
*/
- private $dcc;
+ private ?Dcc $dcc = null;
/**
- * @var MastercardIssuerInstallments|null
* @SerializedName("MastercardIssuerInstallments")
- * @Type("Ticketpark\SaferpayJson\Response\Container\MastercardIssuerInstallments")
*/
- private $mastercardIssuerInstallments;
-
+ private ?MastercardIssuerInstallments $mastercardIssuerInstallments = null;
/**
- * @var FraudPrevention|null
* @SerializedName("FraudPrevention")
- * @Type("Ticketpark\SaferpayJson\Response\Container\FraudPrevention")
*/
- private $fraudPrevention;
+ private ?FraudPrevention $fraudPrevention = null;
public function getTransaction(): ?Transaction
{
diff --git a/lib/SaferpayJson/Response/PaymentPage/InitializeResponse.php b/lib/SaferpayJson/Response/PaymentPage/InitializeResponse.php
index 5e81d62..128d5f8 100644
--- a/lib/SaferpayJson/Response/PaymentPage/InitializeResponse.php
+++ b/lib/SaferpayJson/Response/PaymentPage/InitializeResponse.php
@@ -11,25 +11,20 @@
final class InitializeResponse extends Response
{
/**
- * @var string|null
* @SerializedName("Token")
- * @Type("string")
*/
- private $token;
+ private ?string $token = null;
/**
- * @var \DateTime|null
* @SerializedName("Expiration")
* @Type("DateTime<'Y-m-d\TH:i:s.uT'>")
*/
- private $expiration;
+ private ?\DateTime $expiration = null;
/**
- * @var string|null
* @SerializedName("RedirectUrl")
- * @Type("string")
*/
- private $redirectUrl;
+ private ?string $redirectUrl = null;
public function getToken(): ?string
{
diff --git a/lib/SaferpayJson/Response/Response.php b/lib/SaferpayJson/Response/Response.php
index c03ab92..dcb54ea 100644
--- a/lib/SaferpayJson/Response/Response.php
+++ b/lib/SaferpayJson/Response/Response.php
@@ -5,27 +5,17 @@
namespace Ticketpark\SaferpayJson\Response;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
use Ticketpark\SaferpayJson\Response\Container\ResponseHeader;
abstract class Response
{
/**
- * @var ResponseHeader
* @SerializedName("ResponseHeader")
- * @Type("Ticketpark\SaferpayJson\Response\Container\ResponseHeader")
*/
- protected $responseHeader;
+ protected ?ResponseHeader $responseHeader = null;
- public function getResponseHeader(): ResponseHeader
+ public function getResponseHeader(): ?ResponseHeader
{
return $this->responseHeader;
}
-
- public function setResponseHeader(ResponseHeader $responseHeader): self
- {
- $this->responseHeader = $responseHeader;
-
- return $this;
- }
}
diff --git a/lib/SaferpayJson/Response/SecureCardData/AliasAssertInsertResponse.php b/lib/SaferpayJson/Response/SecureCardData/AliasAssertInsertResponse.php
index 2ca6e80..034cc18 100755
--- a/lib/SaferpayJson/Response/SecureCardData/AliasAssertInsertResponse.php
+++ b/lib/SaferpayJson/Response/SecureCardData/AliasAssertInsertResponse.php
@@ -5,7 +5,6 @@
namespace Ticketpark\SaferpayJson\Response\SecureCardData;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
use Ticketpark\SaferpayJson\Response\Container\Alias;
use Ticketpark\SaferpayJson\Response\Container\CheckResult;
use Ticketpark\SaferpayJson\Response\Container\PaymentMeans;
@@ -14,25 +13,19 @@
final class AliasAssertInsertResponse extends Response
{
/**
- * @var Alias|null
* @SerializedName("Alias")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Alias")
*/
- private $alias;
+ private ?Alias $alias = null;
/**
- * @var PaymentMeans|null
* @SerializedName("PaymentMeans")
- * @Type("Ticketpark\SaferpayJson\Response\Container\PaymentMeans")
*/
- private $paymentMeans;
+ private ?PaymentMeans $paymentMeans = null;
/**
- * @var CheckResult|null
* @SerializedName("CheckResult")
- * @Type("Ticketpark\SaferpayJson\Response\Container\CheckResult")
*/
- private $checkResult;
+ private ?CheckResult $checkResult = null;
public function getAlias(): ?Alias
{
diff --git a/lib/SaferpayJson/Response/SecureCardData/AliasInsertDirectResponse.php b/lib/SaferpayJson/Response/SecureCardData/AliasInsertDirectResponse.php
index 726d259..efe6845 100755
--- a/lib/SaferpayJson/Response/SecureCardData/AliasInsertDirectResponse.php
+++ b/lib/SaferpayJson/Response/SecureCardData/AliasInsertDirectResponse.php
@@ -5,7 +5,6 @@
namespace Ticketpark\SaferpayJson\Response\SecureCardData;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
use Ticketpark\SaferpayJson\Response\Container\Alias;
use Ticketpark\SaferpayJson\Response\Container\CheckResult;
use Ticketpark\SaferpayJson\Response\Container\PaymentMeans;
@@ -14,25 +13,19 @@
final class AliasInsertDirectResponse extends Response
{
/**
- * @var Alias|null
* @SerializedName("Alias")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Alias")
*/
- private $alias;
+ private ?Alias $alias = null;
/**
- * @var PaymentMeans|null
* @SerializedName("PaymentMeans")
- * @Type("Ticketpark\SaferpayJson\Response\Container\PaymentMeans")
*/
- private $paymentMeans;
+ private ?PaymentMeans $paymentMeans = null;
/**
- * @var CheckResult|null
* @SerializedName("CheckResult")
- * @Type("Ticketpark\SaferpayJson\Response\Container\CheckResult")
*/
- private $checkResult;
+ private ?CheckResult $checkResult = null;
public function getAlias(): ?Alias
{
diff --git a/lib/SaferpayJson/Response/SecureCardData/AliasInsertResponse.php b/lib/SaferpayJson/Response/SecureCardData/AliasInsertResponse.php
index 3cad1c0..4c28266 100755
--- a/lib/SaferpayJson/Response/SecureCardData/AliasInsertResponse.php
+++ b/lib/SaferpayJson/Response/SecureCardData/AliasInsertResponse.php
@@ -12,32 +12,25 @@
final class AliasInsertResponse extends Response
{
/**
- * @var string|null
* @SerializedName("Token")
- * @Type("string")
*/
- private $token;
+ private ?string $token = null;
/**
- * @var \DateTime|null
* @SerializedName("Expiration")
* @Type("DateTime<'Y-m-d\TH:i:s.uT'>")
*/
- private $expiration;
+ private ?\DateTime $expiration = null;
/**
- * @var bool|null
* @SerializedName("RedirectRequired")
- * @Type("bool")
*/
- private $redirectRequired;
+ private ?bool $redirectRequired = null;
/**
- * @var Redirect|null
* @SerializedName("Redirect")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Redirect")
*/
- private $redirect;
+ private ?Redirect $redirect = null;
public function getToken(): ?string
{
diff --git a/lib/SaferpayJson/Response/SecureCardData/AliasUpdateResponse.php b/lib/SaferpayJson/Response/SecureCardData/AliasUpdateResponse.php
index ce793be..e0e287f 100755
--- a/lib/SaferpayJson/Response/SecureCardData/AliasUpdateResponse.php
+++ b/lib/SaferpayJson/Response/SecureCardData/AliasUpdateResponse.php
@@ -5,7 +5,6 @@
namespace Ticketpark\SaferpayJson\Response\SecureCardData;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
use Ticketpark\SaferpayJson\Response\Container\Alias;
use Ticketpark\SaferpayJson\Response\Container\PaymentMeans;
use Ticketpark\SaferpayJson\Response\Response;
@@ -13,18 +12,14 @@
final class AliasUpdateResponse extends Response
{
/**
- * @var Alias|null
* @SerializedName("Alias")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Alias")
*/
- private $alias;
+ private ?Alias $alias = null;
/**
- * @var PaymentMeans|null
* @SerializedName("PaymentMeans")
- * @Type("Ticketpark\SaferpayJson\Response\Container\PaymentMeans")
*/
- private $paymentMeans;
+ private ?PaymentMeans $paymentMeans = null;
public function getAlias(): ?Alias
{
diff --git a/lib/SaferpayJson/Response/Transaction/AuthorizeDirectResponse.php b/lib/SaferpayJson/Response/Transaction/AuthorizeDirectResponse.php
index 20cda73..9dcf1e0 100644
--- a/lib/SaferpayJson/Response/Transaction/AuthorizeDirectResponse.php
+++ b/lib/SaferpayJson/Response/Transaction/AuthorizeDirectResponse.php
@@ -5,7 +5,6 @@
namespace Ticketpark\SaferpayJson\Response\Transaction;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
use Ticketpark\SaferpayJson\Response\Container\FraudPrevention;
use Ticketpark\SaferpayJson\Response\Container\Liability;
use Ticketpark\SaferpayJson\Response\Container\Payer;
@@ -17,46 +16,34 @@
final class AuthorizeDirectResponse extends Response
{
/**
- * @var Transaction|null
* @SerializedName("Transaction")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Transaction")
*/
- private $transaction;
+ private ?Transaction $transaction = null;
/**
- * @var PaymentMeans|null
* @SerializedName("PaymentMeans")
- * @Type("Ticketpark\SaferpayJson\Response\Container\PaymentMeans")
*/
- private $paymentMeans;
+ private ?PaymentMeans $paymentMeans = null;
/**
- * @var RegisterAlias|null
* @SerializedName("RegisterAlias")
- * @Type("Ticketpark\SaferpayJson\Response\Container\RegisterAlias")
*/
- private $registerAlias;
+ private ?RegisterAlias $registerAlias = null;
/**
- * @var Payer|null
* @SerializedName("Payer")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Payer")
*/
- private $payer;
+ private ?Payer $payer = null;
/**
- * @var FraudPrevention|null
* @SerializedName("FraudPrevention")
- * @Type("Ticketpark\SaferpayJson\Response\Container\FraudPrevention")
*/
- private $fraudPrevention;
+ private ?FraudPrevention $fraudPrevention = null;
/**
- * @var Liability|null
* @SerializedName("Liability")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Liability")
*/
- private $liability;
+ private ?Liability $liability = null;
public function getTransaction(): ?Transaction
{
diff --git a/lib/SaferpayJson/Response/Transaction/AuthorizeReferencedResponse.php b/lib/SaferpayJson/Response/Transaction/AuthorizeReferencedResponse.php
index a3c8154..a7ad5e3 100644
--- a/lib/SaferpayJson/Response/Transaction/AuthorizeReferencedResponse.php
+++ b/lib/SaferpayJson/Response/Transaction/AuthorizeReferencedResponse.php
@@ -5,7 +5,6 @@
namespace Ticketpark\SaferpayJson\Response\Transaction;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
use Ticketpark\SaferpayJson\Response\Container\Dcc;
use Ticketpark\SaferpayJson\Response\Container\Payer;
use Ticketpark\SaferpayJson\Response\Container\PaymentMeans;
@@ -15,32 +14,24 @@
final class AuthorizeReferencedResponse extends Response
{
/**
- * @var Transaction|null
* @SerializedName("Transaction")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Transaction")
*/
- private $transaction;
+ private ?Transaction $transaction = null;
/**
- * @var PaymentMeans|null
* @SerializedName("PaymentMeans")
- * @Type("Ticketpark\SaferpayJson\Response\Container\PaymentMeans")
*/
- private $paymentMeans;
+ private ?PaymentMeans $paymentMeans = null;
/**
- * @var Payer|null
* @SerializedName("Payer")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Payer")
*/
- private $payer;
+ private ?Payer $payer = null;
/**
- * @var Dcc|null
* @SerializedName("Dcc")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Dcc")
*/
- private $dcc;
+ private ?Dcc $dcc = null;
public function getTransaction(): ?Transaction
{
diff --git a/lib/SaferpayJson/Response/Transaction/AuthorizeResponse.php b/lib/SaferpayJson/Response/Transaction/AuthorizeResponse.php
index 788f38f..0a76ec1 100644
--- a/lib/SaferpayJson/Response/Transaction/AuthorizeResponse.php
+++ b/lib/SaferpayJson/Response/Transaction/AuthorizeResponse.php
@@ -5,7 +5,6 @@
namespace Ticketpark\SaferpayJson\Response\Transaction;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
use Ticketpark\SaferpayJson\Response\Container\Dcc;
use Ticketpark\SaferpayJson\Response\Container\FraudPrevention;
use Ticketpark\SaferpayJson\Response\Container\Liability;
@@ -19,60 +18,44 @@
final class AuthorizeResponse extends Response
{
/**
- * @var Transaction|null
* @SerializedName("Transaction")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Transaction")
*/
- private $transaction;
+ private ?Transaction $transaction = null;
/**
- * @var PaymentMeans|null
* @SerializedName("PaymentMeans")
- * @Type("Ticketpark\SaferpayJson\Response\Container\PaymentMeans")
*/
- private $paymentMeans;
+ private ?PaymentMeans $paymentMeans = null;
/**
- * @var Payer|null
* @SerializedName("Payer")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Payer")
*/
- private $payer;
+ private ?Payer $payer = null;
/**
- * @var RegistrationResult|null
* @SerializedName("RegistrationResult")
- * @Type("Ticketpark\SaferpayJson\Response\Container\RegistrationResult")
*/
- private $registrationResult;
+ private ?RegistrationResult $registrationResult = null;
/**
- * @var MastercardIssuerInstallments|null
* @SerializedName("MastercardIssuerInstallments")
- * @Type("Ticketpark\SaferpayJson\Response\Container\MastercardIssuerInstallments")
*/
- private $mastercardIssuerInstallments;
+ private ?MastercardIssuerInstallments $mastercardIssuerInstallments = null;
/**
- * @var FraudPrevention|null
* @SerializedName("FraudPrevention")
- * @Type("Ticketpark\SaferpayJson\Response\Container\FraudPrevention")
*/
- private $fraudPrevention;
+ private ?FraudPrevention $fraudPrevention = null;
/**
- * @var Liability|null
* @SerializedName("Liability")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Liability")
*/
- private $liability;
+ private ?Liability $liability = null;
/**
- * @var Dcc|null
* @SerializedName("Dcc")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Dcc")
*/
- private $dcc;
+ private ?Dcc $dcc = null;
public function getTransaction(): ?Transaction
{
diff --git a/lib/SaferpayJson/Response/Transaction/CancelResponse.php b/lib/SaferpayJson/Response/Transaction/CancelResponse.php
index 986a822..81ca28f 100644
--- a/lib/SaferpayJson/Response/Transaction/CancelResponse.php
+++ b/lib/SaferpayJson/Response/Transaction/CancelResponse.php
@@ -11,25 +11,20 @@
final class CancelResponse extends Response
{
/**
- * @var string|null
* @SerializedName("TransactionId")
- * @Type("string")
*/
- private $transactionId;
+ private ?string $transactionId = null;
/**
- * @var string|null
* @SerializedName("OrderId")
- * @Type("string")
*/
- private $orderId;
+ private ?string $orderId = null;
/**
- * @var string|null
* @SerializedName("Date")
- * @Type("string")
+ * @Type("DateTime<'Y-m-d\TH:i:s.uT'>")
*/
- private $date;
+ private ?\DateTime $date = null;
public function getTransactionId(): ?string
{
@@ -41,7 +36,7 @@ public function getOrderId(): ?string
return $this->orderId;
}
- public function getDate(): ?string
+ public function getDate(): ?\DateTime
{
return $this->date;
}
diff --git a/lib/SaferpayJson/Response/Transaction/CaptureResponse.php b/lib/SaferpayJson/Response/Transaction/CaptureResponse.php
index d1ba7c8..7fdea76 100644
--- a/lib/SaferpayJson/Response/Transaction/CaptureResponse.php
+++ b/lib/SaferpayJson/Response/Transaction/CaptureResponse.php
@@ -15,39 +15,30 @@ final class CaptureResponse extends Response
public const STATUS_CAPTURED = 'CAPTURED';
/**
- * @var string|null
* @SerializedName("TransactionId")
- * @Type("string")
*/
- private $transactionId;
+ private ?string $transactionId = null;
/**
- * @var string|null
* @SerializedName("CaptureId")
- * @Type("string")
*/
- private $captureId;
+ private ?string $captureId = null;
/**
- * @var string|null
* @SerializedName("Status")
- * @Type("string")
*/
- private $status;
+ private ?string $status = null;
/**
- * @var string|null
* @SerializedName("Date")
- * @Type("string")
+ * @Type("DateTime<'Y-m-d\TH:i:s.uT'>")
*/
- private $date;
+ private ?\DateTime $date = null;
/**
- * @var Invoice|null
* @SerializedName("Invoice")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Invoice")
*/
- private $invoice;
+ private ?Invoice $invoice = null;
public function getTransactionId(): ?string
{
@@ -64,7 +55,7 @@ public function getStatus(): ?string
return $this->status;
}
- public function getDate(): ?string
+ public function getDate(): ?\DateTime
{
return $this->date;
}
diff --git a/lib/SaferpayJson/Response/Transaction/InitializeResponse.php b/lib/SaferpayJson/Response/Transaction/InitializeResponse.php
index 85b480a..9f076a5 100644
--- a/lib/SaferpayJson/Response/Transaction/InitializeResponse.php
+++ b/lib/SaferpayJson/Response/Transaction/InitializeResponse.php
@@ -12,39 +12,30 @@
final class InitializeResponse extends Response
{
/**
- * @var string|null
* @SerializedName("Token")
- * @Type("string")
*/
- private $token;
+ private ?string $token = null;
/**
- * @var \DateTime|null
* @SerializedName("Expiration")
* @Type("DateTime<'Y-m-d\TH:i:s.uT'>")
*/
- private $expiration;
+ private ?\DateTime $expiration = null;
/**
- * @var bool|null
* @SerializedName("LiabilityShift")
- * @Type("bool")
*/
- private $liabilityShift;
+ private ?bool $liabilityShift = null;
/**
- * @var bool|null
* @SerializedName("RedirectRequired")
- * @Type("bool")
*/
- private $redirectRequired;
+ private ?bool $redirectRequired = null;
/**
- * @var Redirect|null
* @SerializedName("Redirect")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Redirect")
*/
- private $redirect;
+ private ?Redirect $redirect = null;
public function getToken(): ?string
{
diff --git a/lib/SaferpayJson/Response/Transaction/InquireResponse.php b/lib/SaferpayJson/Response/Transaction/InquireResponse.php
new file mode 100644
index 0000000..a4670bd
--- /dev/null
+++ b/lib/SaferpayJson/Response/Transaction/InquireResponse.php
@@ -0,0 +1,66 @@
+transaction;
+ }
+
+ public function getPaymentMeans(): ?PaymentMeans
+ {
+ return $this->paymentMeans;
+ }
+
+ public function getPayer(): ?Payer
+ {
+ return $this->payer;
+ }
+
+ public function getLiability(): ?Liability
+ {
+ return $this->liability;
+ }
+
+ public function getDcc(): ?Dcc
+ {
+ return $this->dcc;
+ }
+}
diff --git a/lib/SaferpayJson/Response/Transaction/RefundResponse.php b/lib/SaferpayJson/Response/Transaction/RefundResponse.php
index ef10128..0e60f92 100644
--- a/lib/SaferpayJson/Response/Transaction/RefundResponse.php
+++ b/lib/SaferpayJson/Response/Transaction/RefundResponse.php
@@ -5,7 +5,6 @@
namespace Ticketpark\SaferpayJson\Response\Transaction;
use JMS\Serializer\Annotation\SerializedName;
-use JMS\Serializer\Annotation\Type;
use Ticketpark\SaferpayJson\Response\Container\Dcc;
use Ticketpark\SaferpayJson\Response\Container\PaymentMeans;
use Ticketpark\SaferpayJson\Response\Container\Transaction;
@@ -14,25 +13,19 @@
final class RefundResponse extends Response
{
/**
- * @var Transaction|null
* @SerializedName("Transaction")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Transaction")
*/
- private $transaction;
+ private ?Transaction $transaction = null;
/**
- * @var PaymentMeans|null
* @SerializedName("PaymentMeans")
- * @Type("Ticketpark\SaferpayJson\Response\Container\PaymentMeans")
*/
- private $paymentMeans;
+ private ?PaymentMeans $paymentMeans = null;
/**
- * @var Dcc|null
* @SerializedName("Dcc")
- * @Type("Ticketpark\SaferpayJson\Response\Container\Dcc")
*/
- private $dcc;
+ private ?Dcc $dcc = null;
public function getTransaction(): ?Transaction
{
diff --git a/rector.php b/rector.php
new file mode 100644
index 0000000..96668a9
--- /dev/null
+++ b/rector.php
@@ -0,0 +1,20 @@
+withPaths([
+ __DIR__ . '/lib',
+ __DIR__ . '/tests',
+ ])
+ // uncomment to reach your current PHP version
+ // ->withPhpSets()
+ ->withImportNames(importShortClasses: false, removeUnusedImports: true)
+ ->withRules([
+ AddVoidReturnTypeWhereNoReturnRector::class,
+ TypedPropertyFromAssignsRector::class
+ ]);
diff --git a/tests/SaferpayJson/Tests/Request/CommonRequestTest.php b/tests/SaferpayJson/Tests/Request/CommonRequestTest.php
index dac4734..1937577 100644
--- a/tests/SaferpayJson/Tests/Request/CommonRequestTest.php
+++ b/tests/SaferpayJson/Tests/Request/CommonRequestTest.php
@@ -16,11 +16,9 @@
abstract class CommonRequestTest extends TestCase
{
- /** @var bool */
- private $successful;
+ private ?bool $successful = null;
- /** @var ?string */
- private $successfulResponseClass;
+ private ?string $successfulResponseClass = null;
abstract protected function getInstance();
diff --git a/tests/SaferpayJson/Tests/Request/Transaction/InquireRequestTest.php b/tests/SaferpayJson/Tests/Request/Transaction/InquireRequestTest.php
new file mode 100644
index 0000000..4bb8632
--- /dev/null
+++ b/tests/SaferpayJson/Tests/Request/Transaction/InquireRequestTest.php
@@ -0,0 +1,26 @@
+getRequestConfig(),
+ new TransactionReference()
+ );
+ }
+}