-
-
Notifications
You must be signed in to change notification settings - Fork 30
PHPStan 1.12.1 requireFile new rule #239
Copy link
Copy link
Closed
Description
Following PHPStan update 1.12.1, there is a new rule and error showing up when running it (with bleeding edge):
Path in require_once() "1wp-admin/includes/plugin-install.php" is not a file or it does not exist.
The usage in our code looks like so:
require_once ABSPATH . 'wp-admin/includes/plugin-install.php';
Does this new rule require an update of your extension, or would it just be a configuration change to do on our side?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels