diff --git a/composer.json b/composer.json index ab6ce5e..7462af5 100644 --- a/composer.json +++ b/composer.json @@ -5,9 +5,9 @@ "require": { "php": ">=8.0.2", "ext-dom": "*", - "mensbeam/html-parser": "^1.2.1", - "symfony/css-selector": "^5.3", - "mensbeam/getters-and-setters": "^1.0" + "mensbeam/html-parser": ">=1.2.1", + "symfony/css-selector": ">=5.3", + "mensbeam/getters-and-setters": ">=1.1" }, "require-dev": { "bamarni/composer-bin-plugin": "^1.3", diff --git a/composer.lock b/composer.lock index 1fb4e46..d10c45b 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "c441c122f6d97e0bd5bf64e45c72a190", + "content-hash": "dc49ff7a1b170e6b1f368a4f5145543e", "packages": [ { "name": "mensbeam/getters-and-setters", - "version": "v1.0.2", + "version": "v1.1.0", "source": { "type": "git", - "url": "https://github.com/mensbeam/getters-and-setters.git", - "reference": "b9d3aaf6ed17f317bbb22cd41ad3a29679741434" + "url": "https://github.com/mensbeam/Getters-and-Setters.git", + "reference": "141a946eb476b1f897315aa5faf5ade64a306e88" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mensbeam/getters-and-setters/zipball/b9d3aaf6ed17f317bbb22cd41ad3a29679741434", - "reference": "b9d3aaf6ed17f317bbb22cd41ad3a29679741434", + "url": "https://api.github.com/repos/mensbeam/Getters-and-Setters/zipball/141a946eb476b1f897315aa5faf5ade64a306e88", + "reference": "141a946eb476b1f897315aa5faf5ade64a306e88", "shasum": "" }, "require": { @@ -30,7 +30,7 @@ "type": "library", "autoload": { "psr-4": { - "MensBeam\\Foundation\\": "lib/" + "MensBeam\\": "lib/" } }, "notification-url": "https://packagist.org/downloads/", @@ -45,10 +45,9 @@ ], "description": "Getter and setter method trait for PHP", "support": { - "issues": "https://github.com/mensbeam/getters-and-setters/issues", - "source": "https://github.com/mensbeam/getters-and-setters/tree/v1.0.2" + "source": "https://github.com/mensbeam/Getters-and-Setters/tree/v1.1.0" }, - "time": "2023-01-27T01:15:05+00:00" + "time": "2023-02-19T19:17:19+00:00" }, { "name": "mensbeam/html-parser", @@ -282,21 +281,20 @@ }, { "name": "symfony/css-selector", - "version": "v5.4.19", + "version": "v6.2.5", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "f4a7d150f5b9e8f974f6f127d8167e420d11fc62" + "reference": "bf1b9d4ad8b1cf0dbde8b08e0135a2f6259b9ba1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/f4a7d150f5b9e8f974f6f127d8167e420d11fc62", - "reference": "f4a7d150f5b9e8f974f6f127d8167e420d11fc62", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/bf1b9d4ad8b1cf0dbde8b08e0135a2f6259b9ba1", + "reference": "bf1b9d4ad8b1cf0dbde8b08e0135a2f6259b9ba1", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/polyfill-php80": "^1.16" + "php": ">=8.1" }, "type": "library", "autoload": { @@ -328,90 +326,7 @@ "description": "Converts CSS selectors to XPath expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/css-selector/tree/v5.4.19" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2023-01-01T08:32:19+00:00" - }, - { - "name": "symfony/polyfill-php80", - "version": "v1.27.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", - "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ion Bazan", - "email": "ion.bazan@gmail.com" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0" + "source": "https://github.com/symfony/css-selector/tree/v6.2.5" }, "funding": [ { @@ -427,7 +342,7 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2023-01-01T08:38:09+00:00" } ], "packages-dev": [ diff --git a/lib/Collection.php b/lib/Collection.php index c112952..234022a 100644 --- a/lib/Collection.php +++ b/lib/Collection.php @@ -7,7 +7,7 @@ declare(strict_types=1); namespace MensBeam\HTML\DOM; -use MensBeam\Foundation\GettersAndSetters, +use MensBeam\GettersAndSetters, MensBeam\HTML\DOM\Inner\Document as InnerDocument; diff --git a/lib/DOMTokenList.php b/lib/DOMTokenList.php index 51e20f4..ada7ce6 100644 --- a/lib/DOMTokenList.php +++ b/lib/DOMTokenList.php @@ -8,7 +8,7 @@ declare(strict_types=1); namespace MensBeam\HTML\DOM; use MensBeam\HTML\Parser\Data, - MensBeam\Foundation\GettersAndSetters, + MensBeam\GettersAndSetters, MensBeam\HTML\DOM\Inner\Reflection; diff --git a/lib/Inner/Document.php b/lib/Inner/Document.php index 459bab9..7b80e2b 100644 --- a/lib/Inner/Document.php +++ b/lib/Inner/Document.php @@ -7,7 +7,7 @@ declare(strict_types=1); namespace MensBeam\HTML\DOM\Inner; -use MensBeam\Foundation\GettersAndSetters; +use MensBeam\GettersAndSetters; use MensBeam\HTML\DOM\{ Document as WrapperDocument, DOMException, diff --git a/lib/Node.php b/lib/Node.php index d0855fc..606a86b 100644 --- a/lib/Node.php +++ b/lib/Node.php @@ -7,7 +7,7 @@ declare(strict_types=1); namespace MensBeam\HTML\DOM; -use MensBeam\Foundation\GettersAndSetters, +use MensBeam\GettersAndSetters, MensBeam\HTML\Parser, MensBeam\HTML\Parser\NameCoercion; use MensBeam\HTML\DOM\Inner\{ diff --git a/lib/XPathResult.php b/lib/XPathResult.php index 35c72e9..c4bc640 100644 --- a/lib/XPathResult.php +++ b/lib/XPathResult.php @@ -7,8 +7,7 @@ declare(strict_types=1); namespace MensBeam\HTML\DOM; -use MensBeam\Foundation\GettersAndSetters, - MensBeam\HTML\DOM\Inner\Reflection; +use MensBeam\GettersAndSetters; class XPathResult implements \ArrayAccess, \Countable, \Iterator {