justintime50-styles 0.10.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## v0.11.1 (2026-01-03)
4
+
5
+ - Moves `ShortTypes.Commenting.ShortScalarTypes` from dev to prod dependency
6
+
7
+ ## V0.11.0 (2026-01-03)
8
+
9
+ - Adds `ShortTypes.Commenting.ShortScalarTypes` PHPCS Sniff
10
+
3
11
  ## v0.10.0 (2025-07-01)
4
12
 
5
13
  - Defines packages as `module` type in JS
package/composer.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "justintime50/styles",
3
3
  "description": "A collection of style guides and best practices used for my projects and teams.",
4
- "version": "0.9.1",
4
+ "version": "0.11.1",
5
5
  "license": "MIT",
6
6
  "type": "library",
7
7
  "homepage": "https://github.com/Justintime50/styles",
@@ -13,6 +13,7 @@
13
13
  ],
14
14
  "require": {
15
15
  "php": "^8.0",
16
+ "justintime50/phpcs-short-scalar-types": "^0.1.1",
16
17
  "slevomat/coding-standard": "^8.18"
17
18
  },
18
19
  "config": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "justintime50-styles",
3
3
  "description": "A collection of style guides and best practices used for my projects and teams.",
4
- "version": "0.10.0",
4
+ "version": "0.11.1",
5
5
  "author": "Justintime50",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/justintime50/styles",
package/src/php/phpcs.xml CHANGED
@@ -27,8 +27,8 @@
27
27
  <!-- Enforce custom rules -->
28
28
  <rule ref= "Generic.Files.LineLength">
29
29
  <properties>
30
- <property name="lineLimit" value="120"/>
31
- <property name="absoluteLineLimit" value="120"/>
30
+ <property name="lineLimit" value="120" />
31
+ <property name="absoluteLineLimit" value="120" />
32
32
  </properties>
33
33
  </rule>
34
34
  <rule ref="Generic.Arrays.DisallowLongArraySyntax" />
@@ -37,8 +37,9 @@
37
37
  <rule ref="vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Sniffs/Commenting/InlineCommentSniff.php" />
38
38
  <rule ref="SlevomatCodingStandard.Namespaces.UnusedUses">
39
39
  <properties>
40
- <property name="searchAnnotations" type="boolean" value="true"/>
40
+ <property name="searchAnnotations" type="boolean" value="true" />
41
41
  </properties>
42
42
  </rule>
43
- <rule ref="SlevomatCodingStandard.Variables.UnusedVariable"/>
43
+ <rule ref="SlevomatCodingStandard.Variables.UnusedVariable" />
44
+ <rule ref="ShortTypes.Commenting.ShortScalarTypes" />
44
45
  </ruleset>