@sinemacula/coding-standards 1.20.0 → 1.20.2

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -85,9 +85,9 @@ parameters:
85
85
  ```
86
86
 
87
87
  The base config enables PHPStan's checked-exception analysis: every exception a method can throw must appear in its
88
- `@throws` tag, except the `LogicException` and `RuntimeException` families, which stay unchecked (they model programming
89
- errors and runtime failures that propagate freely). Suppress a deliberate case with
90
- `@phpstan-ignore missingType.checkedException`.
88
+ `@throws` tag, except a configured set of programming-error and infrastructure exceptions that stay unchecked - the
89
+ `LogicException`, `RuntimeException` and `Error` families among them (see `php/phpstan-base.neon` for the full list).
90
+ Suppress a deliberate case with `@phpstan-ignore missingType.checkedException`.
91
91
 
92
92
  #### Laravel projects
93
93
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinemacula/coding-standards",
3
- "version": "1.20.0",
3
+ "version": "1.20.2",
4
4
  "description": "Centralized coding standards, static analysis configurations, and code quality tooling for all Sine Macula repositories.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Ben Carey <bdmc@sinemacula.co.uk>",