70 lines
2.6 KiB
YAML
70 lines
2.6 KiB
YAML
|
uuid:
|
||
|
- value: f4ef1ee9-e2f9-42ff-a210-f0e2ce9aab72
|
||
|
langcode:
|
||
|
- value: en
|
||
|
type:
|
||
|
- target_id: daily_email
|
||
|
target_type: node_type
|
||
|
target_uuid: 8bde1f2f-eef9-4f2d-ae9c-96921f8193d7
|
||
|
revision_timestamp:
|
||
|
- value: '2025-05-11T09:00:26+00:00'
|
||
|
revision_uid:
|
||
|
- target_type: user
|
||
|
target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849
|
||
|
revision_log: { }
|
||
|
status:
|
||
|
- value: true
|
||
|
uid:
|
||
|
- target_type: user
|
||
|
target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849
|
||
|
title:
|
||
|
- value: |
|
||
|
The lowest level is better than no level
|
||
|
created:
|
||
|
- value: '2023-11-29T00:00:00+00:00'
|
||
|
changed:
|
||
|
- value: '2025-05-11T09:00:26+00:00'
|
||
|
promote:
|
||
|
- value: false
|
||
|
sticky:
|
||
|
- value: false
|
||
|
default_langcode:
|
||
|
- value: true
|
||
|
revision_translation_affected:
|
||
|
- value: true
|
||
|
path:
|
||
|
- alias: /daily/2023/11/29/the-lowest-level-is-better-than-no-level
|
||
|
langcode: en
|
||
|
body:
|
||
|
- value: |
|
||
|
<p><a href="/daily/2023/11/28/which-phpstan-level-should-you-use">Yesterday's email</a> introduced the different levels that PHPStan offers and which you may want to use on your codebase.</p>
|
||
|
|
||
|
<p>In the same way as having a single test is better than none, even if you run PHPStan at the lowest level, it's better than not running it at all.</p>
|
||
|
|
||
|
<p>Level 0 includes:</p>
|
||
|
|
||
|
<blockquote>
|
||
|
<p>Basic checks, unknown classes, unknown functions, unknown methods called on $this, wrong number of arguments passed to those methods and functions, always undefined variables</p>
|
||
|
</blockquote>
|
||
|
|
||
|
<p>P.S. If you want to utilise PHPStan and static analysis on your development team and get fewer bugs, I have <a href="/team-coaching">availability for team coaching</a>. I'll show you how!</p>
|
||
|
|
||
|
|
||
|
format: full_html
|
||
|
processed: |
|
||
|
<p><a href="http://default/daily/2023/11/28/which-phpstan-level-should-you-use">Yesterday's email</a> introduced the different levels that PHPStan offers and which you may want to use on your codebase.</p>
|
||
|
|
||
|
<p>In the same way as having a single test is better than none, even if you run PHPStan at the lowest level, it's better than not running it at all.</p>
|
||
|
|
||
|
<p>Level 0 includes:</p>
|
||
|
|
||
|
<blockquote>
|
||
|
<p>Basic checks, unknown classes, unknown functions, unknown methods called on $this, wrong number of arguments passed to those methods and functions, always undefined variables</p>
|
||
|
</blockquote>
|
||
|
|
||
|
<p>P.S. If you want to utilise PHPStan and static analysis on your development team and get fewer bugs, I have <a href="http://default/team-coaching">availability for team coaching</a>. I'll show you how!</p>
|
||
|
|
||
|
|
||
|
summary: null
|
||
|
field_daily_email_cta: { }
|