Browse Source

Upgrade activerecord version for php (no framework) to 1.2.0 (#3074)

This should prevent the php test from printing a warning message to the
logs on each request.  The warning messages look like this:

  Server php: 2017/11/13 18:25:57 [error] 7983#0: *44 FastCGI sent in
  stderr: "PHP message: PHP Warning:  Declaration of
  ActiveRecord\DateTime::setTime($hour, $minute, $second = NULL) should
  be compatible with DateTime::setTime($hour, $minute, $second = NULL,
  $microseconds = NULL) in ...

We tried to do this upgrade before, in commit
2430a5978e2d6e40d680f1b6d571a708902efede, but that commit only updated
the composer.json file and not the composer.lock file.  The composer.lock
file was still specifying activerecord 1.1.2, so that was the version
that would get used at runtime.  Removing the lock file means the version
specified in composer.json will get used instead.

We could update the lock file in source control, but since the
composer.json file specifies an exact version for activerecord (rather
than a version range), the lock file doesn't seem to serve any purpose.
Elsewhere in the project, we're inconsistent with whether we have the
composer.lock file in source control or not.
Michael Hixson 7 years ago
parent
commit
1f0fe34b26
1 changed files with 0 additions and 53 deletions
  1. 0 53
      frameworks/PHP/php/composer.lock

+ 0 - 53
frameworks/PHP/php/composer.lock

@@ -1,53 +0,0 @@
-{
-    "_readme": [
-        "This file locks the dependencies of your project to a known state",
-        "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
-        "This file is @generated automatically"
-    ],
-    "hash": "29f9d390a88d12067cd7e982e14e8cff",
-    "packages": [
-        {
-            "name": "php-activerecord/php-activerecord",
-            "version": "v1.1.2",
-            "source": {
-                "type": "git",
-                "url": "https://github.com/jpfuentes2/php-activerecord.git",
-                "reference": "5a957483801ecc41d95381e9868de7bb08f9be3a"
-            },
-            "dist": {
-                "type": "zip",
-                "url": "https://api.github.com/repos/jpfuentes2/php-activerecord/zipball/5a957483801ecc41d95381e9868de7bb08f9be3a",
-                "reference": "5a957483801ecc41d95381e9868de7bb08f9be3a",
-                "shasum": ""
-            },
-            "require": {
-                "php": ">=5.3.0"
-            },
-            "type": "library",
-            "autoload": {
-                "files": [
-                    "ActiveRecord.php"
-                ]
-            },
-            "notification-url": "https://packagist.org/downloads/",
-            "license": [
-                "MIT"
-            ],
-            "description": "php-activerecord is an open source ORM library based on the ActiveRecord pattern.",
-            "homepage": "http://www.phpactiverecord.org/",
-            "keywords": [
-                "activerecord",
-                "orm"
-            ],
-            "time": "2013-04-26 21:01:08"
-        }
-    ],
-    "packages-dev": [],
-    "aliases": [],
-    "minimum-stability": "stable",
-    "stability-flags": [],
-    "prefer-stable": false,
-    "prefer-lowest": false,
-    "platform": [],
-    "platform-dev": []
-}