Skip to content

Commit 51cf509

Browse files
committed
fix: Remove fully_qualified_strict_types again
There are currently too many issues for the rule on the project itself #17 PHP-CS-Fixer/PHP-CS-Fixer#7719 Signed-off-by: Joas Schilling <[email protected]>
1 parent 424cdd9 commit 51cf509

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## 1.2.1 - 2024-02-01
5+
### Fix
6+
* fix: Remove `fully_qualified_strict_types` again by @nickvergessen in https://github.com/nextcloud/coding-standard/pull/16
7+
48
## 1.2.0 - 2024-02-01
59
### Added
610
- `array_syntax`: Force short syntax for array
711
- `list_syntax`: Same for list
8-
- `fully_qualified_strict_types`: Remove namespace from classname when there is a `use` statement, and add missing backslash for global namespace
12+
- ~~`fully_qualified_strict_types`: Remove namespace from classname when there is a `use` statement, and add missing backslash for global namespace~~ - Removed in 1.2.1 due to issues
913
- `no_leading_import_slash`: Remove leading slash from `use` statement
1014
- `nullable_type_declaration_for_default_null_value`: Add missing `?` on type declaration for parameters defaulting to `null`. This will most likely be needed to avoid warnings in PHP 8.4.
1115
- `yoda_style`: forbid yoda style comparision. This replaces `null === $a` by `$a === null`.

src/Config.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ public function getRules() : array {
3131
'elseif' => true,
3232
'encoding' => true,
3333
'full_opening_tag' => true,
34-
'fully_qualified_strict_types' => ['leading_backslash_in_global_namespace' => true],
3534
'function_declaration' => [
3635
'closure_function_spacing' => 'one',
3736
],

0 commit comments

Comments
 (0)