Skip to content

Commit 1f270f2

Browse files
meinder-aactions-user
authored andcommitted
Fix styling
1 parent 8226626 commit 1f270f2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.php-cs-fixer.cache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"php":"8.0.5","version":"3.0.0","indent":" ","lineEnding":"\n","rules":{"blank_line_after_namespace":true,"braces":true,"class_definition":true,"constant_case":true,"elseif":true,"function_declaration":true,"indentation_type":true,"line_ending":true,"lowercase_keywords":true,"no_break_comment":true,"no_closing_tag":true,"no_spaces_after_function_name":true,"no_spaces_inside_parenthesis":true,"no_trailing_whitespace":true,"no_trailing_whitespace_in_comment":true,"single_blank_line_at_eof":true,"single_class_element_per_statement":{"elements":["property"]},"single_import_per_statement":true,"single_line_after_imports":true,"switch_case_semicolon_to_colon":true,"switch_case_space":true,"visibility_required":{"elements":["const","method","property"]},"encoding":true,"full_opening_tag":true,"array_push":true,"combine_nested_dirname":true,"dir_constant":true,"ereg_to_preg":true,"error_suppression":true,"fopen_flag_order":true,"fopen_flags":{"b_mode":false},"function_to_constant":true,"implode_call":true,"is_null":true,"logical_operators":true,"modernize_types_casting":true,"native_constant_invocation":true,"native_function_invocation":{"include":["@compiler_optimized"],"scope":"namespaced","strict":true},"no_alias_functions":true,"no_homoglyph_names":true,"no_php4_constructor":true,"no_unneeded_final_method":true,"no_useless_sprintf":true,"non_printable_character":true,"ordered_traits":true,"php_unit_construct":true,"php_unit_mock_short_will_return":true,"php_unit_set_up_tear_down_visibility":true,"php_unit_test_annotation":true,"psr_autoloading":true,"self_accessor":true,"set_type_to_cast":true,"string_line_ending":true,"ternary_to_elvis_operator":true,"pow_to_exponentiation":true,"no_trailing_whitespace_in_string":true,"void_return":true,"declare_strict_types":true,"random_api_migration":{"replacements":{"mt_rand":"random_int","rand":"random_int"}},"heredoc_indentation":true,"no_whitespace_before_comma_in_array":{"after_heredoc":true},"trailing_comma_in_multiline":{"after_heredoc":true},"list_syntax":true,"ternary_to_null_coalescing":true,"array_syntax":true,"blank_line_after_opening_tag":true},"hashes":{"src\/FilterInterface.php":566713083,"src\/FilterClassNotFound.php":1244845219,"src\/AbstractFilterableRepository.php":3143390528,"src\/IncorrectFilterException.php":1224654698,"tests\/Feature\/AbstractFilterableRepositoryTest.php":938517822,"tests\/TestCase.php":2888787250,"tests\/Example\/PeopleRepository.php":4237142730,"tests\/Example\/Entities\/PeopleEntity.php":3605870846,"tests\/Example\/Entities\/PeopleEntityList.php":909908039,"tests\/Example\/Filters\/OldPeopleFilter.php":960201388}}

tests/Feature/AbstractFilterableRepositoryTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ protected function setUp(): void
1515
parent::setUp();
1616
}
1717

18-
/** @test */
19-
public function can_get_old_people()
18+
/** */
19+
public function testCan_get_old_people(): void
2020
{
2121
$peopleRepository = $this->instantiatePeopleRepository();
2222

@@ -27,4 +27,3 @@ public function can_get_old_people()
2727
$this->assertInstanceOf(PeopleEntityList::class, $people);
2828
}
2929
}
30-

tests/TestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ public function __construct(?string $name = null, array $data = [], $dataName =
1414
{
1515
parent::__construct($name, $data, $dataName);
1616

17-
parent::afterApplicationCreated(function () {
18-
Schema::create('people', function (Blueprint $table) {
17+
parent::afterApplicationCreated(function (): void {
18+
Schema::create('people', function (Blueprint $table): void {
1919
$table->bigIncrements('id');
2020
$table->string('firstname');
2121
$table->string('lastname');

0 commit comments

Comments
 (0)