diff --git a/.gitignore b/.gitignore index 3d0b430..a5d51fa 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ -.php_cs.cache +/composer.lock +/vendor/ +/.php_cs.cache +/.phpunit.result.cache diff --git a/.php_cs b/.php_cs index 4e1177a..ab7a214 100644 --- a/.php_cs +++ b/.php_cs @@ -12,7 +12,7 @@ $headerPhpDoc = "This file is part of the WoW-Apps/Symfony-Slack-Bot bundle for . "\n" . "Author Alexey Samara \n" . "\n" - . "Copyright 2016 WoW-Apps."; + . "Copyright 2016 - " . date("Y") . " WoW-Apps."; return PhpCsFixer\Config::create() ->setRules([ @@ -49,11 +49,11 @@ return PhpCsFixer\Config::create() 'no_spaces_around_offset' => ['positions' => ['inside', 'outside']], ]) ->setFinder(PhpCsFixer\Finder::create() - ->exclude('vendor') - ->exclude('var') + ->exclude('.github') + ->exclude('config') ->exclude('public') - ->exclude('docker') - ->exclude('bin') - ->exclude('.githooks') - ->in(__DIR__ . '/../../../') - ); + ->exclude('var') + ->exclude('vendor') + ->in(__DIR__) + ) +; diff --git a/.scrutinizer.yml b/.scrutinizer.yml index a3ed97b..6e0f61a 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -1,5 +1,5 @@ filter: - excluded_paths: [Tests/*] + excluded_paths: [tests/*] checks: php: @@ -24,7 +24,7 @@ build: php: 7.1.12 dependencies: before: - - composer require phpunit/phpunit:^7.1 --dev + - composer require phpunit/phpunit:^7.5 --dev tests: override: - diff --git a/.travis.yml b/.travis.yml index 3a72741..a648353 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,19 +17,19 @@ matrix: fast_finish: true include: - php: 7.1 - env: SYMFONY_VERSION="3.0.*" + env: SYMFONY_VERSION="4.0.*" - php: 7.1 - env: SYMFONY_VERSION="3.1.*" + env: SYMFONY_VERSION="4.1.*" - php: 7.1 - env: SYMFONY_VERSION="3.2.*" + env: SYMFONY_VERSION="4.2.*" - php: 7.1 - env: SYMFONY_VERSION="3.3.*" + env: SYMFONY_VERSION="4.3.*" - php: 7.1 - env: SYMFONY_VERSION="3.4.*" + env: SYMFONY_VERSION="4.4.*" - php: 7.1 - env: SYMFONY_VERSION="4.0.*" + env: SYMFONY_VERSION="5.0.*" - php: 7.1 - env: SYMFONY_VERSION="4.1.*" + env: SYMFONY_VERSION="5.1.*" before_install: - if [ "$DEPENDENCIES" = "beta" ]; then composer config minimum-stability beta; fi; diff --git a/LICENSE b/LICENSE index c5b1c59..640ee3d 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2016 Alexey Samara +Copyright (c) 2016 - 2020 Alexey Samara Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index e999ad6..a89c722 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,7 @@ [![Scrutinizer Build](https://img.shields.io/scrutinizer/build/g/wow-apps/symfony-slack-bot.svg?style=popout&label=Scrutinizer%20build)](https://scrutinizer-ci.com/g/wow-apps/symfony-slack-bot/?branch=master) [![ContinuousPHP Build](https://img.shields.io/continuousphp/git-hub/wow-apps/symfony-slack-bot/master.svg?style=popout&label=ContinuousPHP%20build)](https://app.continuousphp.com/git-hub/wow-apps/symfony-slack-bot) -[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/wow-apps/symfony-slack-bot.svg?style=popout&label=Code%20coverage)](https://scrutinizer-ci.com/g/wow-apps/symfony-slack-bot/?branch=master) - -> Version 5 is coming this November. It will require PHP 7.1 and support Symfony 4 and 5 (Symfony 3 users can stay on version 4 of bundle) +[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/wow-apps/symfony-slack-bot.svg?style=popout&label=Code%20coverage)](https://scrutinizer-ci.com/g/wow-apps/symfony-slack-bot/?branch=master) # Symfony Slack Bot diff --git a/composer.json b/composer.json index 40b6df8..394ce87 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "wow-apps/symfony-slack-bot", "license": "MIT", - "description": "Simple Symfony 3 and 4 Bundle for sending customizeable messages to Slack via incoming webhooks", + "description": "Symfony (3, 4, 5) Bundle for sending customizeable messages to Slack via incoming webhooks", "type": "symfony-bundle", "keywords": [ "slack", @@ -9,7 +9,8 @@ "slackbot", "symfony", "symfony 3", - "symfony 4" + "symfony 4", + "symfony 5" ], "homepage": "https://wow-apps.github.io/symfony-slack-bot/", "authors": [ @@ -26,13 +27,16 @@ "source": "https://github.com/wow-apps/symfony-slack-bot" }, "require": { - "php": "^7.0", + "php": "^7.1", "ext-json": "*", + "ext-ctype": "*", + "ext-iconv": "*", "psr/log": "^1.1", - "symfony/framework-bundle": "^3.0 || ^4.0", - "symfony/http-foundation": "^3.0 || ^4.0", - "symfony/yaml": "^3.0 || ^4.0", - "guzzlehttp/guzzle": "^6.0" + "symfony/framework-bundle": "^4.1.12 || ^5.0", + "symfony/console": "^4.0 || ^5.0", + "symfony/http-foundation": "^4.2.12 || ^5.0", + "symfony/yaml": "^4.0 || ^5.0", + "guzzlehttp/guzzle": "^6.5" }, "require-dev": { "phpunit/phpunit": "^7.5", @@ -43,11 +47,15 @@ }, "autoload": { "psr-4": { - "WowApps\\SlackBundle\\": "", - "WowApps\\SlackBundle\\Tests\\": "tests/" + "WowApps\\SlackBundle\\": "src/" }, "exclude-from-classmap": [ - "/Tests/" + "tests/" ] + }, + "autoload-dev": { + "psr-4": { + "WowApps\\SlackBundle\\Tests\\": "tests/" + } } } diff --git a/phpunit.xml b/phpunit.xml index 10eaf55..9be707e 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -4,7 +4,7 @@ xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd" backupGlobals="false" colors="true" - bootstrap="../../../vendor/autoload.php" + bootstrap="./vendor/autoload.php" failOnRisky="true" failOnWarning="true" > @@ -15,15 +15,15 @@ - ./Tests/ + ./tests/ - ./ + ./src/ - ./Tests + ./tests diff --git a/Command/WowappsSlackbotTestCommand.php b/src/Command/WowappsSlackbotTestCommand.php similarity index 99% rename from Command/WowappsSlackbotTestCommand.php rename to src/Command/WowappsSlackbotTestCommand.php index c8959b4..66ba18a 100644 --- a/Command/WowappsSlackbotTestCommand.php +++ b/src/Command/WowappsSlackbotTestCommand.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Command; diff --git a/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php similarity index 98% rename from DependencyInjection/Configuration.php rename to src/DependencyInjection/Configuration.php index 9791124..5400eac 100644 --- a/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\DependencyInjection; diff --git a/DependencyInjection/WowAppsSlackExtension.php b/src/DependencyInjection/WowAppsSlackExtension.php similarity index 97% rename from DependencyInjection/WowAppsSlackExtension.php rename to src/DependencyInjection/WowAppsSlackExtension.php index ffe32c0..355cfb3 100644 --- a/DependencyInjection/WowAppsSlackExtension.php +++ b/src/DependencyInjection/WowAppsSlackExtension.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\DependencyInjection; diff --git a/Entity/Attachment.php b/src/Entity/Attachment.php similarity index 99% rename from Entity/Attachment.php rename to src/Entity/Attachment.php index 9e5d87e..1da61d9 100644 --- a/Entity/Attachment.php +++ b/src/Entity/Attachment.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Entity; @@ -108,8 +108,8 @@ public function __construct( string $footerIconUrl = '', string $fallback = '', int $timestamp = 0, - array $fields = [], - array $actions = [] + array $fields = [], + array $actions = [] ) { $this->color = $color; $this->pretext = $pretext; diff --git a/Entity/AttachmentAction.php b/src/Entity/AttachmentAction.php similarity index 99% rename from Entity/AttachmentAction.php rename to src/Entity/AttachmentAction.php index f7bb37f..e8e3ce5 100644 --- a/Entity/AttachmentAction.php +++ b/src/Entity/AttachmentAction.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Entity; diff --git a/Entity/AttachmentActionConfirm.php b/src/Entity/AttachmentActionConfirm.php similarity index 98% rename from Entity/AttachmentActionConfirm.php rename to src/Entity/AttachmentActionConfirm.php index d8b7f16..39f1ffa 100644 --- a/Entity/AttachmentActionConfirm.php +++ b/src/Entity/AttachmentActionConfirm.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Entity; @@ -53,7 +53,7 @@ class AttachmentActionConfirm * @param string $buttonDismissText */ public function __construct( - bool $active = false, + bool $active = false, string $title = '', string $text = '', string $buttonOkText = self::BUTTON_DEFAULT_TEXT_OK, diff --git a/Entity/AttachmentField.php b/src/Entity/AttachmentField.php similarity index 98% rename from Entity/AttachmentField.php rename to src/Entity/AttachmentField.php index 4fe6ca7..3a39b27 100644 --- a/Entity/AttachmentField.php +++ b/src/Entity/AttachmentField.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Entity; diff --git a/Entity/SlackMessage.php b/src/Entity/SlackMessage.php similarity index 97% rename from Entity/SlackMessage.php rename to src/Entity/SlackMessage.php index 24c0d71..aa469a5 100644 --- a/Entity/SlackMessage.php +++ b/src/Entity/SlackMessage.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Entity; @@ -28,6 +28,7 @@ class SlackMessage /** * @deprecated + * * @var string */ private $channel; @@ -64,8 +65,8 @@ public function __construct( string $channel = '', string $iconUrl = '', string $iconEmoji = '', - bool $markdown = true, - array $attachments = [] + bool $markdown = true, + array $attachments = [] ) { $this->text = $text; $this->username = $username; @@ -102,7 +103,9 @@ public function setUsername(string $username): SlackMessage /** * Returns the name of channel where the message will be sent. + * * @deprecated + * * @return string */ public function getChannel(): string @@ -112,7 +115,9 @@ public function getChannel(): string /** * Set the name of channel where the message will be sent. + * * @deprecated + * * @param string $channel * * @return SlackMessage diff --git a/Entity/Workspace.php b/src/Entity/Workspace.php similarity index 97% rename from Entity/Workspace.php rename to src/Entity/Workspace.php index 8e53420..5e9606a 100644 --- a/Entity/Workspace.php +++ b/src/Entity/Workspace.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Entity; diff --git a/Exception/SlackbotException.php b/src/Exception/SlackbotException.php similarity index 99% rename from Exception/SlackbotException.php rename to src/Exception/SlackbotException.php index 2f7485a..fab0bfb 100644 --- a/Exception/SlackbotException.php +++ b/src/Exception/SlackbotException.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Exception; diff --git a/Resources/config/services.yaml b/src/Resources/config/services.yaml similarity index 100% rename from Resources/config/services.yaml rename to src/Resources/config/services.yaml diff --git a/Service/SlackBot.php b/src/Service/SlackBot.php similarity index 98% rename from Service/SlackBot.php rename to src/Service/SlackBot.php index 289dda4..3e12878 100644 --- a/Service/SlackBot.php +++ b/src/Service/SlackBot.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Service; diff --git a/Service/SlackColor.php b/src/Service/SlackColor.php similarity index 98% rename from Service/SlackColor.php rename to src/Service/SlackColor.php index d3de367..9d2cf87 100644 --- a/Service/SlackColor.php +++ b/src/Service/SlackColor.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Service; diff --git a/Service/SlackEmoji.php b/src/Service/SlackEmoji.php similarity index 99% rename from Service/SlackEmoji.php rename to src/Service/SlackEmoji.php index aacfce3..2d4b1c5 100644 --- a/Service/SlackEmoji.php +++ b/src/Service/SlackEmoji.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Service; diff --git a/Service/SlackMarkdown.php b/src/Service/SlackMarkdown.php similarity index 99% rename from Service/SlackMarkdown.php rename to src/Service/SlackMarkdown.php index 44df261..94dc3d2 100644 --- a/Service/SlackMarkdown.php +++ b/src/Service/SlackMarkdown.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Service; diff --git a/Service/SlackMessageBuilder.php b/src/Service/SlackMessageBuilder.php similarity index 99% rename from Service/SlackMessageBuilder.php rename to src/Service/SlackMessageBuilder.php index e7caeda..8ca25f3 100644 --- a/Service/SlackMessageBuilder.php +++ b/src/Service/SlackMessageBuilder.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Service; diff --git a/Service/SlackMessageValidator.php b/src/Service/SlackMessageValidator.php similarity index 99% rename from Service/SlackMessageValidator.php rename to src/Service/SlackMessageValidator.php index b58565f..9d426c5 100644 --- a/Service/SlackMessageValidator.php +++ b/src/Service/SlackMessageValidator.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Service; diff --git a/Service/SlackProvider.php b/src/Service/SlackProvider.php similarity index 97% rename from Service/SlackProvider.php rename to src/Service/SlackProvider.php index e409996..0683cb7 100644 --- a/Service/SlackProvider.php +++ b/src/Service/SlackProvider.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Service; @@ -82,7 +82,9 @@ public function send(string $postBody): bool /** * @deprecated + * * @param array $postBody + * * @return string */ private function getApiUrl(array $postBody) diff --git a/Service/SlackTemplatingManager.php b/src/Service/SlackTemplatingManager.php similarity index 98% rename from Service/SlackTemplatingManager.php rename to src/Service/SlackTemplatingManager.php index 6c2f7ba..054fd7f 100644 --- a/Service/SlackTemplatingManager.php +++ b/src/Service/SlackTemplatingManager.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Service; diff --git a/Templating/SlackTemplateInterface.php b/src/Templating/SlackTemplateInterface.php similarity index 95% rename from Templating/SlackTemplateInterface.php rename to src/Templating/SlackTemplateInterface.php index d7f635e..2e7f53d 100644 --- a/Templating/SlackTemplateInterface.php +++ b/src/Templating/SlackTemplateInterface.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Templating; diff --git a/Templating/Template/SlackException.php b/src/Templating/Template/SlackException.php similarity index 99% rename from Templating/Template/SlackException.php rename to src/Templating/Template/SlackException.php index 6895adf..beff44d 100644 --- a/Templating/Template/SlackException.php +++ b/src/Templating/Template/SlackException.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Templating\Template; diff --git a/WowAppsSlackBundle.php b/src/WowAppsSlackBundle.php similarity index 88% rename from WowAppsSlackBundle.php rename to src/WowAppsSlackBundle.php index 8afb3e7..fbc6b39 100644 --- a/WowAppsSlackBundle.php +++ b/src/WowAppsSlackBundle.php @@ -13,16 +13,13 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; -/** - * @author Alexey Samara - */ class WowAppsSlackBundle extends Bundle { const CURRENT_VERSION = '5.0.0'; diff --git a/Tests/Command/WowappsSlackbotTestCommandTest.php b/tests/Command/WowappsSlackbotTestCommandTest.php similarity index 98% rename from Tests/Command/WowappsSlackbotTestCommandTest.php rename to tests/Command/WowappsSlackbotTestCommandTest.php index 77c8cf8..6ddc6f9 100644 --- a/Tests/Command/WowappsSlackbotTestCommandTest.php +++ b/tests/Command/WowappsSlackbotTestCommandTest.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Tests\Command; diff --git a/Tests/DependencyInjection/ConfigurationTest.php b/tests/DependencyInjection/ConfigurationTest.php similarity index 98% rename from Tests/DependencyInjection/ConfigurationTest.php rename to tests/DependencyInjection/ConfigurationTest.php index 741f27b..b2e426b 100644 --- a/Tests/DependencyInjection/ConfigurationTest.php +++ b/tests/DependencyInjection/ConfigurationTest.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Tests\DependencyInjection; diff --git a/Tests/DependencyInjection/WowAppsSlackExtensionTest.php b/tests/DependencyInjection/WowAppsSlackExtensionTest.php similarity index 92% rename from Tests/DependencyInjection/WowAppsSlackExtensionTest.php rename to tests/DependencyInjection/WowAppsSlackExtensionTest.php index 98ce730..4ec7536 100644 --- a/Tests/DependencyInjection/WowAppsSlackExtensionTest.php +++ b/tests/DependencyInjection/WowAppsSlackExtensionTest.php @@ -13,10 +13,10 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ -namespace WowApps\SlackBundle\Tests\DependencyInjection; +namespace WowApps\SlackBundle\tests\DependencyInjection; use Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractExtensionTestCase; use WowApps\SlackBundle\DependencyInjection\WowAppsSlackExtension; diff --git a/Tests/Entity/AttachmentActionConfirmTest.php b/tests/Entity/AttachmentActionConfirmTest.php similarity index 99% rename from Tests/Entity/AttachmentActionConfirmTest.php rename to tests/Entity/AttachmentActionConfirmTest.php index 71d18ed..ffea377 100644 --- a/Tests/Entity/AttachmentActionConfirmTest.php +++ b/tests/Entity/AttachmentActionConfirmTest.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Tests\Entity; diff --git a/Tests/Entity/AttachmentActionTest.php b/tests/Entity/AttachmentActionTest.php similarity index 99% rename from Tests/Entity/AttachmentActionTest.php rename to tests/Entity/AttachmentActionTest.php index 4a2d503..7a91984 100644 --- a/Tests/Entity/AttachmentActionTest.php +++ b/tests/Entity/AttachmentActionTest.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Tests\Entity; diff --git a/Tests/Entity/AttachmentFieldTest.php b/tests/Entity/AttachmentFieldTest.php similarity index 99% rename from Tests/Entity/AttachmentFieldTest.php rename to tests/Entity/AttachmentFieldTest.php index dea429c..96b708a 100644 --- a/Tests/Entity/AttachmentFieldTest.php +++ b/tests/Entity/AttachmentFieldTest.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Tests\Entity; diff --git a/Tests/Entity/AttachmentTest.php b/tests/Entity/AttachmentTest.php similarity index 99% rename from Tests/Entity/AttachmentTest.php rename to tests/Entity/AttachmentTest.php index f42935b..fef2193 100644 --- a/Tests/Entity/AttachmentTest.php +++ b/tests/Entity/AttachmentTest.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Tests\Entity; diff --git a/Tests/Entity/SlackMessageTest.php b/tests/Entity/SlackMessageTest.php similarity index 99% rename from Tests/Entity/SlackMessageTest.php rename to tests/Entity/SlackMessageTest.php index bbb758d..7beea3f 100644 --- a/Tests/Entity/SlackMessageTest.php +++ b/tests/Entity/SlackMessageTest.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Tests\Entity; diff --git a/Tests/Exception/SlackbotExceptionTest.php b/tests/Exception/SlackbotExceptionTest.php similarity index 96% rename from Tests/Exception/SlackbotExceptionTest.php rename to tests/Exception/SlackbotExceptionTest.php index 1d70cea..21996ab 100644 --- a/Tests/Exception/SlackbotExceptionTest.php +++ b/tests/Exception/SlackbotExceptionTest.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Tests\Exception; diff --git a/Tests/Fixtures/config.yaml b/tests/Fixtures/config.yaml similarity index 100% rename from Tests/Fixtures/config.yaml rename to tests/Fixtures/config.yaml diff --git a/Tests/Service/SlackColorTest.php b/tests/Service/SlackColorTest.php similarity index 97% rename from Tests/Service/SlackColorTest.php rename to tests/Service/SlackColorTest.php index 157186b..84f216e 100644 --- a/Tests/Service/SlackColorTest.php +++ b/tests/Service/SlackColorTest.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Tests\Service; diff --git a/Tests/Service/SlackEmojiTest.php b/tests/Service/SlackEmojiTest.php similarity index 98% rename from Tests/Service/SlackEmojiTest.php rename to tests/Service/SlackEmojiTest.php index 249a5d3..6991b62 100644 --- a/Tests/Service/SlackEmojiTest.php +++ b/tests/Service/SlackEmojiTest.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Tests\Service; diff --git a/Tests/Service/SlackMarkdownTest.php b/tests/Service/SlackMarkdownTest.php similarity index 99% rename from Tests/Service/SlackMarkdownTest.php rename to tests/Service/SlackMarkdownTest.php index 90fee4e..720ea74 100644 --- a/Tests/Service/SlackMarkdownTest.php +++ b/tests/Service/SlackMarkdownTest.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Tests\Service; diff --git a/Tests/Service/SlackMessageValidatorTest.php b/tests/Service/SlackMessageValidatorTest.php similarity index 99% rename from Tests/Service/SlackMessageValidatorTest.php rename to tests/Service/SlackMessageValidatorTest.php index 4121099..1108786 100644 --- a/Tests/Service/SlackMessageValidatorTest.php +++ b/tests/Service/SlackMessageValidatorTest.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Tests\Service; diff --git a/Tests/TestCase.php b/tests/TestCase.php similarity index 99% rename from Tests/TestCase.php rename to tests/TestCase.php index ea496aa..733285f 100644 --- a/Tests/TestCase.php +++ b/tests/TestCase.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Tests; diff --git a/Tests/WowAppsSlackBundleTest.php b/tests/WowAppsSlackBundleTest.php similarity index 98% rename from Tests/WowAppsSlackBundleTest.php rename to tests/WowAppsSlackBundleTest.php index 0ba5806..22f1b35 100644 --- a/Tests/WowAppsSlackBundleTest.php +++ b/tests/WowAppsSlackBundleTest.php @@ -13,7 +13,7 @@ * * Author Alexey Samara * - * Copyright 2016 WoW-Apps. + * Copyright 2016 - 2020 WoW-Apps. */ namespace WowApps\SlackBundle\Tests;