Nikita Popov
7485978339
Migrate SKIPIF -> EXTENSIONS ( #7138 )
...
This is an automated migration of most SKIPIF extension_loaded checks.
2021-06-11 11:57:42 +02:00
Nikita Popov
79484b4f8a
Update ext/sockets parameter names
...
Also change $max_length to $length in a number of filesystem APIs,
where our usage was inconsistent.
Closes GH-6276.
2020-10-06 12:12:43 +02:00
Nikita Popov
25f1c405ff
Update ext/standard parameter names
...
Closes GH-6214.
2020-09-29 16:49:46 +02:00
Nikita Popov
7e339a335e
Make null byte error a ValueError
...
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.
2020-09-08 15:23:23 +02:00
Máté Kocsis
be5ba20132
Promote warnings to exceptions in ext/phar
...
Closes GH-6008
2020-08-25 11:57:37 +02:00
Nikita Popov
8d2c7efbc0
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Remove unnecessary "poo" rmdirs
2020-06-05 16:27:09 +02:00
Nikita Popov
4902b1c554
Remove unnecessary "poo" rmdirs
...
"poo" was only used in the opendir_edgecases test, but rmdir'ed
in some other tests as well.
I've also taken the liberty of renaming this directory...
2020-06-05 16:26:09 +02:00
Máté Kocsis
960318ed95
Change argument error message format
...
Closes GH-5211
2020-02-26 15:00:08 +01:00
Máté Kocsis
ac0853eb26
Make type error messages more consistent
...
Closes GH-5092
2020-02-17 14:22:17 +01:00
Máté Kocsis
d1764ca330
Make error messages more consistent by fixing capitalization
...
Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable.
2020-01-17 14:52:46 +01:00
Fabien Villepinte
a555cc0b3d
Clean DONE tags from tests
...
Remove most of the `===DONE===` tags and its variations.
Keep `===DONE===` if the test output otherwise becomes empty.
Closes GH-4872.
2019-11-07 21:31:47 +01:00
Nikita Popov
1cdc0d9056
Merge branch 'PHP-7.4'
2019-07-10 12:55:52 +02:00
Nikita Popov
07bbc54658
Fix file collisions in phar tests
2019-07-10 12:55:40 +02:00
Peter Kokot
6426420f61
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Replace dirname(__FILE__) by __DIR__ in tests
2019-03-15 23:36:47 +01:00
Fabien Villepinte
26dfce7f36
Replace dirname(__FILE__) by __DIR__ in tests
2019-03-15 22:55:30 +01:00
Nikita Popov
852485d8ec
Adjust tests for zpp TypeError change
2019-03-11 11:32:20 +01:00
Tom Van Looy
442fd2f92a
Cleanup tests version checks
2016-11-20 14:16:50 +01:00
Dmitry Stogov
e3de409eac
Fixed PHP6 unicode related tests
2014-08-15 13:08:53 +04:00
Hannes Magnusson
2c2c113b77
Changed error messages
2011-08-29 14:29:40 +00:00
Pierre Joye
cc1c7af037
- remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ
2011-07-22 11:25:30 +00:00
Steph Fox
755642c355
- Bring phar tests into line across all branches
2008-08-01 13:36:19 +00:00
Steph Fox
f08aea109b
- IS_UNICODE checks and conversions
...
- stub and creation file updates
- far too many test updates to think about
2008-05-19 19:05:42 +00:00
Steph Fox
7416b0cd91
- Fix tests
2008-05-12 12:46:41 +00:00
Greg Beaver
92f0dc842f
fix test
2008-05-11 22:44:33 +00:00
Greg Beaver
38d5943ee6
increase code coverage of funcinterceptors to 90%+, fix many bugs, fix errant wrong test condition in fgc_edgecases
2008-05-11 19:17:51 +00:00