Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,10 @@
"generated/zlib.php"
]
},
"require": {
"php": ">=7.1"
},
"require-dev": {
"php": ">=7.1",
"phpstan/phpstan": "^0.10.3",
"thecodingmachine/phpstan-strict-rules": "^0.10.3",
"squizlabs/php_codesniffer": "^3.2"
Expand Down
21 changes: 0 additions & 21 deletions generated/array.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,6 @@

namespace Safe;

/**
* array_key_exists returns TRUE if the
* given key is set in the array.
* key can be any value possible
* for an array index.
*
* @param string|int $key Value to check.
* @param array $array An array with keys to check.
* @throws Exceptions\ArrayException
*
*/
function array_key_exists($key, array $array): void
{
error_clear_last();
$result = \array_key_exists($key, $array);
if ($result === FALSE) {
throw Exceptions\ArrayException::createFromPhpError();
}
}


/**
* array_multisort can be used to sort several
* arrays at once, or a multi-dimensional array by one or more
Expand Down
Loading