Skip to content

Commit a9d0ea1

Browse files
prolicbasz
andauthored
update copyright (#85)
* update copyright * minor test improvements (#86) * wrong (empty) directive * static data provider * fix test warn * bumped php & phpunit * migrated phpunit conf * ignore phpunit cache dir * migrate to attributes * refactor around deprecated getMockForAbstractClass * cs --------- Co-authored-by: Bas Kamer <[email protected]>
1 parent 8f0a007 commit a9d0ea1

39 files changed

+163
-241
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@
88
nbproject
99
composer.lock
1010
.phpunit.result.cache
11+
.phpunit.cache
1112
.phpcs-cache

LICENSE

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Copyright (c) 2014-2020, Alexander Miertsch
2-
Copyright (c) 2015-2020, Sascha-Oliver Prolic
1+
Copyright (c) 2014-2025, Alexander Miertsch
2+
Copyright (c) 2015-2025, Sascha-Oliver Prolic
33
All rights reserved.
44

55
Redistribution and use in source and binary forms, with or without

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
"minimum-stability": "dev",
2222
"prefer-stable": true,
2323
"require": {
24-
"php": "^7.4 || ^8.0",
24+
"php": "^8.2",
2525
"ramsey/uuid": "4.1.2 || ^4.3",
2626
"beberlei/assert": "^2.7.1 || ^3.0"
2727
},
2828
"require-dev": {
2929
"php-coveralls/php-coveralls": "^2.2",
30-
"phpunit/phpunit": "^9.5.5",
30+
"phpunit/phpunit": "^11.0",
3131
"prooph/bookdown-template": "^0.2.3",
3232
"prooph/php-cs-fixer-config": "^0.5"
3333
},

phpunit.xml.dist

+9-10
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" bootstrap="vendor/autoload.php" convertDeprecationsToExceptions="true" colors="true">
3-
<coverage processUncoveredFiles="true">
4-
<include>
5-
<directory suffix=".php">./src</directory>
6-
</include>
7-
</coverage>
8-
9-
<testsuite name="Prooph Common Test Suite">
10-
<directory>./tests/</directory>
11-
</testsuite>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.0/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true" cacheDirectory=".phpunit.cache">
3+
<testsuite name="Prooph Common Test Suite">
4+
<directory>./tests/</directory>
5+
</testsuite>
6+
<source>
7+
<include>
8+
<directory suffix=".php">./src</directory>
9+
</include>
10+
</source>
1211
</phpunit>

src/Event/ActionEvent.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/common.
5-
* (c) 2014-2022 Alexander Miertsch <[email protected]>
6-
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2014-2025 Alexander Miertsch <[email protected]>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/Event/ActionEventEmitter.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/common.
5-
* (c) 2014-2022 Alexander Miertsch <[email protected]>
6-
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2014-2025 Alexander Miertsch <[email protected]>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/Event/ActionEventListenerAggregate.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/common.
5-
* (c) 2014-2022 Alexander Miertsch <[email protected]>
6-
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2014-2025 Alexander Miertsch <[email protected]>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/Event/DefaultActionEvent.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/common.
5-
* (c) 2014-2022 Alexander Miertsch <[email protected]>
6-
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2014-2025 Alexander Miertsch <[email protected]>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/Event/DefaultListenerHandler.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/common.
5-
* (c) 2014-2022 Alexander Miertsch <[email protected]>
6-
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2014-2025 Alexander Miertsch <[email protected]>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/Event/DetachAggregateHandlers.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/common.
5-
* (c) 2014-2022 Alexander Miertsch <[email protected]>
6-
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2014-2025 Alexander Miertsch <[email protected]>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/Event/ListenerHandler.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/common.
5-
* (c) 2014-2022 Alexander Miertsch <[email protected]>
6-
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2014-2025 Alexander Miertsch <[email protected]>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/Event/ProophActionEventEmitter.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/common.
5-
* (c) 2014-2022 Alexander Miertsch <[email protected]>
6-
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2014-2025 Alexander Miertsch <[email protected]>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/Messaging/Command.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/common.
5-
* (c) 2014-2022 Alexander Miertsch <[email protected]>
6-
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2014-2025 Alexander Miertsch <[email protected]>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/Messaging/DomainEvent.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/common.
5-
* (c) 2014-2022 Alexander Miertsch <[email protected]>
6-
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2014-2025 Alexander Miertsch <[email protected]>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/Messaging/DomainMessage.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/common.
5-
* (c) 2014-2022 Alexander Miertsch <[email protected]>
6-
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2014-2025 Alexander Miertsch <[email protected]>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/Messaging/FQCNMessageFactory.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/common.
5-
* (c) 2014-2022 Alexander Miertsch <[email protected]>
6-
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2014-2025 Alexander Miertsch <[email protected]>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/Messaging/HasMessageName.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/common.
5-
* (c) 2014-2022 Alexander Miertsch <[email protected]>
6-
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2014-2025 Alexander Miertsch <[email protected]>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/Messaging/Message.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/common.
5-
* (c) 2014-2022 Alexander Miertsch <[email protected]>
6-
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2014-2025 Alexander Miertsch <[email protected]>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/Messaging/MessageConverter.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/common.
5-
* (c) 2014-2022 Alexander Miertsch <[email protected]>
6-
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2014-2025 Alexander Miertsch <[email protected]>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/Messaging/MessageDataAssertion.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/common.
5-
* (c) 2014-2022 Alexander Miertsch <[email protected]>
6-
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2014-2025 Alexander Miertsch <[email protected]>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/Messaging/MessageFactory.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/common.
5-
* (c) 2014-2022 Alexander Miertsch <[email protected]>
6-
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2014-2025 Alexander Miertsch <[email protected]>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/Messaging/NoOpMessageConverter.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/common.
5-
* (c) 2014-2022 Alexander Miertsch <[email protected]>
6-
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2014-2025 Alexander Miertsch <[email protected]>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/Messaging/PayloadConstructable.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/common.
5-
* (c) 2014-2022 Alexander Miertsch <[email protected]>
6-
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2014-2025 Alexander Miertsch <[email protected]>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/Messaging/PayloadTrait.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/common.
5-
* (c) 2014-2022 Alexander Miertsch <[email protected]>
6-
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2014-2025 Alexander Miertsch <[email protected]>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

src/Messaging/Query.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* This file is part of prooph/common.
5-
* (c) 2014-2022 Alexander Miertsch <[email protected]>
6-
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
5+
* (c) 2014-2025 Alexander Miertsch <[email protected]>
6+
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
77
*
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.

0 commit comments

Comments
 (0)