smiley 9 месяцев назад
Родитель
Сommit
965146f210
2 измененных файлов с 7 добавлено и 8 удалено
  1. 6 6
      composer.json
  2. 1 2
      phpcs.xml.dist

+ 6 - 6
composer.json

@@ -54,15 +54,15 @@
 	"require-dev": {
 	"require-dev": {
 		"ext-fileinfo": "*",
 		"ext-fileinfo": "*",
 		"chillerlan/php-authenticator": "^5.2.1",
 		"chillerlan/php-authenticator": "^5.2.1",
-		"intervention/image": "^3.8",
-		"phpbench/phpbench": "^1.3",
-		"phpunit/phpunit": "^11.3",
+		"intervention/image": "^3.11",
+		"phpbench/phpbench": "^1.4",
+		"phpunit/phpunit": "^11.5",
 		"phpmd/phpmd": "^2.15",
 		"phpmd/phpmd": "^2.15",
-		"phpstan/phpstan": "^2.0",
+		"phpstan/phpstan": "^2.1",
 		"phpstan/phpstan-deprecation-rules": "^2.0",
 		"phpstan/phpstan-deprecation-rules": "^2.0",
-		"setasign/fpdf": "^1.8.2",
+		"setasign/fpdf": "^1.8.6",
 		"slevomat/coding-standard": "^8.15",
 		"slevomat/coding-standard": "^8.15",
-		"squizlabs/php_codesniffer": "^3.10"
+		"squizlabs/php_codesniffer": "^3.11"
 	},
 	},
 	"suggest": {
 	"suggest": {
 		"chillerlan/php-authenticator": "Yet another Google authenticator! Also creates URIs for mobile apps.",
 		"chillerlan/php-authenticator": "Yet another Google authenticator! Also creates URIs for mobile apps.",

+ 1 - 2
phpcs.xml.dist

@@ -110,9 +110,8 @@
 		<exclude-pattern>examples</exclude-pattern>
 		<exclude-pattern>examples</exclude-pattern>
 	</rule>
 	</rule>
 
 
-	<rule ref="SlevomatCodingStandard.TypeHints.UnionTypeHintFormat">
+	<rule ref="SlevomatCodingStandard.TypeHints.DNFTypeHintFormat">
 		<properties>
 		<properties>
-			<property name="withSpaces" value="no"/>
 			<property name="shortNullable" value="no"/>
 			<property name="shortNullable" value="no"/>
 			<property name="nullPosition" value="last"/>
 			<property name="nullPosition" value="last"/>
 		</properties>
 		</properties>