diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..eeb5831 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,9 @@ +/.gitattributes export-ignore +/.github/ export-ignore +/.gitignore export-ignore +/clover.xml export-ignore +/infection.json5.dist export-ignore +/mago.toml export-ignore +/phpunit.xml.dist export-ignore +/renovate.json export-ignore +/test/ export-ignore diff --git a/mago.toml b/mago.toml index a865e25..a48302b 100644 --- a/mago.toml +++ b/mago.toml @@ -4,3 +4,8 @@ php-version = "8.3.0" [source] paths = ["src", "test"] includes = ["vendor"] + +# Keeps the parentheses around `new` in member access, so the formatted output does not +# depend on which PHP version a matrix leg targets. +[formatter] +parentheses-around-new-in-member-access = true diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 6a8583e..a6240c1 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -24,7 +24,6 @@ -