Skip to content

Commit 07250c4

Browse files
committed
:octocat: dependency update
1 parent 42e2156 commit 07250c4

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@
5454
"require-dev": {
5555
"ext-fileinfo": "*",
5656
"chillerlan/php-authenticator": "^4.3.1 || ^5.2.1",
57-
"phan/phan": "^5.4.5",
57+
"phan/phan": "^5.4.6",
5858
"phpcompatibility/php-compatibility": "10.x-dev",
5959
"phpunit/phpunit": "^9.6",
6060
"phpmd/phpmd": "^2.15",
6161
"setasign/fpdf": "^1.8.2",
62-
"slevomat/coding-standard": "^8.15",
63-
"squizlabs/php_codesniffer": "^3.11"
62+
"slevomat/coding-standard": "^8.19",
63+
"squizlabs/php_codesniffer": "^3.13"
6464
},
6565
"suggest": {
6666
"chillerlan/php-authenticator": "Yet another Google authenticator! Also creates URIs for mobile apps.",

phpcs.xml.dist

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@
124124
<exclude-pattern>examples</exclude-pattern>
125125
</rule>
126126

127-
<rule ref="SlevomatCodingStandard.TypeHints.UnionTypeHintFormat">
127+
<rule ref="SlevomatCodingStandard.TypeHints.DNFTypeHintFormat">
128128
<properties>
129-
<property name="enable" value="false"/>
129+
<property name="nullPosition" value="last"/>
130130
</properties>
131131
</rule>
132132

@@ -156,8 +156,6 @@
156156
<rule ref="Generic.ControlStructures.InlineControlStructure"/>
157157
<rule ref="Generic.Formatting.DisallowMultipleStatements"/>
158158
<!--<rule ref="Generic.Formatting.MultipleStatementAlignment"/>-->
159-
<rule ref="Generic.Formatting.NoSpaceAfterCast"/>
160-
<rule ref="Generic.Functions.CallTimePassByReference"/>
161159
<rule ref="Generic.NamingConventions.InterfaceNameSuffix"/>
162160
<rule ref="Generic.NamingConventions.TraitNameSuffix"/>
163161
<rule ref="Generic.PHP.BacktickOperator"/>
@@ -192,7 +190,6 @@
192190

193191

194192
<rule ref="Squiz.Arrays.ArrayBracketSpacing"/>
195-
<rule ref="Squiz.Classes.DuplicateProperty"/>
196193
<rule ref="Squiz.Classes.LowercaseClassKeywords"/>
197194
<rule ref="Squiz.Classes.SelfMemberReference"/>
198195
<rule ref="Squiz.Commenting.DocCommentAlignment"/>
@@ -250,6 +247,12 @@
250247
<exclude-pattern>examples</exclude-pattern>
251248
</rule>
252249

250+
<rule ref="Generic.Formatting.SpaceAfterCast">
251+
<properties>
252+
<property name="spacing" value="0"/>
253+
</properties>
254+
</rule>
255+
253256
<rule ref="Generic.Formatting.SpaceAfterNot">
254257
<properties>
255258
<property name="spacing" value="0" />

0 commit comments

Comments
 (0)