Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"license": "MIT",
"description": "Worldia Coding Standards",
"require": {
"friendsofphp/php-cs-fixer": "^3.6"
"friendsofphp/php-cs-fixer": "^3.6",
"ext-json": "*"
Copy link
Contributor Author

@Wimsims Wimsims Jun 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason for this addition is php-cs-fixer :

composer why ext-json

Package "ext-json *" found in version "8.3.12".
worldia/coding-standards  dev-master requires ext-json (*)
friendsofphp/php-cs-fixer v3.75.0    requires ext-json (*)

},
"autoload": {
"psr-4": {
Expand Down
2 changes: 2 additions & 0 deletions src/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ public static function createPhpCsFixerConfig(string $rootDirectory, array $opti
'@Symfony:risky' => true,
'single_line_throw' => false,
'header_comment' => ['header' => $header],
'php_unit_test_case_static_method_calls' => ['call_type' => 'this'],
'declare_strict_types' => true,
],
];

Expand Down