Skip to content

Commit b9612e9

Browse files
committed
spaze/phpstan-disallowed-calls
1 parent 16b2e6e commit b9612e9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

composer.json

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"phpstan/phpstan-strict-rules": "^1 || ^2.0.3",
3838
"phpunit/phpunit": "^9.6.22 || ^10.5.45 || ^11.5.10 || ^12.0.5",
3939
"rector/rector": "^1.2.10 || ^2.0.9",
40+
"spaze/phpstan-disallowed-calls": "^4.4",
4041
"thecodingmachine/phpstan-safe-rule": "^1.2.0"
4142
},
4243
"suggest": {

rules.neon

+1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ parameters:
77
- function: 'compact()'
88
message: 'makes refactoring code hard'
99
errorTip: 'use standard array syntax instead'
10+
# https://github.com/itsgoingd/clockwork?tab=readme-ov-file#logging
1011
- function: 'clock()'
1112
message: 'remove debugging code'

0 commit comments

Comments
 (0)