the browser-facing portion of osu!
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

code cleanup (unused)

-184
-71
app/Console/Commands/ModdingQueueUpdateCommand.php
··· 1 - <?php 2 - 3 - // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0. 4 - // See the LICENCE file in the repository root for full licence text. 5 - 6 - namespace App\Console\Commands; 7 - 8 - use Illuminate\Console\Command; 9 - use Symfony\Component\Console\Input\InputArgument; 10 - use Symfony\Component\Console\Input\InputOption; 11 - 12 - class ModdingQueueUpdateCommand extends Command 13 - { 14 - /** 15 - * The console command name. 16 - * 17 - * @var string 18 - */ 19 - protected $signature = 'modding:queue-update'; 20 - 21 - /** 22 - * The console command description. 23 - * 24 - * @var string 25 - */ 26 - protected $description = 'Process the global modding queue.'; 27 - 28 - /** 29 - * Create a new command instance. 30 - * 31 - * @return void 32 - */ 33 - public function __construct() 34 - { 35 - parent::__construct(); 36 - } 37 - 38 - /** 39 - * Execute the console command. 40 - * 41 - * @return mixed 42 - */ 43 - public function handle() 44 - { 45 - // 46 - } 47 - 48 - /** 49 - * Get the console command arguments. 50 - * 51 - * @return array 52 - */ 53 - protected function getArguments() 54 - { 55 - return [ 56 - ['example', InputArgument::REQUIRED, 'An example argument.'], 57 - ]; 58 - } 59 - 60 - /** 61 - * Get the console command options. 62 - * 63 - * @return array 64 - */ 65 - protected function getOptions() 66 - { 67 - return [ 68 - ['example', null, InputOption::VALUE_OPTIONAL, 'An example option.', null], 69 - ]; 70 - } 71 - }
-71
app/Console/Commands/ModdingScoreIndexCommand.php
··· 1 - <?php 2 - 3 - // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0. 4 - // See the LICENCE file in the repository root for full licence text. 5 - 6 - namespace App\Console\Commands; 7 - 8 - use Illuminate\Console\Command; 9 - use Symfony\Component\Console\Input\InputArgument; 10 - use Symfony\Component\Console\Input\InputOption; 11 - 12 - class ModdingScoreIndexCommand extends Command 13 - { 14 - /** 15 - * The console command name. 16 - * 17 - * @var string 18 - */ 19 - protected $signature = 'modding:index'; 20 - 21 - /** 22 - * The console command description. 23 - * 24 - * @var string 25 - */ 26 - protected $description = "Process users' modding points and award (or remove) new privileges"; 27 - 28 - /** 29 - * Create a new command instance. 30 - * 31 - * @return void 32 - */ 33 - public function __construct() 34 - { 35 - parent::__construct(); 36 - } 37 - 38 - /** 39 - * Execute the console command. 40 - * 41 - * @return mixed 42 - */ 43 - public function handle() 44 - { 45 - // 46 - } 47 - 48 - /** 49 - * Get the console command arguments. 50 - * 51 - * @return array 52 - */ 53 - protected function getArguments() 54 - { 55 - return [ 56 - ['example', InputArgument::REQUIRED, 'An example argument.'], 57 - ]; 58 - } 59 - 60 - /** 61 - * Get the console command options. 62 - * 63 - * @return array 64 - */ 65 - protected function getOptions() 66 - { 67 - return [ 68 - ['example', null, InputOption::VALUE_OPTIONAL, 'An example option.', null], 69 - ]; 70 - } 71 - }
-2
app/Console/Kernel.php
··· 23 23 Commands\EsIndexWiki::class, 24 24 25 25 // modding stuff 26 - Commands\ModdingQueueUpdateCommand::class, 27 26 Commands\ModdingRankCommand::class, 28 - Commands\ModdingScoreIndexCommand::class, 29 27 30 28 Commands\UserForumStatSyncCommand::class, 31 29 Commands\BeatmapsetsHypeSyncCommand::class,
-1
app/Http/Controllers/API/BeatmapsController.php
··· 6 6 namespace App\Http\Controllers\API; 7 7 8 8 use App\Models\Beatmap; 9 - use Request; 10 9 11 10 class BeatmapsController extends Controller 12 11 {
-1
app/Http/Controllers/Chat/ChatController.php
··· 6 6 namespace App\Http\Controllers\Chat; 7 7 8 8 use App\Libraries\Chat; 9 - use App\Models\Chat\Channel; 10 9 use App\Models\Chat\Message; 11 10 use App\Models\Chat\UserChannel; 12 11 use App\Models\User;
-2
app/Http/Controllers/ClientVerificationsController.php
··· 6 6 namespace App\Http\Controllers; 7 7 8 8 use App\Models\UserClient; 9 - use Auth; 10 - use Request; 11 9 12 10 class ClientVerificationsController extends Controller 13 11 {
-1
app/Http/Controllers/Passport/AuthorizationController.php
··· 6 6 namespace App\Http\Controllers\Passport; 7 7 8 8 use Illuminate\Http\Request; 9 - use Laravel\Passport\Bridge\Scope; 10 9 use Laravel\Passport\ClientRepository; 11 10 use Laravel\Passport\Http\Controllers\AuthorizationController as PassportAuthorizationController; 12 11 use Laravel\Passport\TokenRepository;
-1
app/Http/Controllers/SessionsController.php
··· 10 10 use App\Models\User; 11 11 use Auth; 12 12 use NoCaptcha; 13 - use Request; 14 13 15 14 class SessionsController extends Controller 16 15 {
-1
app/Http/Controllers/Store/CartController.php
··· 6 6 namespace App\Http\Controllers\Store; 7 7 8 8 use App\Libraries\OrderCheckout; 9 - use Request; 10 9 11 10 class CartController extends Controller 12 11 {
-1
app/Http/Controllers/Store/CheckoutController.php
··· 12 12 use Auth; 13 13 use DB; 14 14 use Exception; 15 - use Request; 16 15 17 16 class CheckoutController extends Controller 18 17 {
-1
app/Libraries/OrderCheckout.php
··· 8 8 use App\Exceptions\InvariantException; 9 9 use App\Libraries\Payments\InvalidOrderStateException; 10 10 use App\Models\Store\Order; 11 - use App\Models\User; 12 11 use DB; 13 12 use Request; 14 13
-1
app/Libraries/Payments/PaymentProcessor.php
··· 12 12 use App\Models\Store\Order; 13 13 use App\Models\Store\Payment; 14 14 use App\Traits\Validatable; 15 - use Carbon\Carbon; 16 15 use DB; 17 16 use Exception; 18 17
-1
app/Libraries/RouteSection.php
··· 135 135 ]; 136 136 137 137 private $default; 138 - private $override; 139 138 140 139 public function getCurrent($key = null) 141 140 {
-14
app/Providers/EventServiceProvider.php
··· 23 23 Listeners\Fulfillments\PaymentSubscribers::class, 24 24 Listeners\Fulfillments\ValidationSubscribers::class, 25 25 ]; 26 - 27 - /** 28 - * Register any other events for your application. 29 - * 30 - * @param \Illuminate\Contracts\Events\Dispatcher $events 31 - * 32 - * @return void 33 - */ 34 - public function boot() 35 - { 36 - parent::boot(); 37 - 38 - // 39 - } 40 26 }
-14
app/Providers/RouteServiceProvider.php
··· 20 20 protected $namespace = 'App\Http\Controllers'; 21 21 22 22 /** 23 - * Define your route model bindings, pattern filters, etc. 24 - * 25 - * @param \Illuminate\Routing\Router $router 26 - * 27 - * @return void 28 - */ 29 - public function boot() 30 - { 31 - // 32 - 33 - parent::boot(); 34 - } 35 - 36 - /** 37 23 * Define the routes for the application. 38 24 * 39 25 * @param \Illuminate\Routing\Router $router
-1
tests/Controllers/Chat/Channels/MessagesControllerTest.php
··· 6 6 namespace Tests\Controllers\Chat\Channels; 7 7 8 8 use App\Models\Chat; 9 - use App\Models\Chat\Message; 10 9 use App\Models\Chat\UserChannel; 11 10 use App\Models\User; 12 11 use App\Models\UserRelation;