diff --git a/.travis.yml b/.travis.yml index b109cd3..5dcbaf7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,12 +8,21 @@ matrix: - DEPENDENCIES="" - EXECUTE_CS_CHECK=true - TEST_COVERAGE=true - - php: 7.3 env: - DEPENDENCIES="" - EXECUTE_CS_CHECK=false - TEST_COVERAGE=false + - php: 7.4 + env: + - DEPENDENCIES="" + - EXECUTE_CS_CHECK=false + - TEST_COVERAGE=false + - php: 8.0 + env: + - DEPENDENCIES="" + - EXECUTE_CS_CHECK=false + - TEST_COVERAGE=false cache: directories: @@ -29,8 +38,8 @@ before_script: script: - if [[ $TEST_COVERAGE == 'true' ]]; then php -dzend_extension=xdebug.so ./vendor/bin/phpunit --coverage-text --coverage-clover ./build/logs/clover.xml; else ./vendor/bin/phpunit; fi -# - if [[ $EXECUTE_CS_CHECK == 'true' ]]; then ./vendor/bin/php-cs-fixer fix -v --diff --dry-run; fi -# - if [[ $EXECUTE_CS_CHECK == 'true' ]]; then ./vendor/bin/docheader check examples/ src/ tests/; fi + - if [[ $EXECUTE_CS_CHECK == 'true' ]]; then ./vendor/bin/php-cs-fixer fix -v --diff --dry-run; fi + - if [[ $EXECUTE_CS_CHECK == 'true' ]]; then ./vendor/bin/docheader check examples/ src/ tests/; fi after_success: - if [[ $TEST_COVERAGE == 'true' ]]; then php vendor/bin/coveralls -v; fi diff --git a/composer.json b/composer.json index 98caca3..8584034 100644 --- a/composer.json +++ b/composer.json @@ -16,16 +16,16 @@ } ], "require": { - "php": "^7.2", + "php": "^7.2 || ^8.0", "roave/security-advisories": "dev-master", "event-engine/php-schema": "^0.1", "event-engine/php-engine-utils": "^0.1", "ramsey/uuid" : "^3.6|^4.0" }, "require-dev": { - "phpunit/phpunit": "^7.0", - "prooph/php-cs-fixer-config": "^0.3", - "satooshi/php-coveralls": "^1.0", + "phpunit/phpunit": "^8.0 || ^9.0", + "prooph/php-cs-fixer-config": "^0.4", + "php-coveralls/php-coveralls": "^2.0", "malukenho/docheader": "^0.1.4" }, "autoload": { diff --git a/src/Command.php b/src/Command.php index 96fe5dc..e0859c3 100644 --- a/src/Command.php +++ b/src/Command.php @@ -1,7 +1,7 @@ + * (c) 2018-2021 prooph software GmbH * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/CommandDispatchResult.php b/src/CommandDispatchResult.php index 5ca4b45..d6bcf6d 100644 --- a/src/CommandDispatchResult.php +++ b/src/CommandDispatchResult.php @@ -1,7 +1,7 @@ + * (c) 2018-2021 prooph software GmbH * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/CommandDispatchResultCollection.php b/src/CommandDispatchResultCollection.php index e323e8f..2aa0e8f 100644 --- a/src/CommandDispatchResultCollection.php +++ b/src/CommandDispatchResultCollection.php @@ -1,7 +1,7 @@ + * (c) 2018-2021 prooph software GmbH * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Event.php b/src/Event.php index 18bdf6a..4d4911f 100644 --- a/src/Event.php +++ b/src/Event.php @@ -1,7 +1,7 @@ + * (c) 2018-2021 prooph software GmbH * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Exception/MessageNotFound.php b/src/Exception/MessageNotFound.php index e581a34..b382111 100644 --- a/src/Exception/MessageNotFound.php +++ b/src/Exception/MessageNotFound.php @@ -1,7 +1,7 @@ + * (c) 2018-2021 prooph software GmbH * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Exception/MessagingException.php b/src/Exception/MessagingException.php index ff71fd2..15b3640 100644 --- a/src/Exception/MessagingException.php +++ b/src/Exception/MessagingException.php @@ -1,7 +1,7 @@ + * (c) 2018-2021 prooph software GmbH * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Exception/RuntimeException.php b/src/Exception/RuntimeException.php index 5d8f0ea..fb843c1 100644 --- a/src/Exception/RuntimeException.php +++ b/src/Exception/RuntimeException.php @@ -1,7 +1,7 @@ + * (c) 2018-2021 prooph software GmbH * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/FlavouredMessageProducer.php b/src/FlavouredMessageProducer.php index dee68b4..938a925 100644 --- a/src/FlavouredMessageProducer.php +++ b/src/FlavouredMessageProducer.php @@ -1,7 +1,7 @@ + * (c) 2018-2021 prooph software GmbH * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/GenericCommand.php b/src/GenericCommand.php index 43b823c..51efe70 100644 --- a/src/GenericCommand.php +++ b/src/GenericCommand.php @@ -1,7 +1,7 @@ + * (c) 2018-2021 prooph software GmbH * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/GenericEvent.php b/src/GenericEvent.php index 4354621..4bf3d31 100644 --- a/src/GenericEvent.php +++ b/src/GenericEvent.php @@ -1,7 +1,7 @@ + * (c) 2018-2021 prooph software GmbH * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/GenericQuery.php b/src/GenericQuery.php index c7b32a9..fb233d8 100644 --- a/src/GenericQuery.php +++ b/src/GenericQuery.php @@ -1,7 +1,7 @@ + * (c) 2018-2021 prooph software GmbH * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/GenericSchemaMessage.php b/src/GenericSchemaMessage.php index 45b9601..faadd5a 100644 --- a/src/GenericSchemaMessage.php +++ b/src/GenericSchemaMessage.php @@ -1,7 +1,7 @@ + * (c) 2018-2021 prooph software GmbH * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/GenericSchemaMessageFactory.php b/src/GenericSchemaMessageFactory.php index 4f35dbb..24fd2ac 100644 --- a/src/GenericSchemaMessageFactory.php +++ b/src/GenericSchemaMessageFactory.php @@ -1,7 +1,7 @@ + * (c) 2018-2021 prooph software GmbH * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Message.php b/src/Message.php index 59d6d02..0daeef7 100644 --- a/src/Message.php +++ b/src/Message.php @@ -1,7 +1,7 @@ + * (c) 2018-2021 prooph software GmbH * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/MessageBag.php b/src/MessageBag.php index 5a38465..e683664 100644 --- a/src/MessageBag.php +++ b/src/MessageBag.php @@ -1,7 +1,7 @@ + * (c) 2018-2021 prooph software GmbH * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/MessageDispatcher.php b/src/MessageDispatcher.php index 788ef5a..c23ea65 100644 --- a/src/MessageDispatcher.php +++ b/src/MessageDispatcher.php @@ -1,7 +1,7 @@ + * (c) 2018-2021 prooph software GmbH * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/MessageFactory.php b/src/MessageFactory.php index 3d33325..df90da5 100644 --- a/src/MessageFactory.php +++ b/src/MessageFactory.php @@ -1,7 +1,7 @@ + * (c) 2018-2021 prooph software GmbH * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/MessageFactoryAware.php b/src/MessageFactoryAware.php index 58d7aa2..fcc3922 100644 --- a/src/MessageFactoryAware.php +++ b/src/MessageFactoryAware.php @@ -1,7 +1,7 @@ + * (c) 2018-2021 prooph software GmbH * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/MessageProducer.php b/src/MessageProducer.php index d849b24..41ddcbc 100644 --- a/src/MessageProducer.php +++ b/src/MessageProducer.php @@ -1,7 +1,7 @@ + * (c) 2018-2021 prooph software GmbH * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Query.php b/src/Query.php index b897568..dd727c9 100644 --- a/src/Query.php +++ b/src/Query.php @@ -1,7 +1,7 @@ + * (c) 2018-2021 prooph software GmbH * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/GenericSchemaMessageTest.php b/tests/GenericSchemaMessageTest.php index 3d5b3e7..fbb0237 100644 --- a/tests/GenericSchemaMessageTest.php +++ b/tests/GenericSchemaMessageTest.php @@ -1,7 +1,7 @@ + * (c) 2018-2021 prooph software GmbH * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code.