thecodingmachine/safe
All PHP functions, rewritten to throw exceptions instead of returning false
PHPMIT
Issues
- 0
Why `shuffle`?
#454 opened by mvhirsch - 1
Are you looking for maintainers here?
#452 opened by OskarStark - 0
Missing `openssl_random_pseudo_bytes`
#453 opened by mvhirsch - 1
ext-ftp incorrect since PHP 8.1
#411 opened by jack-worman - 1
Is this package still actively maintained?
#439 opened by aidan-casey - 0
ZipArchive function getFromIndex() returns exception on archive with empty file
#450 opened by OskarsOzols - 0
Replace resource with GdImage in GD functions
#448 opened by vvasiloi - 1
- 0
PHPStan emits error when Safe\define() creates a dynamic constant with an enum value
#446 opened by acabal - 0
Missing implementation for get_cfg_var()
#447 opened by acabal - 0
Safe\DateTime[Immutable] constructor with no parameters flagged as throwing an exception in PHPStan
#444 opened by acabal - 1
xdebug + set_time_limit + Safe => Exception
#443 opened by josefsabl - 0
PHP 8.4 - Implicit nullability deprecation
#442 opened by Ayesh - 0
Error in libxml_get_last_error
#438 opened by temp - 0
Ensure the new symbols are known to stubs
#435 opened by theofidry - 0
Consider improving codegen
#434 opened by simPod - 1
Add function Safe\hash_file
#410 opened by Jamesking56 - 0
add functions Safe\*val
#427 opened by frederic100 - 0
getopt() return type annotation does not exist
#426 opened by jack-worman - 0
[Feature request] Add support for proc_*
#424 opened by JoniJnm - 5
Wrong type on openssl_ functions
#380 opened by pyrou - 0
Question: how can I use composers vendor/autoload.php from multiple projects using safe?
#422 opened by mfn - 3
PHP 8.2 deprecation: Return type of Safe\DateTimeImmutable::createFromMutable($dateTime): Safe\DateTimeImmutable
#413 opened by staabm - 1
Wrong return value in openssl_pkey_get_private
#403 opened by stanislav-janu - 0
http_response_header missing
#415 opened by diversen - 0
Improve the signature of json_decode function
#414 opened by aturki - 1
Psalm support is unclear from README.md
#408 opened by alies-dev - 0
Missing function \Safe\bzopen
#407 opened by SyuTingSong - 1
- 0
- 0
- 0
md5* functions should return `non-empty-string`
#398 opened by staabm - 4
Warning errors on PHP 8.1
#382 opened by cortier - 0
preg_match_all wrongfully returns null
#389 opened by nreynis - 2
BC break in patch release 2.2.3
#392 opened by davidyell - 15
- 5
Correct way how to iterate fgetcsv
#325 opened by pupitooo - 7
Update `rector-migrate.php`
#375 opened by Aerendir - 2
"php": "^7.2|^8.0"
#331 opened by umpirsky - 1
Take into account global error handlers
#332 opened by j3j5 - 1
Library with method calls instead of function calls
#366 opened by iquito - 2
Too few arguments to function Safe\Exceptions\CurlException::createFromPhpError()
#365 opened by drobek94 - 3
\Safe\fgetcsv should never return false
#356 opened by leo108 - 6
Safe methods should also catch `\ErrorException` and not only check for error conditions
#351 opened by nagmat84 - 7
\array is not array
#343 opened by snapshotpl - 1
`imagecreatefromstring` is missing
#352 opened by nagmat84 - 1
openssl_x509_parse function support
#328 opened by soullivaneuh - 5
New, autoloader-centric file structure
#348 opened by szepeviktor - 5
\Safe\array_combine() missing?
#344 opened by temp - 0
idn_to_ascii function support
#327 opened by soullivaneuh