justintime50-styles 0.7.0 → 0.8.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.8.0 (2025-05-12)
4
+
5
+ - Warn on unused uses for PHP
6
+
3
7
  ## v0.7.0 (2025-01-07)
4
8
 
5
9
  - Migrates ESLint config from v8 to v9 syntax
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.7.0",
4
+ "version": "0.8.0",
5
5
  "license": "MIT",
6
6
  "type": "library",
7
7
  "homepage": "https://github.com/Justintime50/styles",
@@ -13,5 +13,13 @@
13
13
  ],
14
14
  "require": {
15
15
  "php": "^8.0"
16
+ },
17
+ "require-dev": {
18
+ "slevomat/coding-standard": "^8.18"
19
+ },
20
+ "config": {
21
+ "allow-plugins": {
22
+ "dealerdirect/phpcodesniffer-composer-installer": true
23
+ }
16
24
  }
17
25
  }
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.7.0",
4
+ "version": "0.8.0",
5
5
  "author": "Justintime50",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/justintime50/styles",
package/src/php/phpcs.xml CHANGED
@@ -35,4 +35,5 @@
35
35
  <rule ref="Squiz.NamingConventions.ValidVariableName.NotCamelCaps" />
36
36
  <rule ref="Squiz.Strings.DoubleQuoteUsage.NotRequired" />
37
37
  <rule ref="vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Sniffs/Commenting/InlineCommentSniff.php" />
38
+ <rule ref="SlevomatCodingStandard.Namespaces.UnusedUses"/>
38
39
  </ruleset>