-
Notifications
You must be signed in to change notification settings - Fork 2.5k
PHP 7 on Travis-CI (re-redux) #7366
PHP 7 on Travis-CI (re-redux) #7366
Commits on Mar 24, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 0de4dd6 - Browse repository at this point
Copy the full SHA 0de4dd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00b5275 - Browse repository at this point
Copy the full SHA 00b5275View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c3ace8 - Browse repository at this point
Copy the full SHA 4c3ace8View commit details -
We're ensuring at least one item is in $_ENV, but we are not resetting its state. As such, the comparison should be that it has at least 1 item, not exactly 1.
Configuration menu - View commit details
-
Copy full SHA for b48c2af - Browse repository at this point
Copy the full SHA b48c2afView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef0b6ba - Browse repository at this point
Copy the full SHA ef0b6baView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad5134d - Browse repository at this point
Copy the full SHA ad5134dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef6cace - Browse repository at this point
Copy the full SHA ef6caceView commit details -
Configuration menu - View commit details
-
Copy full SHA for e77e759 - Browse repository at this point
Copy the full SHA e77e759View commit details -
Configuration menu - View commit details
-
Copy full SHA for edb4f56 - Browse repository at this point
Copy the full SHA edb4f56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e5c7e0 - Browse repository at this point
Copy the full SHA 8e5c7e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a4e5b1 - Browse repository at this point
Copy the full SHA 1a4e5b1View commit details -
Fixed argument redefinition problems
- Prior to PHP 7, you could specify the same name for multiple arguments; PHP 7 makes this a fatal error. The "feature" was used in several tests where 2 or more arguments from a data provider were not being used. Updated these to use discrete names for each argument.
Configuration menu - View commit details
-
Copy full SHA for 22959f0 - Browse repository at this point
Copy the full SHA 22959f0View commit details -
Fix E_RECOVERABLE_ERROR detection in Zend\Di tests
Prior to PHP 7, an E_ERROR was returned when trying to instantiate a class but omitting required arguments; with PHP 7, this is now an E_RECOVERABLE_ERROR. As such, trapping such errors intentionally requires an error handler.
Configuration menu - View commit details
-
Copy full SHA for 8608973 - Browse repository at this point
Copy the full SHA 8608973View commit details -
Skip some Logger tests when under PHP 7
Both calling an undefined instance method as well as undefined static method now raise an E_ERROR (instead of an E_RECOVERABLE_ERROR), which means shutdown functions cannot be called... nor can the tests be executed.
Configuration menu - View commit details
-
Copy full SHA for cb7411b - Browse repository at this point
Copy the full SHA cb7411bView commit details -
Ensure height and width are integers
when used as parameters to various `image*()` functions
Configuration menu - View commit details
-
Copy full SHA for f8fa34b - Browse repository at this point
Copy the full SHA f8fa34bView commit details -
Cast data to string before caching
Ensure the data being written is a string before attempting to write it. Also, `usleep()` requires an integer; change made to allow Filesystem storage tests to pass.
Configuration menu - View commit details
-
Copy full SHA for 0c11215 - Browse repository at this point
Copy the full SHA 0c11215View commit details -
ob_implicit_flush expects an integer; dba_replace, a string
Even though the ob_implicit_flush docs use the boolean constants, it actually expects an integer, either 0 or 1. Because PHP. dba_replace expects string data.
Configuration menu - View commit details
-
Copy full SHA for 98c103d - Browse repository at this point
Copy the full SHA 98c103dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b798ca5 - Browse repository at this point
Copy the full SHA b798ca5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f949d21 - Browse repository at this point
Copy the full SHA f949d21View commit details -
Use string value when performing strtr
Oddly, there was a cast version of the value already; it just wasn't being used in strtr().
Configuration menu - View commit details
-
Copy full SHA for dfbb203 - Browse repository at this point
Copy the full SHA dfbb203View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69a0f41 - Browse repository at this point
Copy the full SHA 69a0f41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53a2eaf - Browse repository at this point
Copy the full SHA 53a2eafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a20efb - Browse repository at this point
Copy the full SHA 2a20efbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 452ac65 - Browse repository at this point
Copy the full SHA 452ac65View commit details -
Skip tests that cannot run in PHP 7
Error that the test was trapping has been converted to an E_FATAL starting in PHP 7.
Configuration menu - View commit details
-
Copy full SHA for dbf6be2 - Browse repository at this point
Copy the full SHA dbf6be2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bfb48f - Browse repository at this point
Copy the full SHA 9bfb48fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 189414e - Browse repository at this point
Copy the full SHA 189414eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce9ea45 - Browse repository at this point
Copy the full SHA ce9ea45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14a889f - Browse repository at this point
Copy the full SHA 14a889fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a456d29 - Browse repository at this point
Copy the full SHA a456d29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0dbfb64 - Browse repository at this point
Copy the full SHA 0dbfb64View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0071837 - Browse repository at this point
Copy the full SHA 0071837View commit details -
Configuration menu - View commit details
-
Copy full SHA for 955af24 - Browse repository at this point
Copy the full SHA 955af24View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb69154 - Browse repository at this point
Copy the full SHA cb69154View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d0e449 - Browse repository at this point
Copy the full SHA 9d0e449View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b22263 - Browse repository at this point
Copy the full SHA 8b22263View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6f2dc1 - Browse repository at this point
Copy the full SHA f6f2dc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cc7429 - Browse repository at this point
Copy the full SHA 1cc7429View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29d6fde - Browse repository at this point
Copy the full SHA 29d6fdeView commit details -
Override MongoDBOptions::__set to validate arguments
- Instead of relying on PHP errors, as invalid types raise E_FATAL
Configuration menu - View commit details
-
Copy full SHA for bbf742c - Browse repository at this point
Copy the full SHA bbf742cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e923464 - Browse repository at this point
Copy the full SHA e923464View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2a94a1 - Browse repository at this point
Copy the full SHA f2a94a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e187b77 - Browse repository at this point
Copy the full SHA e187b77View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23f8ba6 - Browse repository at this point
Copy the full SHA 23f8ba6View commit details -
Configuration menu - View commit details
-
Copy full SHA for fae07f9 - Browse repository at this point
Copy the full SHA fae07f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ed8959 - Browse repository at this point
Copy the full SHA 6ed8959View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d34295 - Browse repository at this point
Copy the full SHA 8d34295View commit details -
Configuration menu - View commit details
-
Copy full SHA for eab06c4 - Browse repository at this point
Copy the full SHA eab06c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b686ef5 - Browse repository at this point
Copy the full SHA b686ef5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99e8520 - Browse repository at this point
Copy the full SHA 99e8520View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4552cee - Browse repository at this point
Copy the full SHA 4552ceeView commit details -
Configuration menu - View commit details
-
Copy full SHA for fded78e - Browse repository at this point
Copy the full SHA fded78eView commit details -
Ensure we have reasonable dependencies
- Used semantic operator for all deps. - Added composer.lock to repo, to speed up builds.
Configuration menu - View commit details
-
Copy full SHA for 126f91c - Browse repository at this point
Copy the full SHA 126f91cView commit details -
"int" is a reserved keyword starting in PHP 7. This patch changes the class name to `ToInt`. A later patch will provide the original class, but have it extend the new one.
Configuration menu - View commit details
-
Copy full SHA for e8a03dd - Browse repository at this point
Copy the full SHA e8a03ddView commit details -
Re-adds the `Int` filter for backwards compatibility. The new version extends `ToInt`, but raises an `E_USER_DEPRECATED` in the constructor, instructing users to use the new filter.
Configuration menu - View commit details
-
Copy full SHA for 833eff1 - Browse repository at this point
Copy the full SHA 833eff1View commit details -
Renamed Int validator to IsInt
PHP 7 reserves "int" as a keyword, necessitating a change in the class name; a later commit will re-add the original class, with a deprecation notice.
Configuration menu - View commit details
-
Copy full SHA for 5a5c493 - Browse repository at this point
Copy the full SHA 5a5c493View commit details -
This patch re-adds the `Int` validator to retain backwards compatility. It extends the `IsInt` validator, raising an `E_USER_DEPRECATED` error during instantiation.
Configuration menu - View commit details
-
Copy full SHA for f836016 - Browse repository at this point
Copy the full SHA f836016View commit details -
Renamed Float validator to IsFloat
PHP 7 marks "float" as a reserved keyword; this patch renames the `Float` validator to `IsFloat` for forward compatibility. A later patch will re-add the original class with a deprecation notice in the constructor.
Configuration menu - View commit details
-
Copy full SHA for 37bfe6d - Browse repository at this point
Copy the full SHA 37bfe6dView commit details -
This patch re-adds the `Float` validator for backwards compatibility. It extends the `IsFloat` validator and raises an `E_USER_DEPRECATED` notice during instantiation to warn users to migrate.
Configuration menu - View commit details
-
Copy full SHA for 4f0eb9e - Browse repository at this point
Copy the full SHA 4f0eb9eView commit details
Commits on Mar 25, 2015
-
Renamed Float DDL column type to Floating
PHP 7 reserves "float" as a keyword; this patch renames the class to `Floating`. A later patch will reintroduce the original class for backwards compatibility, and raise a deprecation notice.
Configuration menu - View commit details
-
Copy full SHA for 7a6de4f - Browse repository at this point
Copy the full SHA 7a6de4fView commit details -
Re-add Float column for backwards compatibility
Re-added the Float DDL column class to retain BC; it now raises an `E_USER_DEPRECATED` notice on instantiation to warn users to migrate.
Configuration menu - View commit details
-
Copy full SHA for c95a696 - Browse repository at this point
Copy the full SHA c95a696View commit details -
Renamed String XML-RPC value to Text
"string" is now a reserved keyword in PHP 7, so the class must be renamed. Updated `AbstractValue` to use the new class name in all instances, ensuring that both the Server and Client will continue to work seamlessly.
Configuration menu - View commit details
-
Copy full SHA for 0ba058c - Browse repository at this point
Copy the full SHA 0ba058cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cec312 - Browse repository at this point
Copy the full SHA 2cec312View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bfc816 - Browse repository at this point
Copy the full SHA 8bfc816View commit details -
- Range element uses a float validator internally; updated it to use `IsFloat` - A number of tests and test assets used the `Float` validator; since they do not use the plugin manager, these were updated to use `IsFloat` instead.
Configuration menu - View commit details
-
Copy full SHA for db1f4ca - Browse repository at this point
Copy the full SHA db1f4caView commit details -
CS fixes reported by php-cs-fixer
- Unused use - whitespacey lines
Configuration menu - View commit details
-
Copy full SHA for a0e4380 - Browse repository at this point
Copy the full SHA a0e4380View commit details -
Rename Object form annotation to Instance
`object` will be a reserved word in PHP 7, and, as such, we cannot use it as an annotation class name. `Instance` was chosen, and `Object` has been altered to extend `Instance` and emit an `E_USER_DEPRECATED` notice on instantiation.
Configuration menu - View commit details
-
Copy full SHA for 6972652 - Browse repository at this point
Copy the full SHA 6972652View commit details -
Renamed Null log writer to Noop
`null` will be a reserved keyword in PHP 7; this patch renames the `Null` log writer to `Noop` (as it performs a no-op). A later patch will re-define the `Null` writer to extend `Noop` and emit a deprecation notice.
Configuration menu - View commit details
-
Copy full SHA for 7410c83 - Browse repository at this point
Copy the full SHA 7410c83View commit details -
This patch reinstates the Null log writer for BC purposes. It extends Noop, and emits an `E_USER_DEPRECATED` notice on instantiation.
Configuration menu - View commit details
-
Copy full SHA for 25a53b5 - Browse repository at this point
Copy the full SHA 25a53b5View commit details -
`null` will be a reserved keyword in PHP 7. This patch renames the `Null` filter to `ToNull`, and ensures the filter plugin manager will use the new class. A future patch will reinstate the `Null` filter with an `E_USER_DEPRECATED` notice.
Configuration menu - View commit details
-
Copy full SHA for cea00bf - Browse repository at this point
Copy the full SHA cea00bfView commit details -
Re-added the Null filter for BC purposes; it now emits an `E_USER_DEPRECATED` notice on instantiation, warning the user to migrate.
Configuration menu - View commit details
-
Copy full SHA for 5e3a3d0 - Browse repository at this point
Copy the full SHA 5e3a3d0View commit details -
Renamed Null pagination adatper to NullFill
`null` will be a reserved keyword in PHP 7. This patch renames the `Null` pagination adapter to `NullFill` (which describes better what it does). A future patch will reinstate the original, but emit an `E_USER_DEPRECATED` notice.
Configuration menu - View commit details
-
Copy full SHA for 466fa52 - Browse repository at this point
Copy the full SHA 466fa52View commit details -
Re-add Null pagination adapter for BC
This patch re-adds the `Null` pagination adapter for BC. It now emits an `E_USER_DEPRECATED` notice on instantiation.
Configuration menu - View commit details
-
Copy full SHA for 5562393 - Browse repository at this point
Copy the full SHA 5562393View commit details -
Renamed Null mail transport to InMemory
`null` will be a reserved keyword in PHP 7. This patch renames the `Null` mail transport to `InMemory`, and updates the factory to return an `InMemory` instance whenever `null` is retrieved. A future patch will re-add the `Null` transport with an `E_USER_DEPRECATION` notice.
Configuration menu - View commit details
-
Copy full SHA for 605df76 - Browse repository at this point
Copy the full SHA 605df76View commit details -
Re-add Null mail transport for BC
This patch re-adds the `Null` mail transport to keep BC. The class extends `InMemory` and raises an `E_USER_DEPRECATED` on instantiation.
Configuration menu - View commit details
-
Copy full SHA for 588256e - Browse repository at this point
Copy the full SHA 588256eView commit details -
Update paginator plugin manager to use NullFill
Added aliases for "null" and "Zend\Paginator\Adapter\Null" that point to "nullfill", and defined that as an invokable class pointing at `Zend\Paginator\Adapter\NullFill`.
Configuration menu - View commit details
-
Copy full SHA for 349efe6 - Browse repository at this point
Copy the full SHA 349efe6View commit details -
Updated Zend\Di test to use ToNull filter
instead of `Null` filter, to ensure tests work going forward. Also fixed the deprecation notice in the `null` filter to point to the appropriate replacement class.
Configuration menu - View commit details
-
Copy full SHA for 2dbf40e - Browse repository at this point
Copy the full SHA 2dbf40eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee2c535 - Browse repository at this point
Copy the full SHA ee2c535View commit details