From 73a0abf8983a1967f8ad4467352b5e2d527010cd Mon Sep 17 00:00:00 2001 From: ro Date: Wed, 16 Apr 2025 15:04:32 -0600 Subject: [PATCH] php cs fixer config fix php formatting wasn't working due to some issues in the php cs fixer config file. fixed --- .php-cs-fixer.php | 7 +- resources/views/front/appeals.blade.php | 88 ++++++++++++------------- resources/views/front/exports.blade.php | 32 ++++----- 3 files changed, 61 insertions(+), 66 deletions(-) diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index cd8588c..be4d190 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -55,20 +55,15 @@ return $config ] ], 'no_multiline_whitespace_around_double_arrow' => true, - 'no_spaces_around_offset' => true, - 'no_unused_imports' => true, 'no_whitespace_before_comma_in_array' => true, 'no_whitespace_in_blank_line' => true, 'object_operator_without_whitespace' => true, - 'single_blank_line_before_namespace' => true, 'ternary_operator_spaces' => true, 'trim_array_spaces' => true, 'unary_operator_spaces' => true, 'whitespace_after_comma_in_array' => true, 'single_line_after_imports' => true, - 'ordered_imports' => [ - 'sort_algorithm' => 'none', - ], + //'single_blank_line_before_namespace' => true, php fixer doesn't like this rule? //Other rules here... ]) ->setLineEnding("\n"); diff --git a/resources/views/front/appeals.blade.php b/resources/views/front/appeals.blade.php index b8ea236..ad5bf50 100644 --- a/resources/views/front/appeals.blade.php +++ b/resources/views/front/appeals.blade.php @@ -1,62 +1,62 @@ @extends('frame') @section('title', 'The Bad Space|Appeals') - @section('main-content') - @parent -
-
-

Appeals

+ @section('main-content') + @parent +
+
+

Appeals

- Locations listed in The Bad Space have the right to appeal their inclusion if they feel they have been added unfairly. + Locations listed in The Bad Space have the right to appeal their inclusion if they feel they have been added unfairly. -

Starting the Appeals Process

+

Starting the Appeals Process

-

This process can be initiated by sending an Official Appeal to The Bad Space using the Appeal Form (found below) stating why they should not be included. All appeal requests must be sponsored by at least one Current Source, and their name(s) must be included in the submission.

+

This process can be initiated by sending an Official Appeal to The Bad Space using the Appeal Form (found below) stating why they should not be included. All appeal requests must be sponsored by at least one Current Source, and their name(s) must be included in the submission.

-

The Bad Space will validate the appeal request by contacting a moderator or administrator of the respective instance. If no moderator or administrator is detailed in the appeal request, it will be immediately disqualified.

+

The Bad Space will validate the appeal request by contacting a moderator or administrator of the respective instance. If no moderator or administrator is detailed in the appeal request, it will be immediately disqualified.

-

If the Appeal contains any threats, hate speech, microaggressions, taunts, or slurs, the Appeal will be automatically disqualified.

+

If the Appeal contains any threats, hate speech, microaggressions, taunts, or slurs, the Appeal will be automatically disqualified.

- An Appeal can only be made once every three (3) months. + An Appeal can only be made once every three (3) months. -

Process Description

+

Process Description

-

After an appeal request is validated, it will be reviewed by all Current Sources. Each Current Source will vote on whether to approve the requesting instance's appeal request.

+

After an appeal request is validated, it will be reviewed by all Current Sources. Each Current Source will vote on whether to approve the requesting instance's appeal request.

-

80% of Current Sources must vote in favor of the request to proceed to the next step. Appeals that do not meet this threshold will be rejected, and the administrator or moderator who petitioned for the appeal will be notified. -

+

80% of Current Sources must vote in favor of the request to proceed to the next step. Appeals that do not meet this threshold will be rejected, and the administrator or moderator who petitioned for the appeal will be notified. +

-

If an appeal is approved to proceed, a chat room will be created on the h.i. cloud community for the petitioner to be interviewed by Current Sources. Here, they will explain why they feel their instance should be removed from the database.

+

If an appeal is approved to proceed, a chat room will be created on the h.i. cloud community for the petitioner to be interviewed by Current Sources. Here, they will explain why they feel their instance should be removed from the database.

- The petitioner must include the following: -
    -
  • Verification of problematic content and members have been removed.
  • -
  • A public explanation of steps to recognize and remove problematic content and members.
  • -
  • A working plan to keep said location as free as possible from problematic members and content finding a home there.
  • -
+ The petitioner must include the following: +
    +
  • Verification of problematic content and members have been removed.
  • +
  • A public explanation of steps to recognize and remove problematic content and members.
  • +
  • A working plan to keep said location as free as possible from problematic members and content finding a home there.
  • +
-

The petitioner also must be available to answer any questions from a member of Current Sources concerning the information provided.

+

The petitioner also must be available to answer any questions from a member of Current Sources concerning the information provided.

-

Failure to provide any of this information or refusing to be interviewed by Current Sources will result in an automatic disqualification.

+

Failure to provide any of this information or refusing to be interviewed by Current Sources will result in an automatic disqualification.

-

Upon completing the interview process, each Current Source will choose to remove or maintain their current block or silence action. The result of each choice will be reflected in the database itself, which can be publicly reviewed at any time.

+

Upon completing the interview process, each Current Source will choose to remove or maintain their current block or silence action. The result of each choice will be reflected in the database itself, which can be publicly reviewed at any time.

-

Appeals Form

+

Appeals Form

-
- @csrf -
-
-
-
-
-
-
-
-
- -
- -
-
-
- @endsection \ No newline at end of file +
+ @csrf +
+
+
+
+
+
+
+
+
+ +
+ +
+
+
+ @endsection \ No newline at end of file diff --git a/resources/views/front/exports.blade.php b/resources/views/front/exports.blade.php index 6b3f5c5..775ffa5 100644 --- a/resources/views/front/exports.blade.php +++ b/resources/views/front/exports.blade.php @@ -1,23 +1,23 @@ @extends('frame') @section('title', 'The Bad Space|Exports') - @section('main-content') - @parent -
-
-

CSV Exports

- Heat Rating is the percentage of Current Sources that have taken action against an instance. The higher the number of Sources that have silenced and/or suspended an instance, the higher the Heat Rating.* -

For Mastodon

+ @section('main-content') + @parent +
+
+

CSV Exports

+ Heat Rating is the percentage of Current Sources that have taken action against an instance. The higher the number of Sources that have silenced and/or suspended an instance, the higher the Heat Rating.* +

For Mastodon

- @foreach($list as $item) + @foreach($list as $item) - Heat Rating: {{$item['heatRating']}}% - Location Count: {{$item['ratingCount']}}
+ Heat Rating: {{$item['heatRating']}}% - Location Count: {{$item['ratingCount']}}
- @endforeach -
- * Heating Ratings are still a work in progress so please review list before using. -

+ @endforeach +
+ * Heating Ratings are still a work in progress so please review list before using. +

-
-
- @endsection \ No newline at end of file +
+
+ @endsection \ No newline at end of file