Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github-actions(deps): Bump peter-evans/create-pull-request from 5 to 6 #852

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
e9e5bd8
composer(deps): bump friendsofphp/php-cs-fixer (#749)
dependabot[bot] Sep 9, 2023
2c28821
composer(deps): bump rector/rector in /vendor-bin/rector (#750)
dependabot[bot] Sep 9, 2023
51794a1
Enhancement: Use Helper to select random element instead of array_ran…
localheinz Sep 14, 2023
b399ff3
Enhancement: Use Helper to determine largest random number (#756)
localheinz Sep 14, 2023
6a17f46
Enhancement: Use Helper to generate random number without arguments (…
localheinz Sep 14, 2023
57e1f99
Enhancement: Use Helper to select random number between minimum and m…
localheinz Sep 14, 2023
e104d1b
composer(deps): bump friendsofphp/php-cs-fixer (#765)
dependabot[bot] Sep 17, 2023
111cdfd
composer(deps): bump rector/rector in /vendor-bin/rector (#766)
dependabot[bot] Sep 17, 2023
e3ccef7
Removed legacy autoloader (#762)
pimjansen Sep 17, 2023
23c680f
composer(deps): bump phpstan/phpstan in /vendor-bin/phpstan (#767)
dependabot[bot] Sep 17, 2023
6eda5c1
Removed the ORM integration (#764)
pimjansen Sep 17, 2023
54aff8c
Fix: Configure bamarni/composer-bin-plugin (#768)
localheinz Sep 20, 2023
44dc38c
Enhancement: Inject services (#753)
localheinz Sep 20, 2023
da6658f
Enhancement: Add PHP version support policy (#752)
localheinz Sep 20, 2023
67825a1
Fix: Flatten directory structure (#773)
localheinz Sep 20, 2023
25a8f13
Fix: Declare strict types in examples (#777)
localheinz Sep 21, 2023
5de3d13
Fix: Add DocBlock (#776)
localheinz Sep 21, 2023
c19aaf1
Fix: Namespace (#774)
localheinz Sep 22, 2023
550cd89
composer(deps): bump phpstan/phpstan in /vendor-bin/phpstan (#779)
dependabot[bot] Sep 22, 2023
a734bf0
Enhancement: Declare strict types in `test/` (#780)
localheinz Sep 22, 2023
00e61a0
Enhancement: Allow defining services that resolve to object instead o…
localheinz Sep 22, 2023
46d55a7
Fix: Explicitly reference configuration for friendsofphp/php-cs-fixer…
localheinz Sep 22, 2023
d852dd1
Fix: Typo (#782)
localheinz Sep 22, 2023
d56235b
Fix: Badge (#783)
localheinz Sep 24, 2023
16037e0
Fix: Remove scripts (#778)
localheinz Sep 25, 2023
5269675
Fix: Do not use `static` in callables (#785) (#786)
localheinz Sep 26, 2023
82f1468
composer(deps): bump rector/rector in /vendor-bin/rector (#789)
dependabot[bot] Sep 29, 2023
2e92289
composer(deps): bump friendsofphp/php-cs-fixer (#790)
dependabot[bot] Sep 29, 2023
6239bd1
Correct return type of `Generator::unique()` (#787)
DannyvdSluijs Sep 29, 2023
27da0b2
Enhancement: Enable `long_to_shorthand_operator` fixer (#791)
localheinz Sep 29, 2023
9636de7
composer(deps): bump friendsofphp/php-cs-fixer from 3.30.0 to 3.34.0 …
dependabot[bot] Sep 30, 2023
6f601fe
composer(deps): bump phpstan/phpstan in /vendor-bin/phpstan (#793)
dependabot[bot] Sep 30, 2023
62eefcd
Fixed incorrect female name among male names (#794)
danielchodusov Oct 5, 2023
b12d23b
composer(deps): bump phpstan/phpstan in /vendor-bin/phpstan (#798)
dependabot[bot] Oct 12, 2023
6c13f03
composer(deps): bump friendsofphp/php-cs-fixer (#799)
dependabot[bot] Oct 12, 2023
f02107f
composer(deps): bump rector/rector in /vendor-bin/rector (#800)
dependabot[bot] Oct 12, 2023
8095453
composer(deps): bump rector/rector in /vendor-bin/rector (#804)
dependabot[bot] Nov 1, 2023
dba622f
composer(deps): bump friendsofphp/php-cs-fixer (#803)
dependabot[bot] Nov 1, 2023
5d766d3
composer(deps): bump phpstan/phpstan in /vendor-bin/phpstan (#805)
dependabot[bot] Nov 1, 2023
c9c4c26
composer(deps): bump friendsofphp/php-cs-fixer (#827)
dependabot[bot] Dec 2, 2023
5b61330
composer(deps): bump vimeo/psalm in /vendor-bin/psalm (#824)
dependabot[bot] Dec 2, 2023
11d6f6b
composer(deps): bump rector/rector in /vendor-bin/rector (#825)
dependabot[bot] Dec 2, 2023
e31eb36
Fix: Do not fail fast (#829)
localheinz Dec 10, 2023
3498cad
Fix: Wrapping (#830)
localheinz Dec 10, 2023
e8715e9
composer(deps): bump rector/rector in /vendor-bin/rector (#840)
dependabot[bot] Jan 2, 2024
918e92e
composer(deps): bump vimeo/psalm in /vendor-bin/psalm (#841)
dependabot[bot] Jan 2, 2024
f142bd8
composer(deps): bump friendsofphp/php-cs-fixer from 3.40.0 to 3.45.0 …
dependabot[bot] Jan 2, 2024
2114cc6
composer(deps): bump phpstan/phpstan from 1.10.40 to 1.10.50 in /vend…
dependabot[bot] Jan 2, 2024
219ab9d
github-actions(deps): Bump peter-evans/create-pull-request from 5 to 6
dependabot[bot] Feb 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
/.gitattributes export-ignore
/.gitignore export-ignore
/.php-cs-fixer.dist.php export-ignore
/.php-cs-fixer.rules.php export-ignore
/.php-cs-fixer.test.php export-ignore
/.yamllint.yaml export-ignore
/codecov.yml export-ignore
/Makefile export-ignore
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/branch-alias.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
composer config extra.branch-alias.dev-main ${{ steps.find_alias.outputs.alias }}-dev

- name: "Create Pull Request"
uses: "peter-evans/create-pull-request@v5"
uses: "peter-evans/create-pull-request@v6"
with:
base: "main"
branch: "branch-alias-update"
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/coding-standards.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ jobs:

- name: "Run php-cs-fixer"
run: |
vendor/bin/php-cs-fixer fix --ansi --diff --dry-run --verbose
vendor/bin/php-cs-fixer fix --ansi --config=.php-cs-fixer.dist.php --diff --dry-run --show-progress=dots --verbose

- name: "Run php-cs-fixer for test code"
run: |
vendor/bin/php-cs-fixer fix --ansi --config=.php-cs-fixer.test.php --diff --dry-run --show-progress=dots --verbose

yamllint:
name: "yamllint"
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ jobs:

strategy:
matrix:
php-version: ["7.4"]
php-version:
- "7.4"

steps:
- name: "Checkout code"
Expand Down Expand Up @@ -55,7 +56,8 @@ jobs:

strategy:
matrix:
php-version: ["7.4"]
php-version:
- "7.4"

steps:
- name: "Checkout"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
name: "PHPUnit (${{ matrix.php-version }})"

strategy:
fail-fast: false
matrix:
experimental:
- false
Expand Down
221 changes: 4 additions & 217 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@
->exclude([
'.build/',
'.github/',
'test/',
'vendor-bin/',
])
->notPath([
'test/Fixture/Enum/BackedEnum.php',
])
->ignoreDotFiles(false)
->in(__DIR__);

Expand All @@ -20,221 +18,10 @@
mkdir('.build/php-cs-fixer', 0755, true);
}

$rules = require __DIR__ . '/.php-cs-fixer.rules.php';

return $config
->setCacheFile('.build/php-cs-fixer/cache')
->setFinder($finder)
->setRiskyAllowed(true)
->setRules([
'@PSR2' => true,
'array_indentation' => true,
'array_syntax' => [
'syntax' => 'short',
],
'binary_operator_spaces' => true,
'blank_line_after_opening_tag' => true,
'blank_line_before_statement' => [
'statements' => [
'break',
'continue',
'default',
'do',
'exit',
'for',
'foreach',
'if',
'include',
'include_once',
'require',
'require_once',
'return',
'switch',
'throw',
'try',
'while',
'yield',
],
],
'blank_lines_before_namespace' => [
'max_line_breaks' => 2,
'min_line_breaks' => 2,
],
'cast_spaces' => true,
'class_attributes_separation' => [
'elements' => [
'method' => 'one',
],
],
'combine_nested_dirname' => true,
'compact_nullable_typehint' => true,
'concat_space' => [
'spacing' => 'one',
],
'control_structure_braces' => true,
'control_structure_continuation_position' => true,
'curly_braces_position' => true,
'declare_equal_normalize' => true,
'declare_parentheses' => true,
'general_phpdoc_annotation_remove' => [
'annotations' => [
'author',
],
],
'global_namespace_import' => [
'import_classes' => false,
'import_constants' => false,
'import_functions' => false,
],
'implode_call' => true,
'increment_style' => true,
'is_null' => true,
'lambda_not_used_import' => true,
'list_syntax' => [
'syntax' => 'short',
],
'lowercase_cast' => true,
'lowercase_static_reference' => true,
'magic_constant_casing' => true,
'magic_method_casing' => true,
'modernize_types_casting' => true,
'multiline_comment_opening_closing' => true,
'new_with_braces' => true,
'no_alias_functions' => true,
'no_blank_lines_after_class_opening' => true,
'no_blank_lines_after_phpdoc' => true,
'no_empty_phpdoc' => true,
'no_empty_statement' => true,
'no_extra_blank_lines' => true,
'no_leading_import_slash' => true,
'no_leading_namespace_whitespace' => true,
'no_multiple_statements_per_line' => true,
'no_spaces_around_offset' => true,
'no_superfluous_elseif' => true,
'no_superfluous_phpdoc_tags' => true,
'no_trailing_comma_in_singleline' => [
'elements' => [
'array',
],
],
'no_unneeded_control_parentheses' => true,
'no_unneeded_curly_braces' => true,
'no_unneeded_final_method' => true,
'no_unreachable_default_argument_value' => true,
'no_unset_cast' => true,
'no_unused_imports' => true,
'no_useless_else' => true,
'no_whitespace_before_comma_in_array' => true,
'no_whitespace_in_blank_line' => true,
'non_printable_character' => true,
'normalize_index_brace' => true,
'operator_linebreak' => [
'only_booleans' => true,
'position' => 'beginning',
],
'ordered_imports' => true,
'php_unit_construct' => true,
'php_unit_dedicate_assert' => true,
'php_unit_dedicate_assert_internal_type' => true,
'php_unit_expectation' => true,
'php_unit_fqcn_annotation' => true,
'php_unit_method_casing' => true,
'php_unit_mock' => true,
'php_unit_mock_short_will_return' => true,
'php_unit_namespaced' => true,
'php_unit_no_expectation_annotation' => true,
'php_unit_set_up_tear_down_visibility' => true,
'php_unit_test_case_static_method_calls' => [
'call_type' => 'self',
],
'phpdoc_align' => true,
'phpdoc_indent' => true,
'phpdoc_inline_tag_normalizer' => true,
'phpdoc_line_span' => true,
'phpdoc_no_access' => true,
'phpdoc_no_alias_tag' => [
'replacements' => [
'link' => 'see',
'type' => 'var',
],
],
'phpdoc_no_empty_return' => true,
'phpdoc_no_package' => true,
'phpdoc_order' => true,
'phpdoc_order_by_value' => [
'annotations' => [
'covers',
'dataProvider',
'group',
'requires',
'throws',
'uses',
],
],
'phpdoc_return_self_reference' => true,
'phpdoc_scalar' => true,
'phpdoc_separation' => true,
'phpdoc_single_line_var_spacing' => true,
'phpdoc_trim' => true,
'phpdoc_trim_consecutive_blank_line_separation' => true,
'phpdoc_types' => true,
'phpdoc_types_order' => [
'null_adjustment' => 'always_last',
'sort_algorithm' => 'alpha',
],
'phpdoc_var_without_name' => true,
'pow_to_exponentiation' => true,
'protected_to_private' => true,
'psr_autoloading' => true,
'random_api_migration' => true,
'return_assignment' => true,
'return_type_declaration' => true,
'self_static_accessor' => true,
'semicolon_after_instruction' => true,
'short_scalar_cast' => true,
'single_line_comment_style' => true,
'single_quote' => true,
'single_space_around_construct' => [
'constructs_contain_a_single_space' => [],
'constructs_followed_by_a_single_space' => [
'elseif',
'for',
'foreach',
'if',
'match',
'while',
'use_lambda',
],
'constructs_preceded_by_a_single_space' => [
'use_lambda',
],
],
'single_trait_insert_per_statement' => true,
'standardize_not_equals' => true,
'statement_indentation' => true,
'static_lambda' => true,
'strict_param' => true,
'switch_case_space' => true,
'ternary_operator_spaces' => true,
'ternary_to_null_coalescing' => true,
'trailing_comma_in_multiline' => [
'elements' => [
'arguments',
'arrays',
],
],
'trim_array_spaces' => true,
'type_declaration_spaces' => [
'elements' => [
'function',
],
],
'unary_operator_spaces' => true,
'visibility_required' => [
'elements' => [
'const',
'method',
'property',
],
],
'void_return' => false,
'whitespace_after_comma_in_array' => true,
]);
->setRules($rules);
Loading
Loading