summaryrefslogtreecommitdiff
path: root/ext/phar/tests/badparameters.phpt
Commit message (Collapse)AuthorAgeFilesLines
* Replace dirname(__FILE__) by __DIR__ in testsFabien Villepinte2019-03-151-3/+3
|
* remove support for string|unicode in testsGabriel Caruso2018-02-221-2/+2
|
* Use int instead of integer in type errorsGabriel Caruso2018-02-041-5/+5
| | | | | | | PHP requires integer typehints to be written "int" and does not allow "integer" as an alias. This changes type error messages to match the actual type name and avoids confusing messages like "must be of the type integer, integer given".
* Fix bug #71860: Require valid paths for phar filenamesStanislav Malyshev2016-03-201-9/+9
|
* Updated tests to reflect exception class changes.Aaron Piotrowski2015-05-161-1/+1
|
* Always throw TypeException on throwing zpp failuresNikita Popov2015-04-061-1/+1
| | | | | | | | | | | | | | Introduces a ZEND_PARSE_PARAMS_THROW flag for zpp, which forces to report FAILURE errors using a TypeException instead of a Warning, like it would happen in strict mode. Adds a zend_parse_parameters_throw() convenience function, which invokes zpp with this flag. Converts all cases I could identify, where we currently have throwing zpp usage in constructors and replaces them with this API. Error handling is still replaced to EH_THROW in some cases to handle other, domain-specific errors in constructors.
* Patch improvement:Dmitry Stogov2015-03-301-5/+26
| | | | | | | | Removed the corresponding core code. Fixed ext/com_dotnet and ext/date. Refactored ext/intl changes. Improved ext/fileinfo and ext/pdo changes. Fixed tests.
* Use "float" and "integer" in typehint and zpp errorsAndrea Faulds2014-12-211-5/+5
|
* - Unifiy that messageHannes Magnusson2010-04-271-3/+3
| | | | | | - Mention php.ini
* mention which setting!Hannes Magnusson2010-04-251-3/+3
|
* merge unmerged changes between branches, remove unnecessary test for zip ↵Greg Beaver2009-07-241-6/+0
| | | | signature failure in badparameters.phpt
* - Bring phar tests into line across all branchesSteph Fox2008-08-011-20/+14
|
* - IS_UNICODE checks and conversionsSteph Fox2008-05-191-14/+14
| | | | | | - stub and creation file updates - far too many test updates to think about
* MFB: add full metadata support for tar-based archives and testGreg Beaver2008-05-151-12/+0
|
* - Prevent phars with empty manifests flushing to diskSteph Fox2008-04-291-4/+0
| | | | | | | - This would've fixed that test... removing clean section @Greg: I commented out the call that breaks the Windows build, pending a decision about its future.
* - Fix paths in testSteph Fox2008-04-291-3/+7
|
* big ol code coverage test for bad parameters to Phar methodsGreg Beaver2008-04-221-0/+210