Skip to content

Commit

Permalink
Remove announcement code
Browse files Browse the repository at this point in the history
  • Loading branch information
SenseException committed Oct 18, 2021
1 parent 9f8bb13 commit b714188
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 466 deletions.
1 change: 0 additions & 1 deletion composer.json
Expand Up @@ -12,7 +12,6 @@
],
"require": {
"php": "^7.2",
"abraham/twitteroauth": "^1.0",
"algolia/algoliasearch-client-php": "^1.27",
"cache/doctrine-adapter": "^1.0",
"doctrine/inflector": "^1.4",
Expand Down
56 changes: 1 addition & 55 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions config/config.yml
Expand Up @@ -2,11 +2,6 @@ parameters:
doctrine.website.algolia.app_id: 'YVYTFT9XMW'
doctrine.website.stripe.publishable_key: 'pk_test_V7rmF8ac3GbakeSJYvp4u0a8003RPO66vC'

doctrine.website.twitter.consumer_key: ''
doctrine.website.twitter.consumer_secret: ''
doctrine.website.twitter.oauth_token: ''
doctrine.website.twitter.oauth_token_secret: ''

doctrine.website.webpack_build_dir: '%doctrine.website.root_dir%/.webpack-build'
doctrine.website.projects_dir: '%doctrine.website.root_dir%/projects'
doctrine.website.docs_dir: '%doctrine.website.cache_dir%/docs'
Expand Down
7 changes: 0 additions & 7 deletions config/services.xml
Expand Up @@ -550,12 +550,5 @@
<argument>%doctrine.website.root_dir%/lib/Migrations</argument>
</call>
</service>

<service id="Abraham\TwitterOAuth\TwitterOAuth">
<argument>%doctrine.website.twitter.consumer_key%</argument>
<argument>%doctrine.website.twitter.consumer_secret%</argument>
<argument>%doctrine.website.twitter.oauth_token%</argument>
<argument>%doctrine.website.twitter.oauth_token_secret%</argument>
</service>
</services>
</container>
5 changes: 1 addition & 4 deletions lib/Application.php
Expand Up @@ -13,7 +13,6 @@
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\Tools\Console\Command as ORMCommand;
use Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper;
use Doctrine\Website\Commands\AnnounceReleaseCommand;
use Doctrine\Website\Commands\BuildAllCommand;
use Doctrine\Website\Commands\BuildDocsCommand;
use Doctrine\Website\Commands\BuildWebsiteCommand;
Expand Down Expand Up @@ -57,8 +56,7 @@ public function __construct(
BuildWebsiteDataCommand $buildWebsiteDataCommand,
ClearBuildCacheCommand $clearBuildCacheCommand,
SyncRepositoriesCommand $syncRepositoriesCommand,
EventParticipantsCommand $eventParticipantsCommand,
AnnounceReleaseCommand $announceReleaseCommand
EventParticipantsCommand $eventParticipantsCommand
) {
$this->application = $application;

Expand All @@ -69,7 +67,6 @@ public function __construct(
$this->application->add($clearBuildCacheCommand);
$this->application->add($syncRepositoriesCommand);
$this->application->add($eventParticipantsCommand);
$this->application->add($announceReleaseCommand);

$this->application->setHelperSet(new HelperSet([
'question' => new QuestionHelper(),
Expand Down
72 changes: 0 additions & 72 deletions lib/Commands/AnnounceReleaseCommand.php

This file was deleted.

54 changes: 0 additions & 54 deletions lib/Release/AnnounceRelease.php

This file was deleted.

10 changes: 0 additions & 10 deletions lib/Twitter/CreateTweet.php

This file was deleted.

46 changes: 0 additions & 46 deletions lib/Twitter/TweetRelease.php

This file was deleted.

35 changes: 0 additions & 35 deletions lib/Twitter/TwitterOAuthCreateTweet.php

This file was deleted.

0 comments on commit b714188

Please sign in to comment.