Remove the PHPStan polyfill for OCI_NO_AUTO_COMMIT

The polyfill would cause a PSR1.Files.SideEffects.FoundWithSymbols warning.
parent f570179f
......@@ -2,8 +2,6 @@ parameters:
level: 7
paths:
- %currentWorkingDirectory%/lib
scanFiles:
- %currentWorkingDirectory%/tests/phpstan-polyfill.php
reportUnmatchedIgnoredErrors: false
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
......
<?php
declare(strict_types=1);
// PHPStan does not read global constants from the stubs yet, remove this when it does
if (defined('OCI_NO_AUTO_COMMIT')) {
return;
}
define('OCI_NO_AUTO_COMMIT', 0);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment