Skip to content

Commit 6ec5c14

Browse files
authored
Merge pull request #4 from netiul/feature/php8
Allow PHP 8
2 parents 0f4c1be + c0b7f27 commit 6ec5c14

23 files changed

+37
-28
lines changed

.travis.yml

+12-3
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,21 @@ matrix:
88
- DEPENDENCIES=""
99
- EXECUTE_CS_CHECK=true
1010
- TEST_COVERAGE=true
11-
1211
- php: 7.3
1312
env:
1413
- DEPENDENCIES=""
1514
- EXECUTE_CS_CHECK=false
1615
- TEST_COVERAGE=false
16+
- php: 7.4
17+
env:
18+
- DEPENDENCIES=""
19+
- EXECUTE_CS_CHECK=false
20+
- TEST_COVERAGE=false
21+
- php: 8.0
22+
env:
23+
- DEPENDENCIES=""
24+
- EXECUTE_CS_CHECK=false
25+
- TEST_COVERAGE=false
1726

1827
cache:
1928
directories:
@@ -29,8 +38,8 @@ before_script:
2938

3039
script:
3140
- 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
32-
# - if [[ $EXECUTE_CS_CHECK == 'true' ]]; then ./vendor/bin/php-cs-fixer fix -v --diff --dry-run; fi
33-
# - if [[ $EXECUTE_CS_CHECK == 'true' ]]; then ./vendor/bin/docheader check examples/ src/ tests/; fi
41+
- if [[ $EXECUTE_CS_CHECK == 'true' ]]; then ./vendor/bin/php-cs-fixer fix -v --diff --dry-run; fi
42+
- if [[ $EXECUTE_CS_CHECK == 'true' ]]; then ./vendor/bin/docheader check examples/ src/ tests/; fi
3443

3544
after_success:
3645
- if [[ $TEST_COVERAGE == 'true' ]]; then php vendor/bin/coveralls -v; fi

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^7.2",
19+
"php": "^7.2 || ^8.0",
2020
"roave/security-advisories": "dev-master",
2121
"event-engine/php-schema": "^0.1",
2222
"event-engine/php-engine-utils": "^0.1",
2323
"ramsey/uuid" : "^3.6|^4.0"
2424
},
2525
"require-dev": {
26-
"phpunit/phpunit": "^7.0",
27-
"prooph/php-cs-fixer-config": "^0.3",
28-
"satooshi/php-coveralls": "^1.0",
26+
"phpunit/phpunit": "^8.0 || ^9.0",
27+
"prooph/php-cs-fixer-config": "^0.4",
28+
"php-coveralls/php-coveralls": "^2.0",
2929
"malukenho/docheader": "^0.1.4"
3030
},
3131
"autoload": {

src/Command.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of event-engine/php-messaging.
4-
* (c) 2018-2019 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

src/CommandDispatchResult.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of event-engine/php-messaging.
4-
* (c) 2018-2019 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

src/CommandDispatchResultCollection.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of event-engine/php-messaging.
4-
* (c) 2018-2019 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

src/Event.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of event-engine/php-messaging.
4-
* (c) 2018-2019 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

src/Exception/MessageNotFound.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of event-engine/php-messaging.
4-
* (c) 2018-2019 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

src/Exception/MessagingException.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of event-engine/php-messaging.
4-
* (c) 2018-2019 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

src/Exception/RuntimeException.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of event-engine/php-messaging.
4-
* (c) 2018-2019 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

src/FlavouredMessageProducer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of event-engine/php-messaging.
4-
* (c) 2018-2019 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

src/GenericCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of event-engine/php-messaging.
4-
* (c) 2018-2019 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

src/GenericEvent.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of event-engine/php-messaging.
4-
* (c) 2018-2019 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

src/GenericQuery.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of event-engine/php-messaging.
4-
* (c) 2018-2019 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

src/GenericSchemaMessage.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of even-engine/php-messaging.
4-
* (c) 2018-2019 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

src/GenericSchemaMessageFactory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of even-engine/php-messaging.
4-
* (c) 2018-2019 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

src/Message.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of even-engine/php-messaging.
4-
* (c) 2018-2019 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

src/MessageBag.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of even-engine/php-messaging.
4-
* (c) 2018-2019 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

src/MessageDispatcher.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of even-engine/php-messaging.
4-
* (c) 2018-2019 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

src/MessageFactory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of even-engine/php-messaging.
4-
* (c) 2018-2019 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

src/MessageFactoryAware.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of even-engine/php-messaging.
4-
* (c) 2018-2019 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

src/MessageProducer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of event-engine/php-messaging.
4-
* (c) 2018-2019 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

src/Query.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of event-engine/php-messaging.
4-
* (c) 2018-2019 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

tests/GenericSchemaMessageTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* This file is part of even-engine/php-messaging.
4-
* (c) 2018-2019 prooph software GmbH <contact@prooph.de>
4+
* (c) 2018-2021 prooph software GmbH <contact@prooph.de>
55
*
66
* For the full copyright and license information, please view the LICENSE
77
* file that was distributed with this source code.

0 commit comments

Comments
 (0)