Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make is_file() and friends return false when path contains 0-byte | Christian Schneider | 2020-12-03 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | These functions now return false silently: is_writable, is_readable, is_executable, is_file, is_dir, is_link, file_exists These functions now throw a warning an return false (rather than throwing a ValueError): fileperms, fileinode, filesize, fileowner, filegroup, filetype, fileatime, filemtime, filectime, lstat, stat See also https://externals.io/message/112333. Closes GH-6478. | ||||
* | Make null byte error a ValueError | Nikita Popov | 2020-09-08 | 1 | -3/+3 |
| | | | | | | | | | | | | | Currently we treat paths with null bytes as a TypeError, which is incorrect, and rather inconsistent, as we treat empty paths as ValueError. We do this because the error is generated by zpp and it's easier to always throw TypeError there. This changes the zpp implementation to throw a TypeError only if the type is actually wrong and throw ValueError for null bytes. The error message is also split accordingly, to be more precise. Closes GH-6094. | ||||
* | Remove unnecessary PHPDoc-alike blocks from tests | Máté Kocsis | 2020-06-24 | 1 | -5/+0 |
| | | | | Closes GH-5759 | ||||
* | Change argument error message format | Máté Kocsis | 2020-02-26 | 1 | -2/+2 |
| | | | | Closes GH-5211 | ||||
* | Make type error messages more consistent | Máté Kocsis | 2020-02-17 | 1 | -3/+3 |
| | | | | Closes GH-5092 | ||||
* | Merge branch 'PHP-7.4' | Peter Kokot | 2019-03-15 | 1 | -2/+2 |
|\ | | | | | | | | | * PHP-7.4: Replace dirname(__FILE__) by __DIR__ in tests | ||||
| * | Replace dirname(__FILE__) by __DIR__ in tests | Fabien Villepinte | 2019-03-15 | 1 | -2/+2 |
| | | |||||
* | | Adjust tests for zpp TypeError change | Nikita Popov | 2019-03-11 | 1 | -7/+7 |
|/ | |||||
* | s/valid path/a valid path/ | Felipe Pena | 2011-06-08 | 1 | -2/+2 |
| | |||||
* | - Test fixes | Felipe Pena | 2011-06-07 | 1 | -2/+6 |
| | |||||
* | New testcases for is_dir() function | Raghubansh Kumar | 2007-07-21 | 1 | -0/+85 |