Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12269719
D3747.id9695.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D3747.id9695.diff
View Options
diff --git a/CodeSniffer/ruleset.xml b/CodeSniffer/ruleset.xml
--- a/CodeSniffer/ruleset.xml
+++ b/CodeSniffer/ruleset.xml
@@ -31,7 +31,11 @@
<!-- You're writing Nasqueron code. Let's use the Nasqueron code style. -->
<config name="tabWidth" value="4"/>
<rule ref="Generic.Classes.OpeningBraceSameLine" />
- <rule ref="Generic.Formatting.NoSpaceAfterCast" />
+ <rule ref="Generic.Formatting.SpaceAfterCast">
+ <properties>
+ <property name="spacing" value="0" />
+ </properties>
+ </rule>
<rule ref="Generic.Functions.FunctionCallArgumentSpacing" />
<rule ref="Generic.Functions.OpeningFunctionBraceKernighanRitchie" />
<rule ref="Generic.NamingConventions.CamelCapsFunctionName">
@@ -73,7 +77,6 @@
<!-- In modern PHP we trust. -->
<rule ref="Generic.Arrays.DisallowLongArraySyntax" />
- <rule ref="Generic.Functions.CallTimePassByReference" />
<rule ref="Generic.NamingConventions.ConstructorName" />
<rule ref="Generic.PHP.DeprecatedFunctions" />
<rule ref="Generic.PHP.DisallowShortOpenTag" /> <!-- but <?= ?> ok -->
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 16, 09:11 (16 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3078053
Default Alt Text
D3747.id9695.diff (1 KB)
Attached To
Mode
D3747: Upgrade ruleset for PHP_CodeSniffer 4.0
Attached
Detach File
Event Timeline
Log In to Comment