mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-10-05 11:37:21 +00:00
Update PHP_CodeSniffer ruleset: PSR2 → PSR12
This commit is contained in:
+8
-3
@@ -1,9 +1,14 @@
|
||||
<?php declare(strict_types=1);
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
$server_start = microtime(true);
|
||||
|
||||
// Prevent direct access unless testing.
|
||||
if (getenv('PHP_CURL_CLASS_TEST_MODE_ENABLED') !== 'yes' &&
|
||||
@$_SERVER['PHP_CURL_CLASS_TEST_MODE_ENABLED'] !== 'yes') {
|
||||
if (
|
||||
getenv('PHP_CURL_CLASS_TEST_MODE_ENABLED') !== 'yes' &&
|
||||
@$_SERVER['PHP_CURL_CLASS_TEST_MODE_ENABLED'] !== 'yes'
|
||||
) {
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user