justintime50-styles 0.10.0 → 0.11.0

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,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## V0.11.0 (2026-01-03)
4
+
5
+ - Adds `ShortTypes.Commenting.ShortScalarTypes` PHPCS Sniff
6
+
3
7
  ## v0.10.0 (2025-07-01)
4
8
 
5
9
  - 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.0",
5
5
  "license": "MIT",
6
6
  "type": "library",
7
7
  "homepage": "https://github.com/Justintime50/styles",
@@ -19,5 +19,8 @@
19
19
  "allow-plugins": {
20
20
  "dealerdirect/phpcodesniffer-composer-installer": true
21
21
  }
22
+ },
23
+ "require-dev": {
24
+ "justintime50/phpcs-short-scalar-types": "^0.1.1"
22
25
  }
23
26
  }
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.0",
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>