1
0
mirror of https://koodu.h-i.works/projects/thebadspace synced 2025-05-06 14:41:02 -05:00

php cs fixer config fix

php formatting wasn't working due to some issues in the php cs fixer
config file. fixed
This commit is contained in:
ro 2025-04-16 15:04:32 -06:00
parent 0ec5db4881
commit 1f09850a6a
3 changed files with 61 additions and 66 deletions

View File

@ -55,20 +55,15 @@ return $config
] ]
], ],
'no_multiline_whitespace_around_double_arrow' => true, '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_before_comma_in_array' => true,
'no_whitespace_in_blank_line' => true, 'no_whitespace_in_blank_line' => true,
'object_operator_without_whitespace' => true, 'object_operator_without_whitespace' => true,
'single_blank_line_before_namespace' => true,
'ternary_operator_spaces' => true, 'ternary_operator_spaces' => true,
'trim_array_spaces' => true, 'trim_array_spaces' => true,
'unary_operator_spaces' => true, 'unary_operator_spaces' => true,
'whitespace_after_comma_in_array' => true, 'whitespace_after_comma_in_array' => true,
'single_line_after_imports' => true, 'single_line_after_imports' => true,
'ordered_imports' => [ //'single_blank_line_before_namespace' => true, php fixer doesn't like this rule?
'sort_algorithm' => 'none',
],
//Other rules here... //Other rules here...
]) ])
->setLineEnding("\n"); ->setLineEnding("\n");

View File

@ -1,62 +1,62 @@
@extends('frame') @extends('frame')
@section('title', 'The Bad Space|Appeals') @section('title', 'The Bad Space|Appeals')
@section('main-content') @section('main-content')
@parent @parent
<section> <section>
<article> <article>
<h2>Appeals</h2> <h2>Appeals</h2>
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.
<h3>Starting the Appeals Process</h3> <h3>Starting the Appeals Process</h3>
<p>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.</p> <p>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.</p>
<p>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.</p> <p>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.</p>
<p>If the Appeal contains any threats, hate speech, microaggressions, taunts, or slurs, the Appeal will be automatically disqualified.</p> <p>If the Appeal contains any threats, hate speech, microaggressions, taunts, or slurs, the Appeal will be automatically disqualified.</p>
An Appeal can only be made once every three (3) months. An Appeal can only be made once every three (3) months.
<h3>Process Description</h3> <h3>Process Description</h3>
<p>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.</p> <p>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.</p>
<p>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. <p>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.
</p> </p>
<p>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.</p> <p>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.</p>
The petitioner must include the following: The petitioner must include the following:
<ul> <ul>
<li>Verification of problematic content and members have been removed.</li> <li>Verification of problematic content and members have been removed.</li>
<li>A public explanation of steps to recognize and remove problematic content and members.</li> <li>A public explanation of steps to recognize and remove problematic content and members.</li>
<li>A working plan to keep said location as free as possible from problematic members and content finding a home there.</li> <li>A working plan to keep said location as free as possible from problematic members and content finding a home there.</li>
</ul> </ul>
<p>The petitioner also must be available to answer any questions from a member of Current Sources concerning the information provided.</p> <p>The petitioner also must be available to answer any questions from a member of Current Sources concerning the information provided.</p>
<p>Failure to provide any of this information or refusing to be interviewed by Current Sources will result in an automatic disqualification.</p> <p>Failure to provide any of this information or refusing to be interviewed by Current Sources will result in an automatic disqualification.</p>
<p>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.</p> <p>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.</p>
<h2>Appeals Form</h2> <h2>Appeals Form</h2>
<form action="/appeal" method="post" enctype="multipart/form-data"> <form action="/appeal" method="post" enctype="multipart/form-data">
@csrf @csrf
<label>Appeal Location</label><br /> <label>Appeal Location</label><br />
<input type="text" name="location" value="" /><br /> <input type="text" name="location" value="" /><br />
<label>Appeal Location Admin</label><br /> <label>Appeal Location Admin</label><br />
<input type="text" name="location_admin" value="" /><br /> <input type="text" name="location_admin" value="" /><br />
<label>Appeal Sponsor</label><br /> <label>Appeal Sponsor</label><br />
<input type="text" name="sponsor" value="" /><br /> <input type="text" name="sponsor" value="" /><br />
<label>What is 1+1?</label><br /> <label>What is 1+1?</label><br />
<input type="text" name="question" value="" /><br /> <input type="text" name="question" value="" /><br />
<label>Appeal Summary</label><br /> <label>Appeal Summary</label><br />
<textarea name="appeal_description">Appeal Summary</textarea> <textarea name="appeal_description">Appeal Summary</textarea>
<input type="hidden" name="h1" value="" /><br /> <input type="hidden" name="h1" value="" /><br />
<input type="submit" value="File Appeal" name="submit_button"> <input type="submit" value="File Appeal" name="submit_button">
</form> </form>
</article> </article>
</section> </section>
@endsection @endsection

View File

@ -1,23 +1,23 @@
@extends('frame') @extends('frame')
@section('title', 'The Bad Space|Exports') @section('title', 'The Bad Space|Exports')
@section('main-content') @section('main-content')
@parent @parent
<section> <section>
<article> <article>
<h2>CSV Exports</h2> <h2>CSV Exports</h2>
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.* 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.*
<h3>For Mastodon</h3> <h3>For Mastodon</h3>
@foreach($list as $item) @foreach($list as $item)
<a href="/exports/mastodon/{{$item['heatRating']}}">Heat Rating: {{$item['heatRating']}}% - Location Count: {{$item['ratingCount']}}</a><br /> <a href="/exports/mastodon/{{$item['heatRating']}}">Heat Rating: {{$item['heatRating']}}% - Location Count: {{$item['ratingCount']}}</a><br />
@endforeach @endforeach
<br /> <br />
<i>* Heating Ratings are still a work in progress so please review list before using.</i> <i>* Heating Ratings are still a work in progress so please review list before using.</i>
<br /><br /> <br /><br />
</article> </article>
</section> </section>
@endsection @endsection