Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize array properties #12

Merged

Conversation

VasekPurchart
Copy link
Contributor

So that configuration options in XML can be written on multiple lines as in FullyQualifiedClassNameAfterKeywordSniff, FullyQualifiedExceptionsSniff or ReferenceUsedNamesOnlySniff.

With this normalization for example namespaces can be configured in a much more readable and diff-friendly way:

    <rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName">
        <properties>
            <property name="rootNamespaces" type="array" value="
                SlevomatCodingStandard => SlevomatCodingStandard,
                tests => SlevomatCodingStandard
            "/>
        </properties>
    </rule>

@VasekPurchart VasekPurchart force-pushed the normalize-property-arrays branch from 547a941 to 3329fba Compare January 6, 2016 16:16
@VasekPurchart VasekPurchart force-pushed the normalize-property-arrays branch from 3329fba to c117fe1 Compare January 6, 2016 20:00
@ondrejmirtes ondrejmirtes merged commit c117fe1 into slevomat:master Jan 6, 2016
@VasekPurchart VasekPurchart deleted the normalize-property-arrays branch January 6, 2016 20:11
@Vrtak-CZ
Copy link
Contributor

Vrtak-CZ commented Jan 7, 2016

❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants