summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Molenaar <sean@seanmolenaar.eu>2020-12-08 14:11:39 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2020-12-08 16:11:17 +0100
commite0edfd0dc593d1c25ffe6db5d4daf187b74887b0 (patch)
tree4d193028914429f805ede9b37be07e805205c518
parent4ee3fcb78113caff9f2b890cb7d1702dc936d81e (diff)
Fix alias usage in v2 mapper
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
-rw-r--r--CHANGELOG.md1
-rw-r--r--composer.lock2466
-rw-r--r--lib/Db/ItemMapperV2.php4
-rw-r--r--lib/Db/NewsMapperV2.php7
4 files changed, 9 insertions, 2469 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a76ccf06f..4ac0fb893 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
## Changed
- Remove outdated folder DB code
+- Fix #963
## 15.1.0
diff --git a/composer.lock b/composer.lock
deleted file mode 100644
index 67a3294a9..000000000
--- a/composer.lock
+++ /dev/null
@@ -1,2466 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
- "This file is @generated automatically"
- ],
- "content-hash": "985cf7807f611f683c25cac99ef81605",
- "packages": [
- {
- "name": "andreskrey/readability.php",
- "version": "v2.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/andreskrey/readability.php.git",
- "reference": "7617a912b6c527909168f5d41d263792f171c42a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/andreskrey/readability.php/zipball/7617a912b6c527909168f5d41d263792f171c42a",
- "reference": "7617a912b6c527909168f5d41d263792f171c42a",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-mbstring": "*",
- "ext-xml": "*",
- "php": ">=7.0.0",
- "psr/log": "^1.0"
- },
- "require-dev": {
- "monolog/monolog": "^1.24",
- "phpunit/phpunit": "^6.5"
- },
- "suggest": {
- "monolog/monolog": "Allow logging debug information"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "andreskrey\\Readability\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "authors": [
- {
- "name": "Andres Rey",
- "email": "andreskrey@gmail.com",
- "role": "Lead Developer"
- }
- ],
- "description": "A PHP port of Readability.js",
- "homepage": "https://github.com/andreskrey/readability",
- "keywords": [
- "html",
- "readability"
- ],
- "support": {
- "issues": "https://github.com/andreskrey/readability.php/issues",
- "source": "https://github.com/andreskrey/readability.php/tree/v2.1.0"
- },
- "time": "2019-07-22T21:42:25+00:00"
- },
- {
- "name": "arthurhoaro/favicon",
- "version": "v1.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/ArthurHoaro/favicon.git",
- "reference": "e18ff160cb55d0a57fd28fbd3d89783981e66859"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/ArthurHoaro/favicon/zipball/e18ff160cb55d0a57fd28fbd3d89783981e66859",
- "reference": "e18ff160cb55d0a57fd28fbd3d89783981e66859",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-fileinfo": "*",
- "php": ">=5.6",
- "squizlabs/php_codesniffer": "^3.5"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.8",
- "weew/helpers-filesystem": "~1.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Favicon\\": "src/Favicon/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "Apache-2.0"
- ],
- "authors": [
- {
- "name": "Chris Shiflett",
- "homepage": "http://shiflett.org/"
- },
- {
- "name": "Arthur Hoaro",
- "homepage": "http://hoa.ro"
- }
- ],
- "description": "PHP Library used to discover favicon from given URL",
- "homepage": "https://github.com/ArthurHoaro/favicon",
- "keywords": [
- "favicon",
- "finder",
- "icon"
- ],
- "support": {
- "issues": "https://github.com/ArthurHoaro/favicon/issues",
- "source": "https://github.com/ArthurHoaro/favicon/tree/v1.3.1",
- "sources": "https://github.com/ArthurHoaro/favicon"
- },
- "time": "2020-10-14T09:32:44+00:00"
- },
- {
- "name": "debril/feed-io",
- "version": "v4.7.10",
- "source": {
- "type": "git",
- "url": "https://github.com/alexdebril/feed-io.git",
- "reference": "96ca6d03eaf5e638273248c07a348ed76148bc25"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/alexdebril/feed-io/zipball/96ca6d03eaf5e638273248c07a348ed76148bc25",
- "reference": "96ca6d03eaf5e638273248c07a348ed76148bc25",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-json": "*",
- "ext-libxml": "*",
- "guzzlehttp/guzzle": "~6.2|~7.0",
- "php": ">=7.1",
- "psr/log": "~1.0",
- "symfony/console": "~3.4|~4.0|~5.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^2.4",
- "monolog/monolog": "1.*",
- "phpunit/phpunit": "~9.3.0"
- },
- "suggest": {
- "monolog/monolog": "Allows to handle logs"
- },
- "bin": [
- "bin/feedio"
- ],
- "type": "library",
- "autoload": {
- "psr-4": {
- "FeedIo\\": "src/FeedIo"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Alexandre Debril",
- "email": "alex.debril@gmail.com"
- }
- ],
- "description": "PHP library built to consume and serve JSONFeed / RSS / Atom feeds",
- "homepage": "https://feed-io.net",
- "keywords": [
- "atom",
- "cli",
- "client",
- "feed",
- "jsonfeed",
- "news",
- "rss"
- ],
- "support": {
- "issues": "https://github.com/alexdebril/feed-io/issues",
- "source": "https://github.com/alexdebril/feed-io/tree/v4.7.10"
- },
- "funding": [
- {
- "url": "https://github.com/alexdebril",
- "type": "github"
- }
- ],
- "time": "2020-09-30T14:50:31+00:00"
- },
- {
- "name": "ezyang/htmlpurifier",
- "version": "v4.13.0",
- "source": {
- "type": "git",
- "url": "https://github.com/ezyang/htmlpurifier.git",
- "reference": "08e27c97e4c6ed02f37c5b2b20488046c8d90d75"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/08e27c97e4c6ed02f37c5b2b20488046c8d90d75",
- "reference": "08e27c97e4c6ed02f37c5b2b20488046c8d90d75",
- "shasum": ""
- },
- "require": {
- "php": ">=5.2"
- },
- "require-dev": {
- "simpletest/simpletest": "dev-master#72de02a7b80c6bb8864ef9bf66d41d2f58f826bd"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "HTMLPurifier": "library/"
- },
- "files": [
- "library/HTMLPurifier.composer.php"
- ],
- "exclude-from-classmap": [
- "/library/HTMLPurifier/Language/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "LGPL-2.1-or-later"
- ],
- "authors": [
- {
- "name": "Edward Z. Yang",
- "email": "admin@htmlpurifier.org",
- "homepage": "http://ezyang.com"
- }
- ],
- "description": "Standards compliant HTML filter written in PHP",
- "homepage": "http://htmlpurifier.org/",
- "keywords": [
- "html"
- ],
- "support": {
- "issues": "https://github.com/ezyang/htmlpurifier/issues",
- "source": "https://github.com/ezyang/htmlpurifier/tree/master"
- },
- "time": "2020-06-29T00:56:53+00:00"
- },
- {
- "name": "pear/net_url2",
- "version": "v2.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/pear/Net_URL2.git",
- "reference": "07fd055820dbf466ee3990abe96d0e40a8791f9d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/pear/Net_URL2/zipball/07fd055820dbf466ee3990abe96d0e40a8791f9d",
- "reference": "07fd055820dbf466ee3990abe96d0e40a8791f9d",
- "shasum": ""
- },
- "require": {
- "php": ">=5.1.4"
- },
- "require-dev": {
- "phpunit/phpunit": ">=3.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "Net/URL2.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "include-path": [
- "./"
- ],
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "David Coallier",
- "email": "davidc@php.net"
- },
- {
- "name": "Tom Klingenberg",
- "email": "tkli@php.net"
- },
- {
- "name": "Christian Schmidt",
- "email": "chmidt@php.net"
- }
- ],
- "description": "Class for parsing and handling URL. Provides parsing of URLs into their constituent parts (scheme, host, path etc.), URL generation, and resolving of relative URLs.",
- "homepage": "https://github.com/pear/Net_URL2",
- "keywords": [
- "PEAR",
- "net",
- "networking",
- "rfc3986",
- "uri",
- "url"
- ],
- "support": {
- "issues": "https://pear.php.net/bugs/search.php?cmd=display&package_name[]=Net_URL2",
- "source": "https://github.com/pear/Net_URL2"
- },
- "time": "2017-08-25T06:16:11+00:00"
- },
- {
- "name": "psr/log",
- "version": "1.1.3",
- "source": {
- "type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/0f73288fd15629204f9d42b7055f72dacbe811fc",
- "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Psr\\Log\\": "Psr/Log/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
- }
- ],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
- "keywords": [
- "log",
- "psr",
- "psr-3"
- ],
- "support": {
- "source": "https://github.com/php-fig/log/tree/1.1.3"
- },
- "time": "2020-03-23T09:12:05+00:00"
- },
- {
- "name": "riimu/kit-pathjoin",
- "version": "v1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/Riimu/Kit-PathJoin.git",
- "reference": "8ad2656c79527dba9f7f20e1229dcd38abfe8cee"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Riimu/Kit-PathJoin/zipball/8ad2656c79527dba9f7f20e1229dcd38abfe8cee",
- "reference": "8ad2656c79527dba9f7f20e1229dcd38abfe8cee",
- "shasum": ""
- },
- "require": {
- "php": ">=5.4.0"
- },
- "require-dev": {
- "friendsofphp/php-cs-fixer": "^2.3",
- "phpunit/phpunit": "^5.7 || ^6.2",
- "squizlabs/php_codesniffer": "^3.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Riimu\\Kit\\PathJoin\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Riikka Kalliomäki",
- "email": "riikka.kalliomaki@gmail.com",
- "homepage": "http://riimu.net"
- }
- ],
- "description": "Cross-platform library for normalizing and joining file system paths",
- "homepage": "http://kit.riimu.net",
- "keywords": [
- "file",
- "join",
- "normalize",
- "path",
- "system"
- ],
- "support": {
- "issues": "https://github.com/Riimu/Kit-PathJoin/issues",
- "source": "https://github.com/Riimu/Kit-PathJoin/tree/master"
- },
- "time": "2017-07-09T14:41:04+00:00"
- },
- {
- "name": "squizlabs/php_codesniffer",
- "version": "3.5.8",
- "source": {
- "type": "git",
- "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "9d583721a7157ee997f235f327de038e7ea6dac4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/9d583721a7157ee997f235f327de038e7ea6dac4",
- "reference": "9d583721a7157ee997f235f327de038e7ea6dac4",
- "shasum": ""
- },
- "require": {
- "ext-simplexml": "*",
- "ext-tokenizer": "*",
- "ext-xmlwriter": "*",
- "php": ">=5.4.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
- },
- "bin": [
- "bin/phpcs",
- "bin/phpcbf"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.x-dev"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Greg Sherwood",
- "role": "lead"
- }
- ],
- "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
- "homepage": "https://github.com/squizlabs/PHP_CodeSniffer",
- "keywords": [
- "phpcs",
- "standards"
- ],
- "support": {
- "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues",
- "source": "https://github.com/squizlabs/PHP_CodeSniffer",
- "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
- },
- "time": "2020-10-23T02:01:07+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/d56bf6102915de5702778fe20f2de3b2fe570b5b",
- "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b",
- "shasum": ""
- },
- "require": {
- "php": "^7.1 || ^8.0"
- },
- "require-dev": {
- "doctrine/coding-standard": "^8.0",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpbench/phpbench": "^0.13 || 1.0.0-alpha2",
- "phpstan/phpstan": "^0.12",
- "phpstan/phpstan-phpunit": "^0.12",
- "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "https://ocramius.github.io/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://www.doctrine-project.org/projects/instantiator.html",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "support": {
- "issues": "https://github.com/doctrine/instantiator/issues",
- "source": "https://github.com/doctrine/instantiator/tree/1.4.0"
- },
- "funding": [
- {
- "url": "https://www.doctrine-project.org/sponsorship.html",
- "type": "custom"
- },
- {
- "url": "https://www.patreon.com/phpdoctrine",
- "type": "patreon"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator",
- "type": "tidelift"
- }
- ],
- "time": "2020-11-10T18:47:58+00:00"
- },
- {
- "name": "myclabs/deep-copy",
- "version": "1.10.2",
- "source": {
- "type": "git",
- "url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/776f831124e9c62e1a2c601ecc52e776d8bb7220",
- "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220",
- "shasum": ""
- },
- "require": {
- "php": "^7.1 || ^8.0"
- },
- "replace": {
- "myclabs/deep-copy": "self.version"
- },
- "require-dev": {
- "doctrine/collections": "^1.0",
- "doctrine/common": "^2.6",
- "phpunit/phpunit": "^7.1"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "DeepCopy\\": "src/DeepCopy/"
- },
- "files": [
- "src/DeepCopy/deep_copy.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Create deep copies (clones) of your objects",
- "keywords": [
- "clone",
- "copy",
- "duplicate",
- "object",
- "object graph"
- ],
- "support": {
- "issues": "https://github.com/myclabs/DeepCopy/issues",
- "source": "https://github.com/myclabs/DeepCopy/tree/1.10.2"
- },
- "funding": [
- {
- "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy",
- "type": "tidelift"
- }
- ],
- "time": "2020-11-13T09:40:50+00:00"
- },
- {
- "name": "phar-io/manifest",
- "version": "1.0.3",
- "source": {
- "type": "git",
- "url": "https://github.com/phar-io/manifest.git",
- "reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phar-io/manifest/zipball/7761fcacf03b4d4f16e7ccb606d4879ca431fcf4",
- "reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-phar": "*",
- "phar-io/version": "^2.0",
- "php": "^5.6 || ^7.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Heuer",
- "email": "sebastian@phpeople.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "Developer"
- }
- ],
- "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
- "support": {
- "issues": "https://github.com/phar-io/manifest/issues",
- "source": "https://github.com/phar-io/manifest/tree/master"
- },
- "time": "2018-07-08T19:23:20+00:00"
- },
- {
- "name": "phar-io/version",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phar-io/version.git",
- "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phar-io/version/zipball/45a2ec53a73c70ce41d55cedef9063630abaf1b6",
- "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Heuer",
- "email": "sebastian@phpeople.de",
- "role": "Developer"