<?xml version="1.0"?>
<ruleset name="Custom" namespace="Nette">
	<rule ref="$presets/php80.xml"/>

	<!-- bug in FunctionSpacingSniff -->
	<exclude-pattern>./tests/Utils/Reflection.getDeclaringMethod.alias.phpt</exclude-pattern>
	<exclude-pattern>./tests/Utils/Reflection.getDeclaringMethod.insteadof.phpt</exclude-pattern>

	<!-- use function in Arrays.php, Callback.php, Html.php, Strings.php -->
	<rule ref="SlevomatCodingStandard.Namespaces.MultipleUsesPerLine.MultipleUsesPerLine">
		<exclude-pattern>./src/*/*.php</exclude-pattern>
	</rule>
</ruleset>
