diff --git a/Makefile b/Makefile index b98adca..d05b7ed 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,10 @@ php-cs-fixer: changelog: git log $$(git describe --abbrev=0 --tags)...HEAD --no-merges --pretty=format:"* [%h](http://github.com/${TRAVIS_REPO_SLUG}/commit/%H) %s (%cN)" +.PHONY: license +license: + vendor/bin/docheader check --no-interaction --ansi -vvv {src,test} + # Based on https://suva.sh/posts/well-documented-makefiles/ help: ## Display this help @awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m\033[0m\n\nTargets:\n"} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-20s\033[0m %s\n", $$1, $$2 }' $(MAKEFILE_LIST) diff --git a/src/DBALEventStore.php b/src/DBALEventStore.php index d30e54b..2f2083a 100644 --- a/src/DBALEventStore.php +++ b/src/DBALEventStore.php @@ -1,9 +1,9 @@ + * (c) 2020 Broadway project * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/DBALEventStoreException.php b/src/DBALEventStoreException.php index 2e65da6..1d2c2a3 100644 --- a/src/DBALEventStoreException.php +++ b/src/DBALEventStoreException.php @@ -3,9 +3,9 @@ declare(strict_types=1); /* - * This file is part of the broadway/broadway package. + * This file is part of the broadway/event-store-dbal package. * - * (c) Qandidate.com + * (c) 2020 Broadway project * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/test/BinaryDBALEventStoreTest.php b/test/BinaryDBALEventStoreTest.php index 56695a0..5436cc2 100644 --- a/test/BinaryDBALEventStoreTest.php +++ b/test/BinaryDBALEventStoreTest.php @@ -3,9 +3,9 @@ declare(strict_types=1); /* - * This file is part of the broadway/broadway package. + * This file is part of the broadway/event-store-dbal package. * - * (c) Qandidate.com + * (c) 2020 Broadway project * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/test/DBALEventStoreTest.php b/test/DBALEventStoreTest.php index 1dbf17d..5be0dab 100644 --- a/test/DBALEventStoreTest.php +++ b/test/DBALEventStoreTest.php @@ -3,9 +3,9 @@ declare(strict_types=1); /* - * This file is part of the broadway/broadway package. + * This file is part of the broadway/event-store-dbal package. * - * (c) Qandidate.com + * (c) 2020 Broadway project * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/test/Management/BinaryDBALEventStoreManagementTest.php b/test/Management/BinaryDBALEventStoreManagementTest.php index 2c067ed..abc398a 100644 --- a/test/Management/BinaryDBALEventStoreManagementTest.php +++ b/test/Management/BinaryDBALEventStoreManagementTest.php @@ -3,9 +3,9 @@ declare(strict_types=1); /* - * This file is part of the broadway/broadway package. + * This file is part of the broadway/event-store-dbal package. * - * (c) Qandidate.com + * (c) 2020 Broadway project * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/test/Management/DBALEventStoreManagementTest.php b/test/Management/DBALEventStoreManagementTest.php index 489da10..61ff844 100644 --- a/test/Management/DBALEventStoreManagementTest.php +++ b/test/Management/DBALEventStoreManagementTest.php @@ -3,9 +3,9 @@ declare(strict_types=1); /* - * This file is part of the broadway/broadway package. + * This file is part of the broadway/event-store-dbal package. * - * (c) Qandidate.com + * (c) 2020 Broadway project * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code.