Skip to content

Commit

Permalink
update copyright (#85)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
prolic and basz authored Feb 20, 2025
1 parent 8f0a007 commit a9d0ea1
Show file tree
Hide file tree
Showing 39 changed files with 163 additions and 241 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
nbproject
composer.lock
.phpunit.result.cache
.phpunit.cache
.phpcs-cache
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Copyright (c) 2014-2020, Alexander Miertsch
Copyright (c) 2015-2020, Sascha-Oliver Prolic
Copyright (c) 2014-2025, Alexander Miertsch
Copyright (c) 2015-2025, Sascha-Oliver Prolic
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.2",
"ramsey/uuid": "4.1.2 || ^4.3",
"beberlei/assert": "^2.7.1 || ^3.0"
},
"require-dev": {
"php-coveralls/php-coveralls": "^2.2",
"phpunit/phpunit": "^9.5.5",
"phpunit/phpunit": "^11.0",
"prooph/bookdown-template": "^0.2.3",
"prooph/php-cs-fixer-config": "^0.5"
},
Expand Down
19 changes: 9 additions & 10 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
</coverage>

<testsuite name="Prooph Common Test Suite">
<directory>./tests/</directory>
</testsuite>
<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">
<testsuite name="Prooph Common Test Suite">
<directory>./tests/</directory>
</testsuite>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
</phpunit>
4 changes: 2 additions & 2 deletions src/Event/ActionEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/common.
* (c) 2014-2022 Alexander Miertsch <[email protected]>
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
* (c) 2014-2025 Alexander Miertsch <[email protected]>
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/Event/ActionEventEmitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/common.
* (c) 2014-2022 Alexander Miertsch <[email protected]>
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
* (c) 2014-2025 Alexander Miertsch <[email protected]>
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/Event/ActionEventListenerAggregate.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/common.
* (c) 2014-2022 Alexander Miertsch <[email protected]>
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
* (c) 2014-2025 Alexander Miertsch <[email protected]>
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/Event/DefaultActionEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/common.
* (c) 2014-2022 Alexander Miertsch <[email protected]>
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
* (c) 2014-2025 Alexander Miertsch <[email protected]>
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/Event/DefaultListenerHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/common.
* (c) 2014-2022 Alexander Miertsch <[email protected]>
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
* (c) 2014-2025 Alexander Miertsch <[email protected]>
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/Event/DetachAggregateHandlers.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/common.
* (c) 2014-2022 Alexander Miertsch <[email protected]>
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
* (c) 2014-2025 Alexander Miertsch <[email protected]>
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/Event/ListenerHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/common.
* (c) 2014-2022 Alexander Miertsch <[email protected]>
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
* (c) 2014-2025 Alexander Miertsch <[email protected]>
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/Event/ProophActionEventEmitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/common.
* (c) 2014-2022 Alexander Miertsch <[email protected]>
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
* (c) 2014-2025 Alexander Miertsch <[email protected]>
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/Messaging/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/common.
* (c) 2014-2022 Alexander Miertsch <[email protected]>
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
* (c) 2014-2025 Alexander Miertsch <[email protected]>
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/Messaging/DomainEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/common.
* (c) 2014-2022 Alexander Miertsch <[email protected]>
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
* (c) 2014-2025 Alexander Miertsch <[email protected]>
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/Messaging/DomainMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/common.
* (c) 2014-2022 Alexander Miertsch <[email protected]>
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
* (c) 2014-2025 Alexander Miertsch <[email protected]>
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/Messaging/FQCNMessageFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/common.
* (c) 2014-2022 Alexander Miertsch <[email protected]>
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
* (c) 2014-2025 Alexander Miertsch <[email protected]>
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/Messaging/HasMessageName.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/common.
* (c) 2014-2022 Alexander Miertsch <[email protected]>
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
* (c) 2014-2025 Alexander Miertsch <[email protected]>
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/Messaging/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/common.
* (c) 2014-2022 Alexander Miertsch <[email protected]>
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
* (c) 2014-2025 Alexander Miertsch <[email protected]>
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/Messaging/MessageConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/common.
* (c) 2014-2022 Alexander Miertsch <[email protected]>
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
* (c) 2014-2025 Alexander Miertsch <[email protected]>
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/Messaging/MessageDataAssertion.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/common.
* (c) 2014-2022 Alexander Miertsch <[email protected]>
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
* (c) 2014-2025 Alexander Miertsch <[email protected]>
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/Messaging/MessageFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/common.
* (c) 2014-2022 Alexander Miertsch <[email protected]>
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
* (c) 2014-2025 Alexander Miertsch <[email protected]>
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/Messaging/NoOpMessageConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/common.
* (c) 2014-2022 Alexander Miertsch <[email protected]>
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
* (c) 2014-2025 Alexander Miertsch <[email protected]>
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/Messaging/PayloadConstructable.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/common.
* (c) 2014-2022 Alexander Miertsch <[email protected]>
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
* (c) 2014-2025 Alexander Miertsch <[email protected]>
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/Messaging/PayloadTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* This file is part of prooph/common.
* (c) 2014-2022 Alexander Miertsch <[email protected]>
* (c) 2015-2022 Sascha-Oliver Prolic <[email protected]>
* (c) 2014-2025 Alexander Miertsch <[email protected]>
* (c) 2015-2025 Sascha-Oliver Prolic <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
Expand Down
4 changes: 2 additions & 2 deletions src/Messaging/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

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

0 comments on commit a9d0ea1

Please sign in to comment.