Skip to content

Commit

Permalink
Merge pull request #1 from maximehuran/feature/rename-php-cs-rules
Browse files Browse the repository at this point in the history
Rename deprecated PHP CS fixer rules
  • Loading branch information
maximehuran authored Dec 11, 2023
2 parents 5005e8b + fd3949c commit f86e8d7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
'combine_consecutive_issets' => true,
'combine_consecutive_unsets' => true,
'comment_to_phpdoc' => true,
'compact_nullable_typehint' => true,
'compact_nullable_type_declaration' => true,
'concat_space' => [
'spacing' => 'one',
],
Expand Down Expand Up @@ -118,7 +118,7 @@
],
'native_constant_invocation' => true,
'native_function_casing' => true,
'new_with_braces' => true,
'new_with_parentheses' => true,
'no_alias_functions' => true,
'no_alternative_syntax' => true,
'no_blank_lines_after_class_opening' => true,
Expand Down Expand Up @@ -157,14 +157,14 @@
'no_short_bool_cast' => true,
'no_spaces_after_function_name' => true,
'no_spaces_around_offset' => true,
'no_spaces_inside_parenthesis' => true,
'spaces_inside_parentheses' => true,
'no_superfluous_elseif' => true,
'no_superfluous_phpdoc_tags' => [
'allow_mixed' => true,
],
'no_unset_cast' => true,
'no_unneeded_control_parentheses' => true,
'no_unneeded_curly_braces' => true,
'no_unneeded_braces' => true,
'no_unneeded_final_method' => true,
'no_unset_on_property' => true,
'no_unused_imports' => true,
Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"license": "MIT",
"require": {
"php": "^8.1",
"sylius/sylius": ">=1.12 <1.13",
"monsieurbiz/sylius-settings-plugin": "^1.0.10"
"sylius/sylius": ">=1.12 <1.13"
},
"require-dev": {
"behat/behat": "^3.6.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface;
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;

/**
* @SuppressWarnings(PHPMD.LongClassName)
*/
final class MonsieurBizSyliusAdvancedPromotionExtension extends Extension implements PrependExtensionInterface
{
use PrependDoctrineMigrationsTrait;
Expand Down
Empty file added src/Resources/views/.gitkeep
Empty file.

0 comments on commit f86e8d7

Please sign in to comment.