File tree Expand file tree Collapse file tree 2 files changed +17
-9
lines changed
Expand file tree Collapse file tree 2 files changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2121### Security
2222
2323
24+ ## [ 1.2.0] - 2020-09-05
25+
26+ ### Added
27+
28+ * Revised rules for absolute class name references
29+
30+
2431## [ 1.1.2] - 2020-08-28
2532
2633### Fixed
@@ -71,7 +78,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7178* Initial release of Ramsey coding standard
7279
7380
74- [ Unreleased ] : https://github.com/ramsey/coding-standard/compare/1.1.2...HEAD
81+ [ Unreleased ] : https://github.com/ramsey/coding-standard/compare/1.2.0...HEAD
82+ [ 1.2.0 ] : https://github.com/ramsey/coding-standard/compare/1.1.2...1.2.0
7583[ 1.1.2 ] : https://github.com/ramsey/coding-standard/compare/1.1.1...1.1.2
7684[ 1.1.1 ] : https://github.com/ramsey/coding-standard/compare/1.1.0...1.1.1
7785[ 1.1.0 ] : https://github.com/ramsey/coding-standard/compare/1.0.3...1.1.0
Original file line number Diff line number Diff line change 239239 <!-- Forbid multiple use statements on same line -->
240240 <rule ref =" SlevomatCodingStandard.Namespaces.MultipleUsesPerLine" />
241241
242- <!-- Forbid using absolute class name references -->
242+ <!-- Forbid using absolute class name references (except global ones) -->
243243 <rule ref =" SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly" >
244244 <properties >
245245 <property name =" allowFallbackGlobalConstants" value =" false" />
246+ <property name =" allowFallbackGlobalFunctions" value =" false" />
247+ <property name =" allowFullyQualifiedGlobalClasses" value =" false" />
246248 <property name =" allowFullyQualifiedGlobalConstants" value =" false" />
247249 <property name =" allowFullyQualifiedGlobalFunctions" value =" false" />
248- <property name =" allowFullyQualifiedExceptions" value =" true" />
249- <property name =" allowPartialUses" value =" false" />
250- <property name =" fullyQualifiedKeywords" type =" array" >
251- <element value =" T_EXTENDS" />
252- <element value =" T_IMPLEMENTS" />
253- <element value =" T_USE" />
254- </property >
250+ <property name =" allowFullyQualifiedNameForCollidingClasses" value =" true" />
251+ <property name =" allowFullyQualifiedNameForCollidingConstants" value =" true" />
252+ <property name =" allowFullyQualifiedNameForCollidingFunctions" value =" true" />
253+ <property name =" allowPartialUses" value =" true" />
254+ <property name =" searchAnnotations" value =" true" />
255255 </properties >
256256 </rule >
257257
You can’t perform that action at this time.
0 commit comments