diff --git a/changelog.md b/changelog.md index 61bbb23..58b5082 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,13 @@ All notable changes to `laravel-astronomy-library` will be documented in this file. +## Version 6.1.2 + +Changed: + +- Added delta t value for 2024 +- Update to use laravel 11 + ## Version 6.1.1 Changed: diff --git a/composer.json b/composer.json index 8a6bb41..70b21c2 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "keywords": ["Laravel", "laravel-astronomylibrary"], "require": { "php": ">=8.0", - "laravel/framework": "^8.0|^9.0|^10.0", + "laravel/framework": "^8.0|^9.0|^10.0|^11.0", "maatwebsite/excel": "^3.1" }, "require-dev": { diff --git a/composer.lock b/composer.lock index c6fa490..6cee51a 100644 --- a/composer.lock +++ b/composer.lock @@ -4,30 +4,29 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f1265be4439657651bbc610ade08da6c", + "content-hash": "52c23ac9044968bde89a568d8ea15ab3", "packages": [ { "name": "brick/math", - "version": "0.10.2", + "version": "0.11.0", "source": { "type": "git", "url": "https://github.com/brick/math.git", - "reference": "459f2781e1a08d52ee56b0b1444086e038561e3f" + "reference": "0ad82ce168c82ba30d1c01ec86116ab52f589478" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/459f2781e1a08d52ee56b0b1444086e038561e3f", - "reference": "459f2781e1a08d52ee56b0b1444086e038561e3f", + "url": "https://api.github.com/repos/brick/math/zipball/0ad82ce168c82ba30d1c01ec86116ab52f589478", + "reference": "0ad82ce168c82ba30d1c01ec86116ab52f589478", "shasum": "" }, "require": { - "ext-json": "*", - "php": "^7.4 || ^8.0" + "php": "^8.0" }, "require-dev": { "php-coveralls/php-coveralls": "^2.2", "phpunit/phpunit": "^9.0", - "vimeo/psalm": "4.25.0" + "vimeo/psalm": "5.0.0" }, "type": "library", "autoload": { @@ -52,7 +51,7 @@ ], "support": { "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.10.2" + "source": "https://github.com/brick/math/tree/0.11.0" }, "funding": [ { @@ -60,20 +59,89 @@ "type": "github" } ], - "time": "2022-08-10T22:54:19+00:00" + "time": "2023-01-15T23:15:59+00:00" + }, + { + "name": "carbonphp/carbon-doctrine-types", + "version": "3.1.0", + "source": { + "type": "git", + "url": "https://github.com/CarbonPHP/carbon-doctrine-types.git", + "reference": "a31d3358a2a5d6ae947df1691d1f321418a5f3d5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/CarbonPHP/carbon-doctrine-types/zipball/a31d3358a2a5d6ae947df1691d1f321418a5f3d5", + "reference": "a31d3358a2a5d6ae947df1691d1f321418a5f3d5", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "conflict": { + "doctrine/dbal": "<4.0.0 || >=5.0.0" + }, + "require-dev": { + "doctrine/dbal": "^4.0.0", + "nesbot/carbon": "^2.71.0 || ^3.0.0", + "phpunit/phpunit": "^10.3" + }, + "type": "library", + "autoload": { + "psr-4": { + "Carbon\\Doctrine\\": "src/Carbon/Doctrine/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "KyleKatarn", + "email": "kylekatarnls@gmail.com" + } + ], + "description": "Types to use Carbon in Doctrine", + "keywords": [ + "carbon", + "date", + "datetime", + "doctrine", + "time" + ], + "support": { + "issues": "https://github.com/CarbonPHP/carbon-doctrine-types/issues", + "source": "https://github.com/CarbonPHP/carbon-doctrine-types/tree/3.1.0" + }, + "funding": [ + { + "url": "https://github.com/kylekatarnls", + "type": "github" + }, + { + "url": "https://opencollective.com/Carbon", + "type": "open_collective" + }, + { + "url": "https://tidelift.com/funding/github/packagist/nesbot/carbon", + "type": "tidelift" + } + ], + "time": "2023-12-10T15:33:53+00:00" }, { "name": "composer/semver", - "version": "3.3.2", + "version": "3.4.0", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9" + "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/3953f23262f2bff1919fc82183ad9acb13ff62c9", - "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9", + "url": "https://api.github.com/repos/composer/semver/zipball/35e8d0af4486141bc745f23a29cc2091eb624a32", + "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32", "shasum": "" }, "require": { @@ -123,9 +191,9 @@ "versioning" ], "support": { - "irc": "irc://irc.freenode.org/composer", + "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.3.2" + "source": "https://github.com/composer/semver/tree/3.4.0" }, "funding": [ { @@ -141,7 +209,7 @@ "type": "tidelift" } ], - "time": "2022-04-01T19:23:25+00:00" + "time": "2023-08-31T09:50:34+00:00" }, { "name": "dflydev/dot-access-data", @@ -220,28 +288,28 @@ }, { "name": "doctrine/inflector", - "version": "2.0.6", + "version": "2.0.9", "source": { "type": "git", "url": "https://github.com/doctrine/inflector.git", - "reference": "d9d313a36c872fd6ee06d9a6cbcf713eaa40f024" + "reference": "2930cd5ef353871c821d5c43ed030d39ac8cfe65" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/d9d313a36c872fd6ee06d9a6cbcf713eaa40f024", - "reference": "d9d313a36c872fd6ee06d9a6cbcf713eaa40f024", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/2930cd5ef353871c821d5c43ed030d39ac8cfe65", + "reference": "2930cd5ef353871c821d5c43ed030d39ac8cfe65", "shasum": "" }, "require": { "php": "^7.2 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^10", + "doctrine/coding-standard": "^11.0", "phpstan/phpstan": "^1.8", "phpstan/phpstan-phpunit": "^1.1", "phpstan/phpstan-strict-rules": "^1.3", "phpunit/phpunit": "^8.5 || ^9.5", - "vimeo/psalm": "^4.25" + "vimeo/psalm": "^4.25 || ^5.4" }, "type": "library", "autoload": { @@ -291,7 +359,7 @@ ], "support": { "issues": "https://github.com/doctrine/inflector/issues", - "source": "https://github.com/doctrine/inflector/tree/2.0.6" + "source": "https://github.com/doctrine/inflector/tree/2.0.9" }, "funding": [ { @@ -307,31 +375,31 @@ "type": "tidelift" } ], - "time": "2022-10-20T09:10:12+00:00" + "time": "2024-01-15T18:05:13+00:00" }, { "name": "doctrine/lexer", - "version": "3.0.0", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/doctrine/lexer.git", - "reference": "84a527db05647743d50373e0ec53a152f2cde568" + "reference": "31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/lexer/zipball/84a527db05647743d50373e0ec53a152f2cde568", - "reference": "84a527db05647743d50373e0ec53a152f2cde568", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd", + "reference": "31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd", "shasum": "" }, "require": { "php": "^8.1" }, "require-dev": { - "doctrine/coding-standard": "^10", - "phpstan/phpstan": "^1.9", - "phpunit/phpunit": "^9.5", + "doctrine/coding-standard": "^12", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^10.5", "psalm/plugin-phpunit": "^0.18.3", - "vimeo/psalm": "^5.0" + "vimeo/psalm": "^5.21" }, "type": "library", "autoload": { @@ -368,7 +436,7 @@ ], "support": { "issues": "https://github.com/doctrine/lexer/issues", - "source": "https://github.com/doctrine/lexer/tree/3.0.0" + "source": "https://github.com/doctrine/lexer/tree/3.0.1" }, "funding": [ { @@ -384,20 +452,20 @@ "type": "tidelift" } ], - "time": "2022-12-15T16:57:16+00:00" + "time": "2024-02-05T11:56:58+00:00" }, { "name": "dragonmantank/cron-expression", - "version": "v3.3.2", + "version": "v3.3.3", "source": { "type": "git", "url": "https://github.com/dragonmantank/cron-expression.git", - "reference": "782ca5968ab8b954773518e9e49a6f892a34b2a8" + "reference": "adfb1f505deb6384dc8b39804c5065dd3c8c8c0a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/782ca5968ab8b954773518e9e49a6f892a34b2a8", - "reference": "782ca5968ab8b954773518e9e49a6f892a34b2a8", + "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/adfb1f505deb6384dc8b39804c5065dd3c8c8c0a", + "reference": "adfb1f505deb6384dc8b39804c5065dd3c8c8c0a", "shasum": "" }, "require": { @@ -437,7 +505,7 @@ ], "support": { "issues": "https://github.com/dragonmantank/cron-expression/issues", - "source": "https://github.com/dragonmantank/cron-expression/tree/v3.3.2" + "source": "https://github.com/dragonmantank/cron-expression/tree/v3.3.3" }, "funding": [ { @@ -445,20 +513,20 @@ "type": "github" } ], - "time": "2022-09-10T18:51:20+00:00" + "time": "2023-08-10T19:36:49+00:00" }, { "name": "egulias/email-validator", - "version": "4.0.1", + "version": "4.0.2", "source": { "type": "git", "url": "https://github.com/egulias/EmailValidator.git", - "reference": "3a85486b709bc384dae8eb78fb2eec649bdb64ff" + "reference": "ebaaf5be6c0286928352e054f2d5125608e5405e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/3a85486b709bc384dae8eb78fb2eec649bdb64ff", - "reference": "3a85486b709bc384dae8eb78fb2eec649bdb64ff", + "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/ebaaf5be6c0286928352e054f2d5125608e5405e", + "reference": "ebaaf5be6c0286928352e054f2d5125608e5405e", "shasum": "" }, "require": { @@ -467,8 +535,8 @@ "symfony/polyfill-intl-idn": "^1.26" }, "require-dev": { - "phpunit/phpunit": "^9.5.27", - "vimeo/psalm": "^4.30" + "phpunit/phpunit": "^10.2", + "vimeo/psalm": "^5.12" }, "suggest": { "ext-intl": "PHP Internationalization Libraries are required to use the SpoofChecking validation" @@ -504,7 +572,7 @@ ], "support": { "issues": "https://github.com/egulias/EmailValidator/issues", - "source": "https://github.com/egulias/EmailValidator/tree/4.0.1" + "source": "https://github.com/egulias/EmailValidator/tree/4.0.2" }, "funding": [ { @@ -512,24 +580,24 @@ "type": "github" } ], - "time": "2023-01-14T14:17:03+00:00" + "time": "2023-10-06T06:47:41+00:00" }, { "name": "ezyang/htmlpurifier", - "version": "v4.16.0", + "version": "v4.17.0", "source": { "type": "git", "url": "https://github.com/ezyang/htmlpurifier.git", - "reference": "523407fb06eb9e5f3d59889b3978d5bfe94299c8" + "reference": "bbc513d79acf6691fa9cf10f192c90dd2957f18c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/523407fb06eb9e5f3d59889b3978d5bfe94299c8", - "reference": "523407fb06eb9e5f3d59889b3978d5bfe94299c8", + "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/bbc513d79acf6691fa9cf10f192c90dd2957f18c", + "reference": "bbc513d79acf6691fa9cf10f192c90dd2957f18c", "shasum": "" }, "require": { - "php": "~5.6.0 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0" + "php": "~5.6.0 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0" }, "require-dev": { "cerdic/css-tidy": "^1.7 || ^2.0", @@ -571,27 +639,27 @@ ], "support": { "issues": "https://github.com/ezyang/htmlpurifier/issues", - "source": "https://github.com/ezyang/htmlpurifier/tree/v4.16.0" + "source": "https://github.com/ezyang/htmlpurifier/tree/v4.17.0" }, - "time": "2022-09-18T07:06:19+00:00" + "time": "2023-11-17T15:01:25+00:00" }, { "name": "fruitcake/php-cors", - "version": "v1.2.0", + "version": "v1.3.0", "source": { "type": "git", "url": "https://github.com/fruitcake/php-cors.git", - "reference": "58571acbaa5f9f462c9c77e911700ac66f446d4e" + "reference": "3d158f36e7875e2f040f37bc0573956240a5a38b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fruitcake/php-cors/zipball/58571acbaa5f9f462c9c77e911700ac66f446d4e", - "reference": "58571acbaa5f9f462c9c77e911700ac66f446d4e", + "url": "https://api.github.com/repos/fruitcake/php-cors/zipball/3d158f36e7875e2f040f37bc0573956240a5a38b", + "reference": "3d158f36e7875e2f040f37bc0573956240a5a38b", "shasum": "" }, "require": { "php": "^7.4|^8.0", - "symfony/http-foundation": "^4.4|^5.4|^6" + "symfony/http-foundation": "^4.4|^5.4|^6|^7" }, "require-dev": { "phpstan/phpstan": "^1.4", @@ -601,7 +669,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.1-dev" + "dev-master": "1.2-dev" } }, "autoload": { @@ -632,7 +700,7 @@ ], "support": { "issues": "https://github.com/fruitcake/php-cors/issues", - "source": "https://github.com/fruitcake/php-cors/tree/v1.2.0" + "source": "https://github.com/fruitcake/php-cors/tree/v1.3.0" }, "funding": [ { @@ -644,28 +712,28 @@ "type": "github" } ], - "time": "2022-02-20T15:07:15+00:00" + "time": "2023-10-12T05:21:21+00:00" }, { "name": "graham-campbell/result-type", - "version": "v1.1.0", + "version": "v1.1.2", "source": { "type": "git", "url": "https://github.com/GrahamCampbell/Result-Type.git", - "reference": "a878d45c1914464426dc94da61c9e1d36ae262a8" + "reference": "fbd48bce38f73f8a4ec8583362e732e4095e5862" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/a878d45c1914464426dc94da61c9e1d36ae262a8", - "reference": "a878d45c1914464426dc94da61c9e1d36ae262a8", + "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/fbd48bce38f73f8a4ec8583362e732e4095e5862", + "reference": "fbd48bce38f73f8a4ec8583362e732e4095e5862", "shasum": "" }, "require": { "php": "^7.2.5 || ^8.0", - "phpoption/phpoption": "^1.9" + "phpoption/phpoption": "^1.9.2" }, "require-dev": { - "phpunit/phpunit": "^8.5.28 || ^9.5.21" + "phpunit/phpunit": "^8.5.34 || ^9.6.13 || ^10.4.2" }, "type": "library", "autoload": { @@ -694,7 +762,7 @@ ], "support": { "issues": "https://github.com/GrahamCampbell/Result-Type/issues", - "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.0" + "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.2" }, "funding": [ { @@ -706,20 +774,106 @@ "type": "tidelift" } ], - "time": "2022-07-30T15:56:11+00:00" + "time": "2023-11-12T22:16:48+00:00" + }, + { + "name": "guzzlehttp/uri-template", + "version": "v1.0.3", + "source": { + "type": "git", + "url": "https://github.com/guzzle/uri-template.git", + "reference": "ecea8feef63bd4fef1f037ecb288386999ecc11c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/uri-template/zipball/ecea8feef63bd4fef1f037ecb288386999ecc11c", + "reference": "ecea8feef63bd4fef1f037ecb288386999ecc11c", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "symfony/polyfill-php80": "^1.24" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.36 || ^9.6.15", + "uri-template/tests": "1.0.0" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\UriTemplate\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + } + ], + "description": "A polyfill class for uri_template of PHP", + "keywords": [ + "guzzlehttp", + "uri-template" + ], + "support": { + "issues": "https://github.com/guzzle/uri-template/issues", + "source": "https://github.com/guzzle/uri-template/tree/v1.0.3" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/uri-template", + "type": "tidelift" + } + ], + "time": "2023-12-03T19:50:20+00:00" }, { "name": "laravel/framework", - "version": "v9.50.2", + "version": "v9.52.16", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "39932773c09658ddea9045958f305e67f9304995" + "reference": "082345d76fc6a55b649572efe10b11b03e279d24" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/39932773c09658ddea9045958f305e67f9304995", - "reference": "39932773c09658ddea9045958f305e67f9304995", + "url": "https://api.github.com/repos/laravel/framework/zipball/082345d76fc6a55b649572efe10b11b03e279d24", + "reference": "082345d76fc6a55b649572efe10b11b03e279d24", "shasum": "" }, "require": { @@ -727,9 +881,15 @@ "doctrine/inflector": "^2.0.5", "dragonmantank/cron-expression": "^3.3.2", "egulias/email-validator": "^3.2.1|^4.0", + "ext-ctype": "*", + "ext-filter": "*", + "ext-hash": "*", "ext-mbstring": "*", "ext-openssl": "*", + "ext-session": "*", + "ext-tokenizer": "*", "fruitcake/php-cors": "^1.2", + "guzzlehttp/uri-template": "^1.0", "laravel/serializable-closure": "^1.2.2", "league/commonmark": "^2.2.1", "league/flysystem": "^3.8.0", @@ -801,6 +961,7 @@ "ably/ably-php": "^1.0", "aws/aws-sdk-php": "^3.235.5", "doctrine/dbal": "^2.13.3|^3.1.4", + "ext-gmp": "*", "fakerphp/faker": "^1.21", "guzzlehttp/guzzle": "^7.5", "league/flysystem-aws-s3-v3": "^3.0", @@ -809,7 +970,7 @@ "league/flysystem-read-only": "^3.3", "league/flysystem-sftp-v3": "^3.0", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^7.16", + "orchestra/testbench-core": "^7.24", "pda/pheanstalk": "^4.0", "phpstan/phpdoc-parser": "^1.15", "phpstan/phpstan": "^1.4.7", @@ -823,10 +984,13 @@ "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage, and SES mail driver (^3.235.5).", "brianium/paratest": "Required to run tests in parallel (^6.0).", "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.13.3|^3.1.4).", + "ext-apcu": "Required to use the APC cache driver.", + "ext-fileinfo": "Required to use the Filesystem class.", "ext-ftp": "Required to use the Flysystem FTP driver.", "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().", "ext-memcached": "Required to use the memcache cache driver.", - "ext-pcntl": "Required to use all features of the queue worker.", + "ext-pcntl": "Required to use all features of the queue worker and console signal trapping.", + "ext-pdo": "Required to use all database features.", "ext-posix": "Required to use all features of the queue worker.", "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).", "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).", @@ -894,20 +1058,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2023-02-02T20:52:46+00:00" + "time": "2023-10-03T13:02:30+00:00" }, { "name": "laravel/serializable-closure", - "version": "v1.3.0", + "version": "v1.3.3", "source": { "type": "git", "url": "https://github.com/laravel/serializable-closure.git", - "reference": "f23fe9d4e95255dacee1bf3525e0810d1a1b0f37" + "reference": "3dbf8a8e914634c48d389c1234552666b3d43754" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/f23fe9d4e95255dacee1bf3525e0810d1a1b0f37", - "reference": "f23fe9d4e95255dacee1bf3525e0810d1a1b0f37", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/3dbf8a8e914634c48d389c1234552666b3d43754", + "reference": "3dbf8a8e914634c48d389c1234552666b3d43754", "shasum": "" }, "require": { @@ -954,20 +1118,20 @@ "issues": "https://github.com/laravel/serializable-closure/issues", "source": "https://github.com/laravel/serializable-closure" }, - "time": "2023-01-30T18:31:20+00:00" + "time": "2023-11-08T14:08:06+00:00" }, { "name": "league/commonmark", - "version": "2.3.8", + "version": "2.4.2", "source": { "type": "git", "url": "https://github.com/thephpleague/commonmark.git", - "reference": "c493585c130544c4e91d2e0e131e6d35cb0cbc47" + "reference": "91c24291965bd6d7c46c46a12ba7492f83b1cadf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/c493585c130544c4e91d2e0e131e6d35cb0cbc47", - "reference": "c493585c130544c4e91d2e0e131e6d35cb0cbc47", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/91c24291965bd6d7c46c46a12ba7492f83b1cadf", + "reference": "91c24291965bd6d7c46c46a12ba7492f83b1cadf", "shasum": "" }, "require": { @@ -980,7 +1144,7 @@ }, "require-dev": { "cebe/markdown": "^1.0", - "commonmark/cmark": "0.30.0", + "commonmark/cmark": "0.30.3", "commonmark/commonmark.js": "0.30.0", "composer/package-versions-deprecated": "^1.8", "embed/embed": "^4.4", @@ -990,10 +1154,10 @@ "michelf/php-markdown": "^1.4 || ^2.0", "nyholm/psr7": "^1.5", "phpstan/phpstan": "^1.8.2", - "phpunit/phpunit": "^9.5.21", + "phpunit/phpunit": "^9.5.21 || ^10.5.9 || ^11.0.0", "scrutinizer/ocular": "^1.8.1", - "symfony/finder": "^5.3 | ^6.0", - "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0", + "symfony/finder": "^5.3 | ^6.0 || ^7.0", + "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0 || ^7.0", "unleashedtech/php-coding-standard": "^3.1.1", "vimeo/psalm": "^4.24.0 || ^5.0.0" }, @@ -1003,7 +1167,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.4-dev" + "dev-main": "2.5-dev" } }, "autoload": { @@ -1060,7 +1224,7 @@ "type": "tidelift" } ], - "time": "2022-12-10T16:02:17+00:00" + "time": "2024-02-02T11:59:32+00:00" }, { "name": "league/config", @@ -1146,23 +1310,26 @@ }, { "name": "league/flysystem", - "version": "3.12.2", + "version": "3.24.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "f6377c709d2275ed6feaf63e44be7a7162b0e77f" + "reference": "b25a361508c407563b34fac6f64a8a17a8819675" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/f6377c709d2275ed6feaf63e44be7a7162b0e77f", - "reference": "f6377c709d2275ed6feaf63e44be7a7162b0e77f", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/b25a361508c407563b34fac6f64a8a17a8819675", + "reference": "b25a361508c407563b34fac6f64a8a17a8819675", "shasum": "" }, "require": { + "league/flysystem-local": "^3.0.0", "league/mime-type-detection": "^1.0.0", "php": "^8.0.2" }, "conflict": { + "async-aws/core": "<1.19.0", + "async-aws/s3": "<1.14.0", "aws/aws-sdk-php": "3.209.31 || 3.210.0", "guzzlehttp/guzzle": "<7.0", "guzzlehttp/ringphp": "<1.1.1", @@ -1170,9 +1337,9 @@ "symfony/http-client": "<5.2" }, "require-dev": { - "async-aws/s3": "^1.5", - "async-aws/simple-s3": "^1.1", - "aws/aws-sdk-php": "^3.220.0", + "async-aws/s3": "^1.5 || ^2.0", + "async-aws/simple-s3": "^1.1 || ^2.0", + "aws/aws-sdk-php": "^3.295.10", "composer/semver": "^3.0", "ext-fileinfo": "*", "ext-ftp": "*", @@ -1180,10 +1347,10 @@ "friendsofphp/php-cs-fixer": "^3.5", "google/cloud-storage": "^1.23", "microsoft/azure-storage-blob": "^1.1", - "phpseclib/phpseclib": "^3.0.14", - "phpstan/phpstan": "^0.12.26", - "phpunit/phpunit": "^9.5.11", - "sabre/dav": "^4.3.1" + "phpseclib/phpseclib": "^3.0.34", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^9.5.11|^10.0", + "sabre/dav": "^4.6.0" }, "type": "library", "autoload": { @@ -1217,7 +1384,7 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/3.12.2" + "source": "https://github.com/thephpleague/flysystem/tree/3.24.0" }, "funding": [ { @@ -1227,36 +1394,92 @@ { "url": "https://github.com/frankdejonge", "type": "github" + } + ], + "time": "2024-02-04T12:10:17+00:00" + }, + { + "name": "league/flysystem-local", + "version": "3.23.1", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/flysystem-local.git", + "reference": "b884d2bf9b53bb4804a56d2df4902bb51e253f00" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/b884d2bf9b53bb4804a56d2df4902bb51e253f00", + "reference": "b884d2bf9b53bb4804a56d2df4902bb51e253f00", + "shasum": "" + }, + "require": { + "ext-fileinfo": "*", + "league/flysystem": "^3.0.0", + "league/mime-type-detection": "^1.0.0", + "php": "^8.0.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\Flysystem\\Local\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frankdejonge.nl" + } + ], + "description": "Local filesystem adapter for Flysystem.", + "keywords": [ + "Flysystem", + "file", + "files", + "filesystem", + "local" + ], + "support": { + "issues": "https://github.com/thephpleague/flysystem-local/issues", + "source": "https://github.com/thephpleague/flysystem-local/tree/3.23.1" + }, + "funding": [ + { + "url": "https://ecologi.com/frankdejonge", + "type": "custom" }, { - "url": "https://tidelift.com/funding/github/packagist/league/flysystem", - "type": "tidelift" + "url": "https://github.com/frankdejonge", + "type": "github" } ], - "time": "2023-01-19T12:02:19+00:00" + "time": "2024-01-26T18:25:23+00:00" }, { "name": "league/mime-type-detection", - "version": "1.11.0", + "version": "1.15.0", "source": { "type": "git", "url": "https://github.com/thephpleague/mime-type-detection.git", - "reference": "ff6248ea87a9f116e78edd6002e39e5128a0d4dd" + "reference": "ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/ff6248ea87a9f116e78edd6002e39e5128a0d4dd", - "reference": "ff6248ea87a9f116e78edd6002e39e5128a0d4dd", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301", + "reference": "ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301", "shasum": "" }, "require": { "ext-fileinfo": "*", - "php": "^7.2 || ^8.0" + "php": "^7.4 || ^8.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.2", "phpstan/phpstan": "^0.12.68", - "phpunit/phpunit": "^8.5.8 || ^9.3" + "phpunit/phpunit": "^8.5.8 || ^9.3 || ^10.0" }, "type": "library", "autoload": { @@ -1277,7 +1500,7 @@ "description": "Mime-type detection for Flysystem", "support": { "issues": "https://github.com/thephpleague/mime-type-detection/issues", - "source": "https://github.com/thephpleague/mime-type-detection/tree/1.11.0" + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.15.0" }, "funding": [ { @@ -1289,32 +1512,33 @@ "type": "tidelift" } ], - "time": "2022-04-17T13:12:02+00:00" + "time": "2024-01-28T23:22:08+00:00" }, { "name": "maatwebsite/excel", - "version": "3.1.46", + "version": "3.1.52", "source": { "type": "git", "url": "https://github.com/SpartnerNL/Laravel-Excel.git", - "reference": "ba0b9b9305d5b603c3938d4d1d4a13025c92c241" + "reference": "4471416045dbb869d0a218d2e88441adc362e2b0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/SpartnerNL/Laravel-Excel/zipball/ba0b9b9305d5b603c3938d4d1d4a13025c92c241", - "reference": "ba0b9b9305d5b603c3938d4d1d4a13025c92c241", + "url": "https://api.github.com/repos/SpartnerNL/Laravel-Excel/zipball/4471416045dbb869d0a218d2e88441adc362e2b0", + "reference": "4471416045dbb869d0a218d2e88441adc362e2b0", "shasum": "" }, "require": { "composer/semver": "^3.3", "ext-json": "*", - "illuminate/support": "5.8.*|^6.0|^7.0|^8.0|^9.0|^10.0", - "php": "^7.0|^8.0", + "illuminate/support": "5.8.*||^6.0||^7.0||^8.0||^9.0||^10.0", + "php": "^7.0||^8.0", "phpoffice/phpspreadsheet": "^1.18", - "psr/simple-cache": "^1.0|^2.0|^3.0" + "psr/simple-cache": "^1.0||^2.0||^3.0" }, "require-dev": { - "orchestra/testbench": "^6.0|^7.0|^8.0", + "laravel/scout": "^7.0||^8.0||^9.0||^10.0", + "orchestra/testbench": "^6.0||^7.0||^8.0", "predis/predis": "^1.1" }, "type": "library", @@ -1357,7 +1581,7 @@ ], "support": { "issues": "https://github.com/SpartnerNL/Laravel-Excel/issues", - "source": "https://github.com/SpartnerNL/Laravel-Excel/tree/3.1.46" + "source": "https://github.com/SpartnerNL/Laravel-Excel/tree/3.1.52" }, "funding": [ { @@ -1369,37 +1593,40 @@ "type": "github" } ], - "time": "2023-01-26T20:40:09+00:00" + "time": "2024-01-16T10:41:30+00:00" }, { "name": "maennchen/zipstream-php", - "version": "v2.4.0", + "version": "3.1.0", "source": { "type": "git", "url": "https://github.com/maennchen/ZipStream-PHP.git", - "reference": "3fa72e4c71a43f9e9118752a5c90e476a8dc9eb3" + "reference": "b8174494eda667f7d13876b4a7bfef0f62a7c0d1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/maennchen/ZipStream-PHP/zipball/3fa72e4c71a43f9e9118752a5c90e476a8dc9eb3", - "reference": "3fa72e4c71a43f9e9118752a5c90e476a8dc9eb3", + "url": "https://api.github.com/repos/maennchen/ZipStream-PHP/zipball/b8174494eda667f7d13876b4a7bfef0f62a7c0d1", + "reference": "b8174494eda667f7d13876b4a7bfef0f62a7c0d1", "shasum": "" }, "require": { "ext-mbstring": "*", - "myclabs/php-enum": "^1.5", - "php": "^8.0", - "psr/http-message": "^1.0" + "ext-zlib": "*", + "php-64bit": "^8.1" }, "require-dev": { "ext-zip": "*", - "friendsofphp/php-cs-fixer": "^3.9", - "guzzlehttp/guzzle": "^6.5.3 || ^7.2.0", + "friendsofphp/php-cs-fixer": "^3.16", + "guzzlehttp/guzzle": "^7.5", "mikey179/vfsstream": "^1.6", - "php-coveralls/php-coveralls": "^2.4", - "phpunit/phpunit": "^8.5.8 || ^9.4.2", + "php-coveralls/php-coveralls": "^2.5", + "phpunit/phpunit": "^10.0", "vimeo/psalm": "^5.0" }, + "suggest": { + "guzzlehttp/psr7": "^2.4", + "psr/http-message": "^2.0" + }, "type": "library", "autoload": { "psr-4": { @@ -1435,7 +1662,7 @@ ], "support": { "issues": "https://github.com/maennchen/ZipStream-PHP/issues", - "source": "https://github.com/maennchen/ZipStream-PHP/tree/v2.4.0" + "source": "https://github.com/maennchen/ZipStream-PHP/tree/3.1.0" }, "funding": [ { @@ -1447,7 +1674,7 @@ "type": "open_collective" } ], - "time": "2022-12-08T12:29:14+00:00" + "time": "2023-06-21T14:59:35+00:00" }, { "name": "markbaker/complex", @@ -1558,16 +1785,16 @@ }, { "name": "monolog/monolog", - "version": "2.9.1", + "version": "2.9.2", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "f259e2b15fb95494c83f52d3caad003bbf5ffaa1" + "reference": "437cb3628f4cf6042cc10ae97fc2b8472e48ca1f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f259e2b15fb95494c83f52d3caad003bbf5ffaa1", - "reference": "f259e2b15fb95494c83f52d3caad003bbf5ffaa1", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/437cb3628f4cf6042cc10ae97fc2b8472e48ca1f", + "reference": "437cb3628f4cf6042cc10ae97fc2b8472e48ca1f", "shasum": "" }, "require": { @@ -1644,7 +1871,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/2.9.1" + "source": "https://github.com/Seldaek/monolog/tree/2.9.2" }, "funding": [ { @@ -1656,95 +1883,37 @@ "type": "tidelift" } ], - "time": "2023-02-06T13:44:46+00:00" - }, - { - "name": "myclabs/php-enum", - "version": "1.8.4", - "source": { - "type": "git", - "url": "https://github.com/myclabs/php-enum.git", - "reference": "a867478eae49c9f59ece437ae7f9506bfaa27483" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/myclabs/php-enum/zipball/a867478eae49c9f59ece437ae7f9506bfaa27483", - "reference": "a867478eae49c9f59ece437ae7f9506bfaa27483", - "shasum": "" - }, - "require": { - "ext-json": "*", - "php": "^7.3 || ^8.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5", - "squizlabs/php_codesniffer": "1.*", - "vimeo/psalm": "^4.6.2" - }, - "type": "library", - "autoload": { - "psr-4": { - "MyCLabs\\Enum\\": "src/" - }, - "classmap": [ - "stubs/Stringable.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP Enum contributors", - "homepage": "https://github.com/myclabs/php-enum/graphs/contributors" - } - ], - "description": "PHP Enum implementation", - "homepage": "http://github.com/myclabs/php-enum", - "keywords": [ - "enum" - ], - "support": { - "issues": "https://github.com/myclabs/php-enum/issues", - "source": "https://github.com/myclabs/php-enum/tree/1.8.4" - }, - "funding": [ - { - "url": "https://github.com/mnapoli", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/myclabs/php-enum", - "type": "tidelift" - } - ], - "time": "2022-08-04T09:53:51+00:00" + "time": "2023-10-27T15:25:26+00:00" }, { "name": "nesbot/carbon", - "version": "2.66.0", + "version": "2.72.3", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "496712849902241f04902033b0441b269effe001" + "reference": "0c6fd108360c562f6e4fd1dedb8233b423e91c83" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/496712849902241f04902033b0441b269effe001", - "reference": "496712849902241f04902033b0441b269effe001", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/0c6fd108360c562f6e4fd1dedb8233b423e91c83", + "reference": "0c6fd108360c562f6e4fd1dedb8233b423e91c83", "shasum": "" }, "require": { + "carbonphp/carbon-doctrine-types": "*", "ext-json": "*", "php": "^7.1.8 || ^8.0", + "psr/clock": "^1.0", "symfony/polyfill-mbstring": "^1.0", "symfony/polyfill-php80": "^1.16", "symfony/translation": "^3.4 || ^4.0 || ^5.0 || ^6.0" }, + "provide": { + "psr/clock-implementation": "1.0" + }, "require-dev": { - "doctrine/dbal": "^2.0 || ^3.1.4", - "doctrine/orm": "^2.7", + "doctrine/dbal": "^2.0 || ^3.1.4 || ^4.0", + "doctrine/orm": "^2.7 || ^3.0", "friendsofphp/php-cs-fixer": "^3.0", "kylekatarnls/multi-tester": "^2.0", "ondrejmirtes/better-reflection": "*", @@ -1821,35 +1990,35 @@ "type": "tidelift" } ], - "time": "2023-01-29T18:53:47+00:00" + "time": "2024-01-25T10:35:09+00:00" }, { "name": "nette/schema", - "version": "v1.2.3", + "version": "v1.3.0", "source": { "type": "git", "url": "https://github.com/nette/schema.git", - "reference": "abbdbb70e0245d5f3bf77874cea1dfb0c930d06f" + "reference": "a6d3a6d1f545f01ef38e60f375d1cf1f4de98188" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/schema/zipball/abbdbb70e0245d5f3bf77874cea1dfb0c930d06f", - "reference": "abbdbb70e0245d5f3bf77874cea1dfb0c930d06f", + "url": "https://api.github.com/repos/nette/schema/zipball/a6d3a6d1f545f01ef38e60f375d1cf1f4de98188", + "reference": "a6d3a6d1f545f01ef38e60f375d1cf1f4de98188", "shasum": "" }, "require": { - "nette/utils": "^2.5.7 || ^3.1.5 || ^4.0", - "php": ">=7.1 <8.3" + "nette/utils": "^4.0", + "php": "8.1 - 8.3" }, "require-dev": { - "nette/tester": "^2.3 || ^2.4", + "nette/tester": "^2.4", "phpstan/phpstan-nette": "^1.0", - "tracy/tracy": "^2.7" + "tracy/tracy": "^2.8" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2-dev" + "dev-master": "1.3-dev" } }, "autoload": { @@ -1881,26 +2050,26 @@ ], "support": { "issues": "https://github.com/nette/schema/issues", - "source": "https://github.com/nette/schema/tree/v1.2.3" + "source": "https://github.com/nette/schema/tree/v1.3.0" }, - "time": "2022-10-13T01:24:26+00:00" + "time": "2023-12-11T11:54:22+00:00" }, { "name": "nette/utils", - "version": "v4.0.0", + "version": "v4.0.4", "source": { "type": "git", "url": "https://github.com/nette/utils.git", - "reference": "cacdbf5a91a657ede665c541eda28941d4b09c1e" + "reference": "d3ad0aa3b9f934602cb3e3902ebccf10be34d218" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/utils/zipball/cacdbf5a91a657ede665c541eda28941d4b09c1e", - "reference": "cacdbf5a91a657ede665c541eda28941d4b09c1e", + "url": "https://api.github.com/repos/nette/utils/zipball/d3ad0aa3b9f934602cb3e3902ebccf10be34d218", + "reference": "d3ad0aa3b9f934602cb3e3902ebccf10be34d218", "shasum": "" }, "require": { - "php": ">=8.0 <8.3" + "php": ">=8.0 <8.4" }, "conflict": { "nette/finder": "<3", @@ -1908,7 +2077,7 @@ }, "require-dev": { "jetbrains/phpstorm-attributes": "dev-master", - "nette/tester": "^2.4", + "nette/tester": "^2.5", "phpstan/phpstan": "^1.0", "tracy/tracy": "^2.9" }, @@ -1918,8 +2087,7 @@ "ext-intl": "to use Strings::webalize(), toAscii(), normalize() and compare()", "ext-json": "to use Nette\\Utils\\Json", "ext-mbstring": "to use Strings::lower() etc...", - "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()", - "ext-xml": "to use Strings::length() etc. when mbstring is not available" + "ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()" }, "type": "library", "extra": { @@ -1968,22 +2136,22 @@ ], "support": { "issues": "https://github.com/nette/utils/issues", - "source": "https://github.com/nette/utils/tree/v4.0.0" + "source": "https://github.com/nette/utils/tree/v4.0.4" }, - "time": "2023-02-02T10:41:53+00:00" + "time": "2024-01-17T16:50:36+00:00" }, { "name": "nunomaduro/termwind", - "version": "v1.15.0", + "version": "v1.15.1", "source": { "type": "git", "url": "https://github.com/nunomaduro/termwind.git", - "reference": "594ab862396c16ead000de0c3c38f4a5cbe1938d" + "reference": "8ab0b32c8caa4a2e09700ea32925441385e4a5dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/594ab862396c16ead000de0c3c38f4a5cbe1938d", - "reference": "594ab862396c16ead000de0c3c38f4a5cbe1938d", + "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/8ab0b32c8caa4a2e09700ea32925441385e4a5dc", + "reference": "8ab0b32c8caa4a2e09700ea32925441385e4a5dc", "shasum": "" }, "require": { @@ -2040,7 +2208,7 @@ ], "support": { "issues": "https://github.com/nunomaduro/termwind/issues", - "source": "https://github.com/nunomaduro/termwind/tree/v1.15.0" + "source": "https://github.com/nunomaduro/termwind/tree/v1.15.1" }, "funding": [ { @@ -2056,20 +2224,20 @@ "type": "github" } ], - "time": "2022-12-20T19:00:15+00:00" + "time": "2023-02-08T01:06:31+00:00" }, { "name": "phpoffice/phpspreadsheet", - "version": "1.27.0", + "version": "1.29.0", "source": { "type": "git", "url": "https://github.com/PHPOffice/PhpSpreadsheet.git", - "reference": "eeb8582f9cabf5a7f4ef78015691163233a1834f" + "reference": "fde2ccf55eaef7e86021ff1acce26479160a0fa0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPOffice/PhpSpreadsheet/zipball/eeb8582f9cabf5a7f4ef78015691163233a1834f", - "reference": "eeb8582f9cabf5a7f4ef78015691163233a1834f", + "url": "https://api.github.com/repos/PHPOffice/PhpSpreadsheet/zipball/fde2ccf55eaef7e86021ff1acce26479160a0fa0", + "reference": "fde2ccf55eaef7e86021ff1acce26479160a0fa0", "shasum": "" }, "require": { @@ -2087,7 +2255,7 @@ "ext-zip": "*", "ext-zlib": "*", "ezyang/htmlpurifier": "^4.15", - "maennchen/zipstream-php": "^2.1", + "maennchen/zipstream-php": "^2.1 || ^3.0", "markbaker/complex": "^3.0", "markbaker/matrix": "^3.0", "php": "^7.4 || ^8.0", @@ -2096,15 +2264,15 @@ "psr/simple-cache": "^1.0 || ^2.0 || ^3.0" }, "require-dev": { - "dealerdirect/phpcodesniffer-composer-installer": "dev-master", + "dealerdirect/phpcodesniffer-composer-installer": "dev-main", "dompdf/dompdf": "^1.0 || ^2.0", "friendsofphp/php-cs-fixer": "^3.2", - "mitoteam/jpgraph": "^10.2.4", + "mitoteam/jpgraph": "^10.3", "mpdf/mpdf": "^8.1.1", "phpcompatibility/php-compatibility": "^9.3", "phpstan/phpstan": "^1.1", "phpstan/phpstan-phpunit": "^1.0", - "phpunit/phpunit": "^8.5 || ^9.0", + "phpunit/phpunit": "^8.5 || ^9.0 || ^10.0", "squizlabs/php_codesniffer": "^3.7", "tecnickcom/tcpdf": "^6.5" }, @@ -2159,30 +2327,30 @@ ], "support": { "issues": "https://github.com/PHPOffice/PhpSpreadsheet/issues", - "source": "https://github.com/PHPOffice/PhpSpreadsheet/tree/1.27.0" + "source": "https://github.com/PHPOffice/PhpSpreadsheet/tree/1.29.0" }, - "time": "2023-01-24T20:07:45+00:00" + "time": "2023-06-14T22:48:31+00:00" }, { "name": "phpoption/phpoption", - "version": "1.9.0", + "version": "1.9.2", "source": { "type": "git", "url": "https://github.com/schmittjoh/php-option.git", - "reference": "dc5ff11e274a90cc1c743f66c9ad700ce50db9ab" + "reference": "80735db690fe4fc5c76dfa7f9b770634285fa820" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/dc5ff11e274a90cc1c743f66c9ad700ce50db9ab", - "reference": "dc5ff11e274a90cc1c743f66c9ad700ce50db9ab", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/80735db690fe4fc5c76dfa7f9b770634285fa820", + "reference": "80735db690fe4fc5c76dfa7f9b770634285fa820", "shasum": "" }, "require": { "php": "^7.2.5 || ^8.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.8", - "phpunit/phpunit": "^8.5.28 || ^9.5.21" + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.34 || ^9.6.13 || ^10.4.2" }, "type": "library", "extra": { @@ -2224,7 +2392,7 @@ ], "support": { "issues": "https://github.com/schmittjoh/php-option/issues", - "source": "https://github.com/schmittjoh/php-option/tree/1.9.0" + "source": "https://github.com/schmittjoh/php-option/tree/1.9.2" }, "funding": [ { @@ -2236,7 +2404,55 @@ "type": "tidelift" } ], - "time": "2022-07-30T15:51:26+00:00" + "time": "2023-11-12T21:59:55+00:00" + }, + { + "name": "psr/clock", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/clock.git", + "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", + "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Psr\\Clock\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for reading the clock.", + "homepage": "https://github.com/php-fig/clock", + "keywords": [ + "clock", + "now", + "psr", + "psr-20", + "time" + ], + "support": { + "issues": "https://github.com/php-fig/clock/issues", + "source": "https://github.com/php-fig/clock/tree/1.0.0" + }, + "time": "2022-11-25T14:36:26+00:00" }, { "name": "psr/container", @@ -2343,21 +2559,21 @@ }, { "name": "psr/http-client", - "version": "1.0.1", + "version": "1.0.3", "source": { "type": "git", "url": "https://github.com/php-fig/http-client.git", - "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621" + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", - "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", "shasum": "" }, "require": { "php": "^7.0 || ^8.0", - "psr/http-message": "^1.0" + "psr/http-message": "^1.0 || ^2.0" }, "type": "library", "extra": { @@ -2377,7 +2593,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interface for HTTP clients", @@ -2389,27 +2605,27 @@ "psr-18" ], "support": { - "source": "https://github.com/php-fig/http-client/tree/master" + "source": "https://github.com/php-fig/http-client" }, - "time": "2020-06-29T06:28:15+00:00" + "time": "2023-09-23T14:17:50+00:00" }, { "name": "psr/http-factory", - "version": "1.0.1", + "version": "1.0.2", "source": { "type": "git", "url": "https://github.com/php-fig/http-factory.git", - "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be" + "reference": "e616d01114759c4c489f93b099585439f795fe35" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", - "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35", + "reference": "e616d01114759c4c489f93b099585439f795fe35", "shasum": "" }, "require": { "php": ">=7.0.0", - "psr/http-message": "^1.0" + "psr/http-message": "^1.0 || ^2.0" }, "type": "library", "extra": { @@ -2429,7 +2645,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interfaces for PSR-7 HTTP message factories", @@ -2444,31 +2660,31 @@ "response" ], "support": { - "source": "https://github.com/php-fig/http-factory/tree/master" + "source": "https://github.com/php-fig/http-factory/tree/1.0.2" }, - "time": "2019-04-30T12:38:16+00:00" + "time": "2023-04-10T20:10:41+00:00" }, { "name": "psr/http-message", - "version": "1.0.1", + "version": "2.0", "source": { "type": "git", "url": "https://github.com/php-fig/http-message.git", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71", + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": "^7.2 || ^8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { @@ -2483,7 +2699,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interface for HTTP messages", @@ -2497,9 +2713,9 @@ "response" ], "support": { - "source": "https://github.com/php-fig/http-message/tree/master" + "source": "https://github.com/php-fig/http-message/tree/2.0" }, - "time": "2016-08-06T14:39:51+00:00" + "time": "2023-04-04T09:54:51+00:00" }, { "name": "psr/log", @@ -2693,20 +2909,20 @@ }, { "name": "ramsey/uuid", - "version": "4.7.3", + "version": "4.7.5", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "433b2014e3979047db08a17a205f410ba3869cf2" + "reference": "5f0df49ae5ad6efb7afa69e6bfab4e5b1e080d8e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/433b2014e3979047db08a17a205f410ba3869cf2", - "reference": "433b2014e3979047db08a17a205f410ba3869cf2", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/5f0df49ae5ad6efb7afa69e6bfab4e5b1e080d8e", + "reference": "5f0df49ae5ad6efb7afa69e6bfab4e5b1e080d8e", "shasum": "" }, "require": { - "brick/math": "^0.8.8 || ^0.9 || ^0.10", + "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11", "ext-json": "*", "php": "^8.0", "ramsey/collection": "^1.2 || ^2.0" @@ -2769,7 +2985,7 @@ ], "support": { "issues": "https://github.com/ramsey/uuid/issues", - "source": "https://github.com/ramsey/uuid/tree/4.7.3" + "source": "https://github.com/ramsey/uuid/tree/4.7.5" }, "funding": [ { @@ -2781,28 +2997,28 @@ "type": "tidelift" } ], - "time": "2023-01-12T18:13:24+00:00" + "time": "2023-11-08T05:53:05+00:00" }, { "name": "symfony/console", - "version": "v6.2.5", + "version": "v6.4.3", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "3e294254f2191762c1d137aed4b94e966965e985" + "reference": "2aaf83b4de5b9d43b93e4aec6f2f8b676f7c567e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/3e294254f2191762c1d137aed4b94e966965e985", - "reference": "3e294254f2191762c1d137aed4b94e966965e985", + "url": "https://api.github.com/repos/symfony/console/zipball/2aaf83b4de5b9d43b93e4aec6f2f8b676f7c567e", + "reference": "2aaf83b4de5b9d43b93e4aec6f2f8b676f7c567e", "shasum": "" }, "require": { "php": ">=8.1", - "symfony/deprecation-contracts": "^2.1|^3", + "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-mbstring": "~1.0", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/string": "^5.4|^6.0" + "symfony/service-contracts": "^2.5|^3", + "symfony/string": "^5.4|^6.0|^7.0" }, "conflict": { "symfony/dependency-injection": "<5.4", @@ -2816,18 +3032,16 @@ }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/event-dispatcher": "^5.4|^6.0", - "symfony/lock": "^5.4|^6.0", - "symfony/process": "^5.4|^6.0", - "symfony/var-dumper": "^5.4|^6.0" - }, - "suggest": { - "psr/log": "For using the console logger", - "symfony/event-dispatcher": "", - "symfony/lock": "", - "symfony/process": "" + "symfony/config": "^5.4|^6.0|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/event-dispatcher": "^5.4|^6.0|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/lock": "^5.4|^6.0|^7.0", + "symfony/messenger": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.0|^7.0", + "symfony/stopwatch": "^5.4|^6.0|^7.0", + "symfony/var-dumper": "^5.4|^6.0|^7.0" }, "type": "library", "autoload": { @@ -2856,12 +3070,12 @@ "homepage": "https://symfony.com", "keywords": [ "cli", - "command line", + "command-line", "console", "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.2.5" + "source": "https://github.com/symfony/console/tree/v6.4.3" }, "funding": [ { @@ -2877,24 +3091,24 @@ "type": "tidelift" } ], - "time": "2023-01-01T08:38:09+00:00" + "time": "2024-01-23T14:51:35+00:00" }, { "name": "symfony/css-selector", - "version": "v6.2.5", + "version": "v7.0.3", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "bf1b9d4ad8b1cf0dbde8b08e0135a2f6259b9ba1" + "reference": "ec60a4edf94e63b0556b6a0888548bb400a3a3be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/bf1b9d4ad8b1cf0dbde8b08e0135a2f6259b9ba1", - "reference": "bf1b9d4ad8b1cf0dbde8b08e0135a2f6259b9ba1", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/ec60a4edf94e63b0556b6a0888548bb400a3a3be", + "reference": "ec60a4edf94e63b0556b6a0888548bb400a3a3be", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "type": "library", "autoload": { @@ -2926,7 +3140,7 @@ "description": "Converts CSS selectors to XPath expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/css-selector/tree/v6.2.5" + "source": "https://github.com/symfony/css-selector/tree/v7.0.3" }, "funding": [ { @@ -2942,20 +3156,20 @@ "type": "tidelift" } ], - "time": "2023-01-01T08:38:09+00:00" + "time": "2024-01-23T15:02:46+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.2.0", + "version": "v3.4.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "1ee04c65529dea5d8744774d474e7cbd2f1206d3" + "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/1ee04c65529dea5d8744774d474e7cbd2f1206d3", - "reference": "1ee04c65529dea5d8744774d474e7cbd2f1206d3", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf", + "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf", "shasum": "" }, "require": { @@ -2964,7 +3178,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.3-dev" + "dev-main": "3.4-dev" }, "thanks": { "name": "symfony/contracts", @@ -2993,7 +3207,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.2.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.4.0" }, "funding": [ { @@ -3009,31 +3223,35 @@ "type": "tidelift" } ], - "time": "2022-11-25T10:21:52+00:00" + "time": "2023-05-23T14:45:45+00:00" }, { "name": "symfony/error-handler", - "version": "v6.2.5", + "version": "v6.4.3", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "0092696af0be8e6124b042fbe2890ca1788d7b28" + "reference": "6dc3c76a278b77f01d864a6005d640822c6f26a6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/0092696af0be8e6124b042fbe2890ca1788d7b28", - "reference": "0092696af0be8e6124b042fbe2890ca1788d7b28", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/6dc3c76a278b77f01d864a6005d640822c6f26a6", + "reference": "6dc3c76a278b77f01d864a6005d640822c6f26a6", "shasum": "" }, "require": { "php": ">=8.1", "psr/log": "^1|^2|^3", - "symfony/var-dumper": "^5.4|^6.0" + "symfony/var-dumper": "^5.4|^6.0|^7.0" + }, + "conflict": { + "symfony/deprecation-contracts": "<2.5", + "symfony/http-kernel": "<6.4" }, "require-dev": { - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/http-kernel": "^5.4|^6.0", - "symfony/serializer": "^5.4|^6.0" + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/serializer": "^5.4|^6.0|^7.0" }, "bin": [ "Resources/bin/patch-type-declarations" @@ -3064,7 +3282,7 @@ "description": "Provides tools to manage errors and ease debugging PHP code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/error-handler/tree/v6.2.5" + "source": "https://github.com/symfony/error-handler/tree/v6.4.3" }, "funding": [ { @@ -3080,28 +3298,29 @@ "type": "tidelift" } ], - "time": "2023-01-01T08:38:09+00:00" + "time": "2024-01-29T15:40:36+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v6.2.5", + "version": "v7.0.3", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "f02d108b5e9fd4a6245aa73a9d2df2ec060c3e68" + "reference": "834c28d533dd0636f910909d01b9ff45cc094b5e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/f02d108b5e9fd4a6245aa73a9d2df2ec060c3e68", - "reference": "f02d108b5e9fd4a6245aa73a9d2df2ec060c3e68", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/834c28d533dd0636f910909d01b9ff45cc094b5e", + "reference": "834c28d533dd0636f910909d01b9ff45cc094b5e", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/event-dispatcher-contracts": "^2|^3" + "php": ">=8.2", + "symfony/event-dispatcher-contracts": "^2.5|^3" }, "conflict": { - "symfony/dependency-injection": "<5.4" + "symfony/dependency-injection": "<6.4", + "symfony/service-contracts": "<2.5" }, "provide": { "psr/event-dispatcher-implementation": "1.0", @@ -3109,17 +3328,13 @@ }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/error-handler": "^5.4|^6.0", - "symfony/expression-language": "^5.4|^6.0", - "symfony/http-foundation": "^5.4|^6.0", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/stopwatch": "^5.4|^6.0" - }, - "suggest": { - "symfony/dependency-injection": "", - "symfony/http-kernel": "" + "symfony/config": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/error-handler": "^6.4|^7.0", + "symfony/expression-language": "^6.4|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/stopwatch": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -3147,7 +3362,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v6.2.5" + "source": "https://github.com/symfony/event-dispatcher/tree/v7.0.3" }, "funding": [ { @@ -3163,33 +3378,30 @@ "type": "tidelift" } ], - "time": "2023-01-01T08:38:09+00:00" + "time": "2024-01-23T15:02:46+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.2.0", + "version": "v3.4.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "0782b0b52a737a05b4383d0df35a474303cabdae" + "reference": "a76aed96a42d2b521153fb382d418e30d18b59df" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/0782b0b52a737a05b4383d0df35a474303cabdae", - "reference": "0782b0b52a737a05b4383d0df35a474303cabdae", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/a76aed96a42d2b521153fb382d418e30d18b59df", + "reference": "a76aed96a42d2b521153fb382d418e30d18b59df", "shasum": "" }, "require": { "php": ">=8.1", "psr/event-dispatcher": "^1" }, - "suggest": { - "symfony/event-dispatcher-implementation": "" - }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.3-dev" + "dev-main": "3.4-dev" }, "thanks": { "name": "symfony/contracts", @@ -3226,7 +3438,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.2.0" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.4.0" }, "funding": [ { @@ -3242,27 +3454,27 @@ "type": "tidelift" } ], - "time": "2022-11-25T10:21:52+00:00" + "time": "2023-05-23T14:45:45+00:00" }, { "name": "symfony/finder", - "version": "v6.2.5", + "version": "v6.4.0", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "c90dc446976a612e3312a97a6ec0069ab0c2099c" + "reference": "11d736e97f116ac375a81f96e662911a34cd50ce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/c90dc446976a612e3312a97a6ec0069ab0c2099c", - "reference": "c90dc446976a612e3312a97a6ec0069ab0c2099c", + "url": "https://api.github.com/repos/symfony/finder/zipball/11d736e97f116ac375a81f96e662911a34cd50ce", + "reference": "11d736e97f116ac375a81f96e662911a34cd50ce", "shasum": "" }, "require": { "php": ">=8.1" }, "require-dev": { - "symfony/filesystem": "^6.0" + "symfony/filesystem": "^6.0|^7.0" }, "type": "library", "autoload": { @@ -3290,7 +3502,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.2.5" + "source": "https://github.com/symfony/finder/tree/v6.4.0" }, "funding": [ { @@ -3306,41 +3518,40 @@ "type": "tidelift" } ], - "time": "2023-01-20T17:45:48+00:00" + "time": "2023-10-31T17:30:12+00:00" }, { "name": "symfony/http-foundation", - "version": "v6.2.6", + "version": "v6.4.3", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "e8dd1f502bc2b3371d05092aa233b064b03ce7ed" + "reference": "5677bdf7cade4619cb17fc9e1e7b31ec392244a9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/e8dd1f502bc2b3371d05092aa233b064b03ce7ed", - "reference": "e8dd1f502bc2b3371d05092aa233b064b03ce7ed", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/5677bdf7cade4619cb17fc9e1e7b31ec392244a9", + "reference": "5677bdf7cade4619cb17fc9e1e7b31ec392244a9", "shasum": "" }, "require": { "php": ">=8.1", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-mbstring": "~1.1" + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/polyfill-mbstring": "~1.1", + "symfony/polyfill-php83": "^1.27" }, "conflict": { - "symfony/cache": "<6.2" + "symfony/cache": "<6.3" }, "require-dev": { - "predis/predis": "~1.0", - "symfony/cache": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/expression-language": "^5.4|^6.0", - "symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4", - "symfony/mime": "^5.4|^6.0", - "symfony/rate-limiter": "^5.2|^6.0" - }, - "suggest": { - "symfony/mime": "To use the file extension guesser" + "doctrine/dbal": "^2.13.1|^3|^4", + "predis/predis": "^1.1|^2.0", + "symfony/cache": "^6.3|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/expression-language": "^5.4|^6.0|^7.0", + "symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4|^7.0", + "symfony/mime": "^5.4|^6.0|^7.0", + "symfony/rate-limiter": "^5.4|^6.0|^7.0" }, "type": "library", "autoload": { @@ -3368,7 +3579,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v6.2.6" + "source": "https://github.com/symfony/http-foundation/tree/v6.4.3" }, "funding": [ { @@ -3384,29 +3595,29 @@ "type": "tidelift" } ], - "time": "2023-01-30T15:46:28+00:00" + "time": "2024-01-23T14:51:35+00:00" }, { "name": "symfony/http-kernel", - "version": "v6.2.6", + "version": "v6.4.3", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "7122db07b0d8dbf0de682267c84217573aee3ea7" + "reference": "9c6ec4e543044f7568a53a76ab1484ecd30637a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/7122db07b0d8dbf0de682267c84217573aee3ea7", - "reference": "7122db07b0d8dbf0de682267c84217573aee3ea7", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/9c6ec4e543044f7568a53a76ab1484ecd30637a2", + "reference": "9c6ec4e543044f7568a53a76ab1484ecd30637a2", "shasum": "" }, "require": { "php": ">=8.1", "psr/log": "^1|^2|^3", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/error-handler": "^6.1", - "symfony/event-dispatcher": "^5.4|^6.0", - "symfony/http-foundation": "^5.4|^6.0", + "symfony/deprecation-contracts": "^2.5|^3", + "symfony/error-handler": "^6.4|^7.0", + "symfony/event-dispatcher": "^5.4|^6.0|^7.0", + "symfony/http-foundation": "^6.4|^7.0", "symfony/polyfill-ctype": "^1.8" }, "conflict": { @@ -3414,15 +3625,18 @@ "symfony/cache": "<5.4", "symfony/config": "<6.1", "symfony/console": "<5.4", - "symfony/dependency-injection": "<6.2", + "symfony/dependency-injection": "<6.4", "symfony/doctrine-bridge": "<5.4", "symfony/form": "<5.4", "symfony/http-client": "<5.4", + "symfony/http-client-contracts": "<2.5", "symfony/mailer": "<5.4", "symfony/messenger": "<5.4", "symfony/translation": "<5.4", + "symfony/translation-contracts": "<2.5", "symfony/twig-bridge": "<5.4", - "symfony/validator": "<5.4", + "symfony/validator": "<6.4", + "symfony/var-dumper": "<6.3", "twig/twig": "<2.13" }, "provide": { @@ -3430,29 +3644,28 @@ }, "require-dev": { "psr/cache": "^1.0|^2.0|^3.0", - "symfony/browser-kit": "^5.4|^6.0", - "symfony/config": "^6.1", - "symfony/console": "^5.4|^6.0", - "symfony/css-selector": "^5.4|^6.0", - "symfony/dependency-injection": "^6.2", - "symfony/dom-crawler": "^5.4|^6.0", - "symfony/expression-language": "^5.4|^6.0", - "symfony/finder": "^5.4|^6.0", - "symfony/http-client-contracts": "^1.1|^2|^3", - "symfony/process": "^5.4|^6.0", - "symfony/routing": "^5.4|^6.0", - "symfony/stopwatch": "^5.4|^6.0", - "symfony/translation": "^5.4|^6.0", - "symfony/translation-contracts": "^1.1|^2|^3", - "symfony/uid": "^5.4|^6.0", + "symfony/browser-kit": "^5.4|^6.0|^7.0", + "symfony/clock": "^6.2|^7.0", + "symfony/config": "^6.1|^7.0", + "symfony/console": "^5.4|^6.0|^7.0", + "symfony/css-selector": "^5.4|^6.0|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/dom-crawler": "^5.4|^6.0|^7.0", + "symfony/expression-language": "^5.4|^6.0|^7.0", + "symfony/finder": "^5.4|^6.0|^7.0", + "symfony/http-client-contracts": "^2.5|^3", + "symfony/process": "^5.4|^6.0|^7.0", + "symfony/property-access": "^5.4.5|^6.0.5|^7.0", + "symfony/routing": "^5.4|^6.0|^7.0", + "symfony/serializer": "^6.3|^7.0", + "symfony/stopwatch": "^5.4|^6.0|^7.0", + "symfony/translation": "^5.4|^6.0|^7.0", + "symfony/translation-contracts": "^2.5|^3", + "symfony/uid": "^5.4|^6.0|^7.0", + "symfony/validator": "^6.4|^7.0", + "symfony/var-exporter": "^6.2|^7.0", "twig/twig": "^2.13|^3.0.4" }, - "suggest": { - "symfony/browser-kit": "", - "symfony/config": "", - "symfony/console": "", - "symfony/dependency-injection": "" - }, "type": "library", "autoload": { "psr-4": { @@ -3479,7 +3692,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v6.2.6" + "source": "https://github.com/symfony/http-kernel/tree/v6.4.3" }, "funding": [ { @@ -3495,20 +3708,20 @@ "type": "tidelift" } ], - "time": "2023-02-01T08:32:25+00:00" + "time": "2024-01-31T07:21:29+00:00" }, { "name": "symfony/mailer", - "version": "v6.2.5", + "version": "v6.4.3", "source": { "type": "git", "url": "https://github.com/symfony/mailer.git", - "reference": "29729ac0b4e5113f24c39c46746bd6afb79e0aaa" + "reference": "74412c62f88a85a41b61f0b71ab0afcaad6f03ee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailer/zipball/29729ac0b4e5113f24c39c46746bd6afb79e0aaa", - "reference": "29729ac0b4e5113f24c39c46746bd6afb79e0aaa", + "url": "https://api.github.com/repos/symfony/mailer/zipball/74412c62f88a85a41b61f0b71ab0afcaad6f03ee", + "reference": "74412c62f88a85a41b61f0b71ab0afcaad6f03ee", "shasum": "" }, "require": { @@ -3516,21 +3729,22 @@ "php": ">=8.1", "psr/event-dispatcher": "^1", "psr/log": "^1|^2|^3", - "symfony/event-dispatcher": "^5.4|^6.0", - "symfony/mime": "^6.2", - "symfony/service-contracts": "^1.1|^2|^3" + "symfony/event-dispatcher": "^5.4|^6.0|^7.0", + "symfony/mime": "^6.2|^7.0", + "symfony/service-contracts": "^2.5|^3" }, "conflict": { + "symfony/http-client-contracts": "<2.5", "symfony/http-kernel": "<5.4", "symfony/messenger": "<6.2", "symfony/mime": "<6.2", "symfony/twig-bridge": "<6.2.1" }, "require-dev": { - "symfony/console": "^5.4|^6.0", - "symfony/http-client-contracts": "^1.1|^2|^3", - "symfony/messenger": "^6.2", - "symfony/twig-bridge": "^6.2" + "symfony/console": "^5.4|^6.0|^7.0", + "symfony/http-client": "^5.4|^6.0|^7.0", + "symfony/messenger": "^6.2|^7.0", + "symfony/twig-bridge": "^6.2|^7.0" }, "type": "library", "autoload": { @@ -3558,7 +3772,7 @@ "description": "Helps sending emails", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailer/tree/v6.2.5" + "source": "https://github.com/symfony/mailer/tree/v6.4.3" }, "funding": [ { @@ -3574,24 +3788,25 @@ "type": "tidelift" } ], - "time": "2023-01-10T18:53:53+00:00" + "time": "2024-01-29T15:01:07+00:00" }, { "name": "symfony/mime", - "version": "v6.2.5", + "version": "v6.4.3", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "4b7b349f67d15cd0639955c8179a76c89f6fd610" + "reference": "5017e0a9398c77090b7694be46f20eb796262a34" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/4b7b349f67d15cd0639955c8179a76c89f6fd610", - "reference": "4b7b349f67d15cd0639955c8179a76c89f6fd610", + "url": "https://api.github.com/repos/symfony/mime/zipball/5017e0a9398c77090b7694be46f20eb796262a34", + "reference": "5017e0a9398c77090b7694be46f20eb796262a34", "shasum": "" }, "require": { "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-intl-idn": "^1.10", "symfony/polyfill-mbstring": "^1.0" }, @@ -3600,16 +3815,16 @@ "phpdocumentor/reflection-docblock": "<3.2.2", "phpdocumentor/type-resolver": "<1.4.0", "symfony/mailer": "<5.4", - "symfony/serializer": "<6.2" + "symfony/serializer": "<6.3.2" }, "require-dev": { "egulias/email-validator": "^2.1.10|^3.1|^4", "league/html-to-markdown": "^5.0", "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/property-access": "^5.4|^6.0", - "symfony/property-info": "^5.4|^6.0", - "symfony/serializer": "^6.2" + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/property-access": "^5.4|^6.0|^7.0", + "symfony/property-info": "^5.4|^6.0|^7.0", + "symfony/serializer": "^6.3.2|^7.0" }, "type": "library", "autoload": { @@ -3641,7 +3856,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v6.2.5" + "source": "https://github.com/symfony/mime/tree/v6.4.3" }, "funding": [ { @@ -3657,20 +3872,20 @@ "type": "tidelift" } ], - "time": "2023-01-10T18:53:53+00:00" + "time": "2024-01-30T08:32:12+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.27.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "5bbc823adecdae860bb64756d639ecfec17b050a" + "reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", - "reference": "5bbc823adecdae860bb64756d639ecfec17b050a", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ef4d7e442ca910c4764bce785146269b30cb5fc4", + "reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4", "shasum": "" }, "require": { @@ -3684,9 +3899,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -3723,7 +3935,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.29.0" }, "funding": [ { @@ -3739,20 +3951,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.27.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "511a08c03c1960e08a883f4cffcacd219b758354" + "reference": "32a9da87d7b3245e09ac426c83d334ae9f06f80f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/511a08c03c1960e08a883f4cffcacd219b758354", - "reference": "511a08c03c1960e08a883f4cffcacd219b758354", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/32a9da87d7b3245e09ac426c83d334ae9f06f80f", + "reference": "32a9da87d7b3245e09ac426c83d334ae9f06f80f", "shasum": "" }, "require": { @@ -3763,9 +3975,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -3804,7 +4013,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.29.0" }, "funding": [ { @@ -3820,20 +4029,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-intl-idn", - "version": "v1.27.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "639084e360537a19f9ee352433b84ce831f3d2da" + "reference": "a287ed7475f85bf6f61890146edbc932c0fff919" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/639084e360537a19f9ee352433b84ce831f3d2da", - "reference": "639084e360537a19f9ee352433b84ce831f3d2da", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/a287ed7475f85bf6f61890146edbc932c0fff919", + "reference": "a287ed7475f85bf6f61890146edbc932c0fff919", "shasum": "" }, "require": { @@ -3846,9 +4055,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -3891,7 +4097,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.29.0" }, "funding": [ { @@ -3907,20 +4113,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.27.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6" + "reference": "bc45c394692b948b4d383a08d7753968bed9a83d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6", - "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/bc45c394692b948b4d383a08d7753968bed9a83d", + "reference": "bc45c394692b948b4d383a08d7753968bed9a83d", "shasum": "" }, "require": { @@ -3931,9 +4137,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -3975,7 +4178,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.29.0" }, "funding": [ { @@ -3991,20 +4194,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.27.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534" + "reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534", - "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9773676c8a1bb1f8d4340a62efe641cf76eda7ec", + "reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec", "shasum": "" }, "require": { @@ -4018,9 +4221,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -4058,7 +4258,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.29.0" }, "funding": [ { @@ -4074,20 +4274,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-php72", - "version": "v1.27.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "869329b1e9894268a8a61dabb69153029b7a8c97" + "reference": "861391a8da9a04cbad2d232ddd9e4893220d6e25" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/869329b1e9894268a8a61dabb69153029b7a8c97", - "reference": "869329b1e9894268a8a61dabb69153029b7a8c97", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/861391a8da9a04cbad2d232ddd9e4893220d6e25", + "reference": "861391a8da9a04cbad2d232ddd9e4893220d6e25", "shasum": "" }, "require": { @@ -4095,9 +4295,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -4134,7 +4331,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php72/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-php72/tree/v1.29.0" }, "funding": [ { @@ -4150,20 +4347,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.27.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936" + "reference": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", - "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/87b68208d5c1188808dd7839ee1e6c8ec3b02f1b", + "reference": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b", "shasum": "" }, "require": { @@ -4171,9 +4368,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -4217,7 +4411,84 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.29.0" + }, + "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": "2024-01-29T20:11:03+00:00" + }, + { + "name": "symfony/polyfill-php83", + "version": "v1.29.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php83.git", + "reference": "86fcae159633351e5fd145d1c47de6c528f8caff" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/86fcae159633351e5fd145d1c47de6c528f8caff", + "reference": "86fcae159633351e5fd145d1c47de6c528f8caff", + "shasum": "" + }, + "require": { + "php": ">=7.1", + "symfony/polyfill-php80": "^1.14" + }, + "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php83\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.3+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php83/tree/v1.29.0" }, "funding": [ { @@ -4233,20 +4504,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/polyfill-uuid", - "version": "v1.27.0", + "version": "v1.29.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-uuid.git", - "reference": "f3cf1a645c2734236ed1e2e671e273eeb3586166" + "reference": "3abdd21b0ceaa3000ee950097bc3cf9efc137853" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/f3cf1a645c2734236ed1e2e671e273eeb3586166", - "reference": "f3cf1a645c2734236ed1e2e671e273eeb3586166", + "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/3abdd21b0ceaa3000ee950097bc3cf9efc137853", + "reference": "3abdd21b0ceaa3000ee950097bc3cf9efc137853", "shasum": "" }, "require": { @@ -4260,9 +4531,6 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -4299,7 +4567,7 @@ "uuid" ], "support": { - "source": "https://github.com/symfony/polyfill-uuid/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-uuid/tree/v1.29.0" }, "funding": [ { @@ -4315,20 +4583,20 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-01-29T20:11:03+00:00" }, { "name": "symfony/process", - "version": "v6.2.5", + "version": "v6.4.3", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "9ead139f63dfa38c4e4a9049cc64a8b2748c83b7" + "reference": "31642b0818bfcff85930344ef93193f8c607e0a3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/9ead139f63dfa38c4e4a9049cc64a8b2748c83b7", - "reference": "9ead139f63dfa38c4e4a9049cc64a8b2748c83b7", + "url": "https://api.github.com/repos/symfony/process/zipball/31642b0818bfcff85930344ef93193f8c607e0a3", + "reference": "31642b0818bfcff85930344ef93193f8c607e0a3", "shasum": "" }, "require": { @@ -4360,7 +4628,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.2.5" + "source": "https://github.com/symfony/process/tree/v6.4.3" }, "funding": [ { @@ -4376,24 +4644,25 @@ "type": "tidelift" } ], - "time": "2023-01-01T08:38:09+00:00" + "time": "2024-01-23T14:51:35+00:00" }, { "name": "symfony/routing", - "version": "v6.2.5", + "version": "v6.4.3", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "589bd742d5d03c192c8521911680fe88f61712fe" + "reference": "3b2957ad54902f0f544df83e3d58b38d7e8e5842" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/589bd742d5d03c192c8521911680fe88f61712fe", - "reference": "589bd742d5d03c192c8521911680fe88f61712fe", + "url": "https://api.github.com/repos/symfony/routing/zipball/3b2957ad54902f0f544df83e3d58b38d7e8e5842", + "reference": "3b2957ad54902f0f544df83e3d58b38d7e8e5842", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3" }, "conflict": { "doctrine/annotations": "<1.12", @@ -4404,17 +4673,11 @@ "require-dev": { "doctrine/annotations": "^1.12|^2", "psr/log": "^1|^2|^3", - "symfony/config": "^6.2", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/expression-language": "^5.4|^6.0", - "symfony/http-foundation": "^5.4|^6.0", - "symfony/yaml": "^5.4|^6.0" - }, - "suggest": { - "symfony/config": "For using the all-in-one router or any loader", - "symfony/expression-language": "For using expression matching", - "symfony/http-foundation": "For using a Symfony Request object", - "symfony/yaml": "For using the YAML loader" + "symfony/config": "^6.2|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/expression-language": "^5.4|^6.0|^7.0", + "symfony/http-foundation": "^5.4|^6.0|^7.0", + "symfony/yaml": "^5.4|^6.0|^7.0" }, "type": "library", "autoload": { @@ -4448,7 +4711,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v6.2.5" + "source": "https://github.com/symfony/routing/tree/v6.4.3" }, "funding": [ { @@ -4464,36 +4727,33 @@ "type": "tidelift" } ], - "time": "2023-01-01T08:38:09+00:00" + "time": "2024-01-30T13:55:02+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.2.0", + "version": "v3.4.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "aac98028c69df04ee77eb69b96b86ee51fbf4b75" + "reference": "fe07cbc8d837f60caf7018068e350cc5163681a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/aac98028c69df04ee77eb69b96b86ee51fbf4b75", - "reference": "aac98028c69df04ee77eb69b96b86ee51fbf4b75", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/fe07cbc8d837f60caf7018068e350cc5163681a0", + "reference": "fe07cbc8d837f60caf7018068e350cc5163681a0", "shasum": "" }, "require": { "php": ">=8.1", - "psr/container": "^2.0" + "psr/container": "^1.1|^2.0" }, "conflict": { "ext-psr": "<1.1|>=2" }, - "suggest": { - "symfony/service-implementation": "" - }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.3-dev" + "dev-main": "3.4-dev" }, "thanks": { "name": "symfony/contracts", @@ -4533,7 +4793,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.2.0" + "source": "https://github.com/symfony/service-contracts/tree/v3.4.1" }, "funding": [ { @@ -4549,38 +4809,38 @@ "type": "tidelift" } ], - "time": "2022-11-25T10:21:52+00:00" + "time": "2023-12-26T14:02:43+00:00" }, { "name": "symfony/string", - "version": "v6.2.5", + "version": "v7.0.3", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "b2dac0fa27b1ac0f9c0c0b23b43977f12308d0b0" + "reference": "524aac4a280b90a4420d8d6a040718d0586505ac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/b2dac0fa27b1ac0f9c0c0b23b43977f12308d0b0", - "reference": "b2dac0fa27b1ac0f9c0c0b23b43977f12308d0b0", + "url": "https://api.github.com/repos/symfony/string/zipball/524aac4a280b90a4420d8d6a040718d0586505ac", + "reference": "524aac4a280b90a4420d8d6a040718d0586505ac", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.2", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-intl-grapheme": "~1.0", "symfony/polyfill-intl-normalizer": "~1.0", "symfony/polyfill-mbstring": "~1.0" }, "conflict": { - "symfony/translation-contracts": "<2.0" + "symfony/translation-contracts": "<2.5" }, "require-dev": { - "symfony/error-handler": "^5.4|^6.0", - "symfony/http-client": "^5.4|^6.0", - "symfony/intl": "^6.2", - "symfony/translation-contracts": "^2.0|^3.0", - "symfony/var-exporter": "^5.4|^6.0" + "symfony/error-handler": "^6.4|^7.0", + "symfony/http-client": "^6.4|^7.0", + "symfony/intl": "^6.4|^7.0", + "symfony/translation-contracts": "^2.5|^3.0", + "symfony/var-exporter": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -4619,7 +4879,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.2.5" + "source": "https://github.com/symfony/string/tree/v7.0.3" }, "funding": [ { @@ -4635,32 +4895,35 @@ "type": "tidelift" } ], - "time": "2023-01-01T08:38:09+00:00" + "time": "2024-01-29T15:41:16+00:00" }, { "name": "symfony/translation", - "version": "v6.2.5", + "version": "v6.4.3", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "60556925a703cfbc1581cde3b3f35b0bb0ea904c" + "reference": "637c51191b6b184184bbf98937702bcf554f7d04" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/60556925a703cfbc1581cde3b3f35b0bb0ea904c", - "reference": "60556925a703cfbc1581cde3b3f35b0bb0ea904c", + "url": "https://api.github.com/repos/symfony/translation/zipball/637c51191b6b184184bbf98937702bcf554f7d04", + "reference": "637c51191b6b184184bbf98937702bcf554f7d04", "shasum": "" }, "require": { "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-mbstring": "~1.0", - "symfony/translation-contracts": "^2.3|^3.0" + "symfony/translation-contracts": "^2.5|^3.0" }, "conflict": { "symfony/config": "<5.4", "symfony/console": "<5.4", "symfony/dependency-injection": "<5.4", + "symfony/http-client-contracts": "<2.5", "symfony/http-kernel": "<5.4", + "symfony/service-contracts": "<2.5", "symfony/twig-bundle": "<5.4", "symfony/yaml": "<5.4" }, @@ -4668,25 +4931,19 @@ "symfony/translation-implementation": "2.3|3.0" }, "require-dev": { - "nikic/php-parser": "^4.13", + "nikic/php-parser": "^4.18|^5.0", "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0", - "symfony/console": "^5.4|^6.0", - "symfony/dependency-injection": "^5.4|^6.0", - "symfony/finder": "^5.4|^6.0", - "symfony/http-client-contracts": "^1.1|^2.0|^3.0", - "symfony/http-kernel": "^5.4|^6.0", - "symfony/intl": "^5.4|^6.0", + "symfony/config": "^5.4|^6.0|^7.0", + "symfony/console": "^5.4|^6.0|^7.0", + "symfony/dependency-injection": "^5.4|^6.0|^7.0", + "symfony/finder": "^5.4|^6.0|^7.0", + "symfony/http-client-contracts": "^2.5|^3.0", + "symfony/http-kernel": "^5.4|^6.0|^7.0", + "symfony/intl": "^5.4|^6.0|^7.0", "symfony/polyfill-intl-icu": "^1.21", - "symfony/routing": "^5.4|^6.0", - "symfony/service-contracts": "^1.1.2|^2|^3", - "symfony/yaml": "^5.4|^6.0" - }, - "suggest": { - "nikic/php-parser": "To use PhpAstExtractor", - "psr/log-implementation": "To use logging capability in translator", - "symfony/config": "", - "symfony/yaml": "" + "symfony/routing": "^5.4|^6.0|^7.0", + "symfony/service-contracts": "^2.5|^3", + "symfony/yaml": "^5.4|^6.0|^7.0" }, "type": "library", "autoload": { @@ -4717,7 +4974,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v6.2.5" + "source": "https://github.com/symfony/translation/tree/v6.4.3" }, "funding": [ { @@ -4733,32 +4990,29 @@ "type": "tidelift" } ], - "time": "2023-01-05T07:00:27+00:00" + "time": "2024-01-29T13:11:52+00:00" }, { "name": "symfony/translation-contracts", - "version": "v3.2.0", + "version": "v3.4.1", "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "68cce71402305a015f8c1589bfada1280dc64fe7" + "reference": "06450585bf65e978026bda220cdebca3f867fde7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/68cce71402305a015f8c1589bfada1280dc64fe7", - "reference": "68cce71402305a015f8c1589bfada1280dc64fe7", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/06450585bf65e978026bda220cdebca3f867fde7", + "reference": "06450585bf65e978026bda220cdebca3f867fde7", "shasum": "" }, "require": { "php": ">=8.1" }, - "suggest": { - "symfony/translation-implementation": "" - }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.3-dev" + "dev-main": "3.4-dev" }, "thanks": { "name": "symfony/contracts", @@ -4798,7 +5052,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v3.2.0" + "source": "https://github.com/symfony/translation-contracts/tree/v3.4.1" }, "funding": [ { @@ -4814,20 +5068,20 @@ "type": "tidelift" } ], - "time": "2022-11-25T10:21:52+00:00" + "time": "2023-12-26T14:02:43+00:00" }, { "name": "symfony/uid", - "version": "v6.2.5", + "version": "v6.4.3", "source": { "type": "git", "url": "https://github.com/symfony/uid.git", - "reference": "8ace895bded57d6496638c9b2d3b788e05b7395b" + "reference": "1d31267211cc3a2fff32bcfc7c1818dac41b6fc0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/uid/zipball/8ace895bded57d6496638c9b2d3b788e05b7395b", - "reference": "8ace895bded57d6496638c9b2d3b788e05b7395b", + "url": "https://api.github.com/repos/symfony/uid/zipball/1d31267211cc3a2fff32bcfc7c1818dac41b6fc0", + "reference": "1d31267211cc3a2fff32bcfc7c1818dac41b6fc0", "shasum": "" }, "require": { @@ -4835,7 +5089,7 @@ "symfony/polyfill-uuid": "^1.15" }, "require-dev": { - "symfony/console": "^5.4|^6.0" + "symfony/console": "^5.4|^6.0|^7.0" }, "type": "library", "autoload": { @@ -4872,7 +5126,7 @@ "uuid" ], "support": { - "source": "https://github.com/symfony/uid/tree/v6.2.5" + "source": "https://github.com/symfony/uid/tree/v6.4.3" }, "funding": [ { @@ -4888,42 +5142,39 @@ "type": "tidelift" } ], - "time": "2023-01-01T08:38:09+00:00" + "time": "2024-01-23T14:51:35+00:00" }, { "name": "symfony/var-dumper", - "version": "v6.2.5", + "version": "v6.4.3", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "44b7b81749fd20c1bdf4946c041050e22bc8da27" + "reference": "0435a08f69125535336177c29d56af3abc1f69da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/44b7b81749fd20c1bdf4946c041050e22bc8da27", - "reference": "44b7b81749fd20c1bdf4946c041050e22bc8da27", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/0435a08f69125535336177c29d56af3abc1f69da", + "reference": "0435a08f69125535336177c29d56af3abc1f69da", "shasum": "" }, "require": { "php": ">=8.1", + "symfony/deprecation-contracts": "^2.5|^3", "symfony/polyfill-mbstring": "~1.0" }, "conflict": { - "phpunit/phpunit": "<5.4.3", "symfony/console": "<5.4" }, "require-dev": { "ext-iconv": "*", - "symfony/console": "^5.4|^6.0", - "symfony/process": "^5.4|^6.0", - "symfony/uid": "^5.4|^6.0", + "symfony/console": "^5.4|^6.0|^7.0", + "symfony/error-handler": "^6.3|^7.0", + "symfony/http-kernel": "^5.4|^6.0|^7.0", + "symfony/process": "^5.4|^6.0|^7.0", + "symfony/uid": "^5.4|^6.0|^7.0", "twig/twig": "^2.13|^3.0.4" }, - "suggest": { - "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).", - "ext-intl": "To show region name in time zone dump", - "symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script" - }, "bin": [ "Resources/bin/var-dump-server" ], @@ -4960,7 +5211,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v6.2.5" + "source": "https://github.com/symfony/var-dumper/tree/v6.4.3" }, "funding": [ { @@ -4976,27 +5227,27 @@ "type": "tidelift" } ], - "time": "2023-01-20T17:45:48+00:00" + "time": "2024-01-23T14:53:30+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", - "version": "2.2.6", + "version": "v2.2.7", "source": { "type": "git", "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git", - "reference": "c42125b83a4fa63b187fdf29f9c93cb7733da30c" + "reference": "83ee6f38df0a63106a9e4536e3060458b74ccedb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/c42125b83a4fa63b187fdf29f9c93cb7733da30c", - "reference": "c42125b83a4fa63b187fdf29f9c93cb7733da30c", + "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/83ee6f38df0a63106a9e4536e3060458b74ccedb", + "reference": "83ee6f38df0a63106a9e4536e3060458b74ccedb", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "php": "^5.5 || ^7.0 || ^8.0", - "symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0" + "symfony/css-selector": "^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0" }, "require-dev": { "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0 || ^7.5 || ^8.5.21 || ^9.5.10" @@ -5027,37 +5278,37 @@ "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", "support": { "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues", - "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/2.2.6" + "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/v2.2.7" }, - "time": "2023-01-03T09:29:04+00:00" + "time": "2023-12-08T13:03:43+00:00" }, { "name": "vlucas/phpdotenv", - "version": "v5.5.0", + "version": "v5.6.0", "source": { "type": "git", "url": "https://github.com/vlucas/phpdotenv.git", - "reference": "1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7" + "reference": "2cf9fb6054c2bb1d59d1f3817706ecdb9d2934c4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7", - "reference": "1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/2cf9fb6054c2bb1d59d1f3817706ecdb9d2934c4", + "reference": "2cf9fb6054c2bb1d59d1f3817706ecdb9d2934c4", "shasum": "" }, "require": { "ext-pcre": "*", - "graham-campbell/result-type": "^1.0.2", - "php": "^7.1.3 || ^8.0", - "phpoption/phpoption": "^1.8", - "symfony/polyfill-ctype": "^1.23", - "symfony/polyfill-mbstring": "^1.23.1", - "symfony/polyfill-php80": "^1.23.1" + "graham-campbell/result-type": "^1.1.2", + "php": "^7.2.5 || ^8.0", + "phpoption/phpoption": "^1.9.2", + "symfony/polyfill-ctype": "^1.24", + "symfony/polyfill-mbstring": "^1.24", + "symfony/polyfill-php80": "^1.24" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.4.1", + "bamarni/composer-bin-plugin": "^1.8.2", "ext-filter": "*", - "phpunit/phpunit": "^7.5.20 || ^8.5.30 || ^9.5.25" + "phpunit/phpunit": "^8.5.34 || ^9.6.13 || ^10.4.2" }, "suggest": { "ext-filter": "Required to use the boolean validator." @@ -5069,7 +5320,7 @@ "forward-command": true }, "branch-alias": { - "dev-master": "5.5-dev" + "dev-master": "5.6-dev" } }, "autoload": { @@ -5101,7 +5352,7 @@ ], "support": { "issues": "https://github.com/vlucas/phpdotenv/issues", - "source": "https://github.com/vlucas/phpdotenv/tree/v5.5.0" + "source": "https://github.com/vlucas/phpdotenv/tree/v5.6.0" }, "funding": [ { @@ -5113,7 +5364,7 @@ "type": "tidelift" } ], - "time": "2022-10-16T01:01:54+00:00" + "time": "2023-11-12T22:43:29+00:00" }, { "name": "voku/portable-ascii", @@ -5251,22 +5502,22 @@ "packages-dev": [ { "name": "guzzlehttp/guzzle", - "version": "7.5.0", + "version": "7.8.1", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba" + "reference": "41042bc7ab002487b876a0683fc8dce04ddce104" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba", - "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/41042bc7ab002487b876a0683fc8dce04ddce104", + "reference": "41042bc7ab002487b876a0683fc8dce04ddce104", "shasum": "" }, "require": { "ext-json": "*", - "guzzlehttp/promises": "^1.5", - "guzzlehttp/psr7": "^1.9 || ^2.4", + "guzzlehttp/promises": "^1.5.3 || ^2.0.1", + "guzzlehttp/psr7": "^1.9.1 || ^2.5.1", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0", "symfony/deprecation-contracts": "^2.2 || ^3.0" @@ -5275,10 +5526,11 @@ "psr/http-client-implementation": "1.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.1", + "bamarni/composer-bin-plugin": "^1.8.2", "ext-curl": "*", - "php-http/client-integration-tests": "^3.0", - "phpunit/phpunit": "^8.5.29 || ^9.5.23", + "php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999", + "php-http/message-factory": "^1.1", + "phpunit/phpunit": "^8.5.36 || ^9.6.15", "psr/log": "^1.1 || ^2.0 || ^3.0" }, "suggest": { @@ -5291,9 +5543,6 @@ "bamarni-bin": { "bin-links": true, "forward-command": false - }, - "branch-alias": { - "dev-master": "7.5-dev" } }, "autoload": { @@ -5359,7 +5608,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.5.0" + "source": "https://github.com/guzzle/guzzle/tree/7.8.1" }, "funding": [ { @@ -5375,38 +5624,37 @@ "type": "tidelift" } ], - "time": "2022-08-28T15:39:27+00:00" + "time": "2023-12-03T20:35:24+00:00" }, { "name": "guzzlehttp/promises", - "version": "1.5.2", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "b94b2807d85443f9719887892882d0329d1e2598" + "reference": "bbff78d96034045e58e13dedd6ad91b5d1253223" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/b94b2807d85443f9719887892882d0329d1e2598", - "reference": "b94b2807d85443f9719887892882d0329d1e2598", + "url": "https://api.github.com/repos/guzzle/promises/zipball/bbff78d96034045e58e13dedd6ad91b5d1253223", + "reference": "bbff78d96034045e58e13dedd6ad91b5d1253223", "shasum": "" }, "require": { - "php": ">=5.5" + "php": "^7.2.5 || ^8.0" }, "require-dev": { - "symfony/phpunit-bridge": "^4.4 || ^5.1" + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.36 || ^9.6.15" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "1.5-dev" + "bamarni-bin": { + "bin-links": true, + "forward-command": false } }, "autoload": { - "files": [ - "src/functions_include.php" - ], "psr-4": { "GuzzleHttp\\Promise\\": "src/" } @@ -5443,7 +5691,7 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/1.5.2" + "source": "https://github.com/guzzle/promises/tree/2.0.2" }, "funding": [ { @@ -5459,26 +5707,26 @@ "type": "tidelift" } ], - "time": "2022-08-28T14:55:35+00:00" + "time": "2023-12-03T20:19:20+00:00" }, { "name": "guzzlehttp/psr7", - "version": "2.4.3", + "version": "2.6.2", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "67c26b443f348a51926030c83481b85718457d3d" + "reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/67c26b443f348a51926030c83481b85718457d3d", - "reference": "67c26b443f348a51926030c83481b85718457d3d", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/45b30f99ac27b5ca93cb4831afe16285f57b8221", + "reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221", "shasum": "" }, "require": { "php": "^7.2.5 || ^8.0", "psr/http-factory": "^1.0", - "psr/http-message": "^1.0", + "psr/http-message": "^1.1 || ^2.0", "ralouphie/getallheaders": "^3.0" }, "provide": { @@ -5486,9 +5734,9 @@ "psr/http-message-implementation": "1.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.1", + "bamarni/composer-bin-plugin": "^1.8.2", "http-interop/http-factory-tests": "^0.9", - "phpunit/phpunit": "^8.5.29 || ^9.5.23" + "phpunit/phpunit": "^8.5.36 || ^9.6.15" }, "suggest": { "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" @@ -5498,9 +5746,6 @@ "bamarni-bin": { "bin-links": true, "forward-command": false - }, - "branch-alias": { - "dev-master": "2.4-dev" } }, "autoload": { @@ -5562,7 +5807,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.4.3" + "source": "https://github.com/guzzle/psr7/tree/2.6.2" }, "funding": [ { @@ -5578,7 +5823,7 @@ "type": "tidelift" } ], - "time": "2022-10-26T14:07:24+00:00" + "time": "2023-12-03T20:05:35+00:00" }, { "name": "hamcrest/hamcrest-php", @@ -5690,16 +5935,16 @@ }, { "name": "laravel/sanctum", - "version": "v3.2.1", + "version": "v3.3.3", "source": { "type": "git", "url": "https://github.com/laravel/sanctum.git", - "reference": "d09d69bac55708fcd4a3b305d760e673d888baf9" + "reference": "8c104366459739f3ada0e994bcd3e6fd681ce3d5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/sanctum/zipball/d09d69bac55708fcd4a3b305d760e673d888baf9", - "reference": "d09d69bac55708fcd4a3b305d760e673d888baf9", + "url": "https://api.github.com/repos/laravel/sanctum/zipball/8c104366459739f3ada0e994bcd3e6fd681ce3d5", + "reference": "8c104366459739f3ada0e994bcd3e6fd681ce3d5", "shasum": "" }, "require": { @@ -5712,8 +5957,9 @@ }, "require-dev": { "mockery/mockery": "^1.0", - "orchestra/testbench": "^7.0|^8.0", - "phpunit/phpunit": "^9.3" + "orchestra/testbench": "^7.28.2|^8.8.3", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^9.6" }, "type": "library", "extra": { @@ -5751,42 +5997,40 @@ "issues": "https://github.com/laravel/sanctum/issues", "source": "https://github.com/laravel/sanctum" }, - "time": "2023-01-13T15:41:49+00:00" + "time": "2023-12-19T18:44:48+00:00" }, { "name": "laravel/tinker", - "version": "v2.8.0", + "version": "v2.9.0", "source": { "type": "git", "url": "https://github.com/laravel/tinker.git", - "reference": "74d0b287cc4ae65d15c368dd697aae71d62a73ad" + "reference": "502e0fe3f0415d06d5db1f83a472f0f3b754bafe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/tinker/zipball/74d0b287cc4ae65d15c368dd697aae71d62a73ad", - "reference": "74d0b287cc4ae65d15c368dd697aae71d62a73ad", + "url": "https://api.github.com/repos/laravel/tinker/zipball/502e0fe3f0415d06d5db1f83a472f0f3b754bafe", + "reference": "502e0fe3f0415d06d5db1f83a472f0f3b754bafe", "shasum": "" }, "require": { - "illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/console": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", "php": "^7.2.5|^8.0", - "psy/psysh": "^0.10.4|^0.11.1", - "symfony/var-dumper": "^4.3.4|^5.0|^6.0" + "psy/psysh": "^0.11.1|^0.12.0", + "symfony/var-dumper": "^4.3.4|^5.0|^6.0|^7.0" }, "require-dev": { "mockery/mockery": "~1.3.3|^1.4.2", + "phpstan/phpstan": "^1.10", "phpunit/phpunit": "^8.5.8|^9.3.3" }, "suggest": { - "illuminate/database": "The Illuminate Database package (^6.0|^7.0|^8.0|^9.0|^10.0)." + "illuminate/database": "The Illuminate Database package (^6.0|^7.0|^8.0|^9.0|^10.0|^11.0)." }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - }, "laravel": { "providers": [ "Laravel\\Tinker\\TinkerServiceProvider" @@ -5817,44 +6061,44 @@ ], "support": { "issues": "https://github.com/laravel/tinker/issues", - "source": "https://github.com/laravel/tinker/tree/v2.8.0" + "source": "https://github.com/laravel/tinker/tree/v2.9.0" }, - "time": "2023-01-10T18:03:30+00:00" + "time": "2024-01-04T16:10:04+00:00" }, { "name": "mockery/mockery", - "version": "1.5.1", + "version": "1.6.7", "source": { "type": "git", "url": "https://github.com/mockery/mockery.git", - "reference": "e92dcc83d5a51851baf5f5591d32cb2b16e3684e" + "reference": "0cc058854b3195ba21dc6b1f7b1f60f4ef3a9c06" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mockery/mockery/zipball/e92dcc83d5a51851baf5f5591d32cb2b16e3684e", - "reference": "e92dcc83d5a51851baf5f5591d32cb2b16e3684e", + "url": "https://api.github.com/repos/mockery/mockery/zipball/0cc058854b3195ba21dc6b1f7b1f60f4ef3a9c06", + "reference": "0cc058854b3195ba21dc6b1f7b1f60f4ef3a9c06", "shasum": "" }, "require": { "hamcrest/hamcrest-php": "^2.0.1", "lib-pcre": ">=7.0", - "php": "^7.3 || ^8.0" + "php": ">=7.3" }, "conflict": { "phpunit/phpunit": "<8.0" }, "require-dev": { - "phpunit/phpunit": "^8.5 || ^9.3" + "phpunit/phpunit": "^8.5 || ^9.6.10", + "symplify/easy-coding-standard": "^12.0.8" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.4.x-dev" - } - }, "autoload": { - "psr-0": { - "Mockery": "library/" + "files": [ + "library/helpers.php", + "library/Mockery.php" + ], + "psr-4": { + "Mockery\\": "library/Mockery" } }, "notification-url": "https://packagist.org/downloads/", @@ -5865,12 +6109,20 @@ { "name": "Pádraic Brady", "email": "padraic.brady@gmail.com", - "homepage": "http://blog.astrumfutura.com" + "homepage": "https://github.com/padraic", + "role": "Author" }, { "name": "Dave Marshall", "email": "dave.marshall@atstsolutions.co.uk", - "homepage": "http://davedevelopment.co.uk" + "homepage": "https://davedevelopment.co.uk", + "role": "Developer" + }, + { + "name": "Nathanael Esayeas", + "email": "nathanael.esayeas@protonmail.com", + "homepage": "https://github.com/ghostwriter", + "role": "Lead Developer" } ], "description": "Mockery is a simple yet flexible PHP mock object framework", @@ -5888,23 +6140,26 @@ "testing" ], "support": { + "docs": "https://docs.mockery.io/", "issues": "https://github.com/mockery/mockery/issues", - "source": "https://github.com/mockery/mockery/tree/1.5.1" + "rss": "https://github.com/mockery/mockery/releases.atom", + "security": "https://github.com/mockery/mockery/security/advisories", + "source": "https://github.com/mockery/mockery" }, - "time": "2022-09-07T15:32:08+00:00" + "time": "2023-12-10T02:24:34+00:00" }, { "name": "myclabs/deep-copy", - "version": "1.11.0", + "version": "1.11.1", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614" + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/14daed4296fae74d9e3201d2c4925d1acb7aa614", - "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", "shasum": "" }, "require": { @@ -5942,7 +6197,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.11.0" + "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1" }, "funding": [ { @@ -5950,29 +6205,31 @@ "type": "tidelift" } ], - "time": "2022-03-03T13:19:32+00:00" + "time": "2023-03-08T13:26:56+00:00" }, { "name": "nikic/php-parser", - "version": "v4.15.3", + "version": "v5.0.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "570e980a201d8ed0236b0a62ddf2c9cbb2034039" + "reference": "4a21235f7e56e713259a6f76bf4b5ea08502b9dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/570e980a201d8ed0236b0a62ddf2c9cbb2034039", - "reference": "570e980a201d8ed0236b0a62ddf2c9cbb2034039", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/4a21235f7e56e713259a6f76bf4b5ea08502b9dc", + "reference": "4a21235f7e56e713259a6f76bf4b5ea08502b9dc", "shasum": "" }, "require": { + "ext-ctype": "*", + "ext-json": "*", "ext-tokenizer": "*", - "php": ">=7.0" + "php": ">=7.4" }, "require-dev": { "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" }, "bin": [ "bin/php-parse" @@ -5980,7 +6237,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.9-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -6004,9 +6261,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.3" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.0.0" }, - "time": "2023-01-16T22:05:37+00:00" + "time": "2024-01-07T17:17:35+00:00" }, { "name": "phar-io/manifest", @@ -6121,23 +6378,23 @@ }, { "name": "phpunit/php-code-coverage", - "version": "10.0.0", + "version": "10.1.11", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "bf4fbc9c13af7da12b3ea807574fb460f255daba" + "reference": "78c3b7625965c2513ee96569a4dbb62601784145" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/bf4fbc9c13af7da12b3ea807574fb460f255daba", - "reference": "bf4fbc9c13af7da12b3ea807574fb460f255daba", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/78c3b7625965c2513ee96569a4dbb62601784145", + "reference": "78c3b7625965c2513ee96569a4dbb62601784145", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.14", + "nikic/php-parser": "^4.18 || ^5.0", "php": ">=8.1", "phpunit/php-file-iterator": "^4.0", "phpunit/php-text-template": "^3.0", @@ -6149,16 +6406,16 @@ "theseer/tokenizer": "^1.2.0" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^10.1" }, "suggest": { - "ext-pcov": "*", - "ext-xdebug": "*" + "ext-pcov": "PHP extension that provides line coverage", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "10.0-dev" + "dev-main": "10.1-dev" } }, "autoload": { @@ -6186,7 +6443,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.0.0" + "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.11" }, "funding": [ { @@ -6194,20 +6452,20 @@ "type": "github" } ], - "time": "2023-02-03T07:14:34+00:00" + "time": "2023-12-21T15:38:30+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "4.0.0", + "version": "4.1.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "7d66d4e816d34e90acec9db9d8d94b5cfbfe926f" + "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/7d66d4e816d34e90acec9db9d8d94b5cfbfe926f", - "reference": "7d66d4e816d34e90acec9db9d8d94b5cfbfe926f", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/a95037b6d9e608ba092da1b23931e537cadc3c3c", + "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c", "shasum": "" }, "require": { @@ -6246,7 +6504,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/4.0.0" + "security": "https://github.com/sebastianbergmann/php-file-iterator/security/policy", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/4.1.0" }, "funding": [ { @@ -6254,7 +6513,7 @@ "type": "github" } ], - "time": "2023-02-03T06:55:11+00:00" + "time": "2023-08-31T06:24:48+00:00" }, { "name": "phpunit/php-invoker", @@ -6321,16 +6580,16 @@ }, { "name": "phpunit/php-text-template", - "version": "3.0.0", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "9f3d3709577a527025f55bcf0f7ab8052c8bb37d" + "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/9f3d3709577a527025f55bcf0f7ab8052c8bb37d", - "reference": "9f3d3709577a527025f55bcf0f7ab8052c8bb37d", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/0c7b06ff49e3d5072f057eb1fa59258bf287a748", + "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748", "shasum": "" }, "require": { @@ -6368,7 +6627,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/3.0.0" + "security": "https://github.com/sebastianbergmann/php-text-template/security/policy", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/3.0.1" }, "funding": [ { @@ -6376,7 +6636,7 @@ "type": "github" } ], - "time": "2023-02-03T06:56:46+00:00" + "time": "2023-08-31T14:07:24+00:00" }, { "name": "phpunit/php-timer", @@ -6439,16 +6699,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.0.5", + "version": "10.5.10", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "5f4a775285c6401693cee39876f3ba764d42cb24" + "reference": "50b8e314b6d0dd06521dc31d1abffa73f25f850c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/5f4a775285c6401693cee39876f3ba764d42cb24", - "reference": "5f4a775285c6401693cee39876f3ba764d42cb24", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/50b8e314b6d0dd06521dc31d1abffa73f25f850c", + "reference": "50b8e314b6d0dd06521dc31d1abffa73f25f850c", "shasum": "" }, "require": { @@ -6462,7 +6722,7 @@ "phar-io/manifest": "^2.0.3", "phar-io/version": "^3.0.2", "php": ">=8.1", - "phpunit/php-code-coverage": "^10.0", + "phpunit/php-code-coverage": "^10.1.5", "phpunit/php-file-iterator": "^4.0", "phpunit/php-invoker": "^4.0", "phpunit/php-text-template": "^3.0", @@ -6472,15 +6732,15 @@ "sebastian/comparator": "^5.0", "sebastian/diff": "^5.0", "sebastian/environment": "^6.0", - "sebastian/exporter": "^5.0", - "sebastian/global-state": "^6.0", + "sebastian/exporter": "^5.1", + "sebastian/global-state": "^6.0.1", "sebastian/object-enumerator": "^5.0", "sebastian/recursion-context": "^5.0", "sebastian/type": "^4.0", "sebastian/version": "^4.0" }, "suggest": { - "ext-soap": "*" + "ext-soap": "To be able to generate mocks based on WSDL files" }, "bin": [ "phpunit" @@ -6488,7 +6748,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "10.0-dev" + "dev-main": "10.5-dev" } }, "autoload": { @@ -6519,7 +6779,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.0.5" + "security": "https://github.com/sebastianbergmann/phpunit/security/policy", + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.10" }, "funding": [ { @@ -6535,29 +6796,29 @@ "type": "tidelift" } ], - "time": "2023-02-07T06:06:01+00:00" + "time": "2024-02-04T09:07:51+00:00" }, { "name": "psy/psysh", - "version": "v0.11.12", + "version": "v0.12.0", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "52cb7c47d403c31c0adc9bf7710fc355f93c20f7" + "reference": "750bf031a48fd07c673dbe3f11f72362ea306d0d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/52cb7c47d403c31c0adc9bf7710fc355f93c20f7", - "reference": "52cb7c47d403c31c0adc9bf7710fc355f93c20f7", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/750bf031a48fd07c673dbe3f11f72362ea306d0d", + "reference": "750bf031a48fd07c673dbe3f11f72362ea306d0d", "shasum": "" }, "require": { "ext-json": "*", "ext-tokenizer": "*", - "nikic/php-parser": "^4.0 || ^3.1", - "php": "^8.0 || ^7.0.8", - "symfony/console": "^6.0 || ^5.0 || ^4.0 || ^3.4", - "symfony/var-dumper": "^6.0 || ^5.0 || ^4.0 || ^3.4" + "nikic/php-parser": "^5.0 || ^4.0", + "php": "^8.0 || ^7.4", + "symfony/console": "^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4", + "symfony/var-dumper": "^7.0 || ^6.0 || ^5.0 || ^4.0 || ^3.4" }, "conflict": { "symfony/console": "4.4.37 || 5.3.14 || 5.3.15 || 5.4.3 || 5.4.4 || 6.0.3 || 6.0.4" @@ -6568,8 +6829,7 @@ "suggest": { "ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)", "ext-pdo-sqlite": "The doc command requires SQLite to work.", - "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well.", - "ext-readline": "Enables support for arrow-key history navigation, and showing and manipulating command history." + "ext-posix": "If you have PCNTL, you'll want the POSIX extension as well." }, "bin": [ "bin/psysh" @@ -6577,7 +6837,11 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "0.11.x-dev" + "dev-main": "0.12.x-dev" + }, + "bamarni-bin": { + "bin-links": false, + "forward-command": false } }, "autoload": { @@ -6609,9 +6873,9 @@ ], "support": { "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/v0.11.12" + "source": "https://github.com/bobthecow/psysh/tree/v0.12.0" }, - "time": "2023-01-29T21:24:40+00:00" + "time": "2023-12-20T15:28:09+00:00" }, { "name": "ralouphie/getallheaders", @@ -6826,16 +7090,16 @@ }, { "name": "sebastian/comparator", - "version": "5.0.0", + "version": "5.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "72f01e6586e0caf6af81297897bd112eb7e9627c" + "reference": "2db5010a484d53ebf536087a70b4a5423c102372" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/72f01e6586e0caf6af81297897bd112eb7e9627c", - "reference": "72f01e6586e0caf6af81297897bd112eb7e9627c", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2db5010a484d53ebf536087a70b4a5423c102372", + "reference": "2db5010a484d53ebf536087a70b4a5423c102372", "shasum": "" }, "require": { @@ -6846,7 +7110,7 @@ "sebastian/exporter": "^5.0" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^10.3" }, "type": "library", "extra": { @@ -6890,7 +7154,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", - "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.0" + "security": "https://github.com/sebastianbergmann/comparator/security/policy", + "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.1" }, "funding": [ { @@ -6898,24 +7163,24 @@ "type": "github" } ], - "time": "2023-02-03T07:07:16+00:00" + "time": "2023-08-14T13:18:12+00:00" }, { "name": "sebastian/complexity", - "version": "3.0.0", + "version": "3.2.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "e67d240970c9dc7ea7b2123a6d520e334dd61dc6" + "reference": "68ff824baeae169ec9f2137158ee529584553799" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/e67d240970c9dc7ea7b2123a6d520e334dd61dc6", - "reference": "e67d240970c9dc7ea7b2123a6d520e334dd61dc6", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/68ff824baeae169ec9f2137158ee529584553799", + "reference": "68ff824baeae169ec9f2137158ee529584553799", "shasum": "" }, "require": { - "nikic/php-parser": "^4.10", + "nikic/php-parser": "^4.18 || ^5.0", "php": ">=8.1" }, "require-dev": { @@ -6924,7 +7189,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "3.2-dev" } }, "autoload": { @@ -6947,7 +7212,8 @@ "homepage": "https://github.com/sebastianbergmann/complexity", "support": { "issues": "https://github.com/sebastianbergmann/complexity/issues", - "source": "https://github.com/sebastianbergmann/complexity/tree/3.0.0" + "security": "https://github.com/sebastianbergmann/complexity/security/policy", + "source": "https://github.com/sebastianbergmann/complexity/tree/3.2.0" }, "funding": [ { @@ -6955,20 +7221,20 @@ "type": "github" } ], - "time": "2023-02-03T06:59:47+00:00" + "time": "2023-12-21T08:37:17+00:00" }, { "name": "sebastian/diff", - "version": "5.0.0", + "version": "5.1.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "70dd1b20bc198da394ad542e988381b44e64e39f" + "reference": "fbf413a49e54f6b9b17e12d900ac7f6101591b7f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/70dd1b20bc198da394ad542e988381b44e64e39f", - "reference": "70dd1b20bc198da394ad542e988381b44e64e39f", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/fbf413a49e54f6b9b17e12d900ac7f6101591b7f", + "reference": "fbf413a49e54f6b9b17e12d900ac7f6101591b7f", "shasum": "" }, "require": { @@ -6981,7 +7247,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-main": "5.1-dev" } }, "autoload": { @@ -7013,7 +7279,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/5.0.0" + "security": "https://github.com/sebastianbergmann/diff/security/policy", + "source": "https://github.com/sebastianbergmann/diff/tree/5.1.0" }, "funding": [ { @@ -7021,20 +7288,20 @@ "type": "github" } ], - "time": "2023-02-03T07:00:31+00:00" + "time": "2023-12-22T10:55:06+00:00" }, { "name": "sebastian/environment", - "version": "6.0.0", + "version": "6.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "b6f3694c6386c7959915a0037652e0c40f6f69cc" + "reference": "43c751b41d74f96cbbd4e07b7aec9675651e2951" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/b6f3694c6386c7959915a0037652e0c40f6f69cc", - "reference": "b6f3694c6386c7959915a0037652e0c40f6f69cc", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/43c751b41d74f96cbbd4e07b7aec9675651e2951", + "reference": "43c751b41d74f96cbbd4e07b7aec9675651e2951", "shasum": "" }, "require": { @@ -7076,7 +7343,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/6.0.0" + "security": "https://github.com/sebastianbergmann/environment/security/policy", + "source": "https://github.com/sebastianbergmann/environment/tree/6.0.1" }, "funding": [ { @@ -7084,20 +7352,20 @@ "type": "github" } ], - "time": "2023-02-03T07:03:04+00:00" + "time": "2023-04-11T05:39:26+00:00" }, { "name": "sebastian/exporter", - "version": "5.0.0", + "version": "5.1.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "f3ec4bf931c0b31e5b413f5b4fc970a7d03338c0" + "reference": "64f51654862e0f5e318db7e9dcc2292c63cdbddc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/f3ec4bf931c0b31e5b413f5b4fc970a7d03338c0", - "reference": "f3ec4bf931c0b31e5b413f5b4fc970a7d03338c0", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/64f51654862e0f5e318db7e9dcc2292c63cdbddc", + "reference": "64f51654862e0f5e318db7e9dcc2292c63cdbddc", "shasum": "" }, "require": { @@ -7111,7 +7379,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-main": "5.1-dev" } }, "autoload": { @@ -7153,7 +7421,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/5.0.0" + "security": "https://github.com/sebastianbergmann/exporter/security/policy", + "source": "https://github.com/sebastianbergmann/exporter/tree/5.1.1" }, "funding": [ { @@ -7161,20 +7430,20 @@ "type": "github" } ], - "time": "2023-02-03T07:06:49+00:00" + "time": "2023-09-24T13:22:09+00:00" }, { "name": "sebastian/global-state", - "version": "6.0.0", + "version": "6.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "aab257c712de87b90194febd52e4d184551c2d44" + "reference": "7ea9ead78f6d380d2a667864c132c2f7b83055e4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/aab257c712de87b90194febd52e4d184551c2d44", - "reference": "aab257c712de87b90194febd52e4d184551c2d44", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/7ea9ead78f6d380d2a667864c132c2f7b83055e4", + "reference": "7ea9ead78f6d380d2a667864c132c2f7b83055e4", "shasum": "" }, "require": { @@ -7214,7 +7483,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/6.0.0" + "security": "https://github.com/sebastianbergmann/global-state/security/policy", + "source": "https://github.com/sebastianbergmann/global-state/tree/6.0.1" }, "funding": [ { @@ -7222,24 +7492,24 @@ "type": "github" } ], - "time": "2023-02-03T07:07:38+00:00" + "time": "2023-07-19T07:19:23+00:00" }, { "name": "sebastian/lines-of-code", - "version": "2.0.0", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "17c4d940ecafb3d15d2cf916f4108f664e28b130" + "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/17c4d940ecafb3d15d2cf916f4108f664e28b130", - "reference": "17c4d940ecafb3d15d2cf916f4108f664e28b130", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/856e7f6a75a84e339195d48c556f23be2ebf75d0", + "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0", "shasum": "" }, "require": { - "nikic/php-parser": "^4.10", + "nikic/php-parser": "^4.18 || ^5.0", "php": ">=8.1" }, "require-dev": { @@ -7271,7 +7541,8 @@ "homepage": "https://github.com/sebastianbergmann/lines-of-code", "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.0" + "security": "https://github.com/sebastianbergmann/lines-of-code/security/policy", + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.2" }, "funding": [ { @@ -7279,7 +7550,7 @@ "type": "github" } ], - "time": "2023-02-03T07:08:02+00:00" + "time": "2023-12-21T08:38:20+00:00" }, { "name": "sebastian/object-enumerator", @@ -7567,16 +7838,16 @@ }, { "name": "theseer/tokenizer", - "version": "1.2.1", + "version": "1.2.2", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" + "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", - "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/b2ad5003ca10d4ee50a12da31de12a5774ba6b96", + "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96", "shasum": "" }, "require": { @@ -7605,7 +7876,7 @@ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/1.2.1" + "source": "https://github.com/theseer/tokenizer/tree/1.2.2" }, "funding": [ { @@ -7613,7 +7884,7 @@ "type": "github" } ], - "time": "2021-07-28T10:34:58+00:00" + "time": "2023-11-20T00:12:19+00:00" } ], "aliases": [], @@ -7625,5 +7896,5 @@ "php": ">=8.0" }, "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } diff --git a/data/deltat.csv b/data/deltat.csv index e0a860f..f4d1bcc 100644 --- a/data/deltat.csv +++ b/data/deltat.csv @@ -1,3 +1,4 @@ +2024,69.18 2023,69.20 2022,69.29 2021,69.36 diff --git a/data/deltat.xlsx b/data/deltat.xlsx index ac50371..7a1bc54 100644 Binary files a/data/deltat.xlsx and b/data/deltat.xlsx differ diff --git a/docs/deltat.png b/docs/deltat.png index 7e20742..f1d196c 100644 Binary files a/docs/deltat.png and b/docs/deltat.png differ diff --git a/src/deepskylog/AstronomyLibrary/AstronomyLibrary.php b/src/deepskylog/AstronomyLibrary/AstronomyLibrary.php index f59504b..0ff218f 100644 --- a/src/deepskylog/AstronomyLibrary/AstronomyLibrary.php +++ b/src/deepskylog/AstronomyLibrary/AstronomyLibrary.php @@ -5,8 +5,10 @@ * PHP Version 8 * * @category AstronomyLibrary + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -26,8 +28,10 @@ * PHP Version 8 * * @category AstronomyLibrary + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class AstronomyLibrary @@ -45,9 +49,9 @@ class AstronomyLibrary /** * The constructor. * - * @param Carbon $carbonDate The date - * @param GeographicalCoordinates $coordinates The geographical coordinates - * @param float $height The height of the location + * @param Carbon $carbonDate The date + * @param GeographicalCoordinates $coordinates The geographical coordinates + * @param float $height The height of the location */ public function __construct( Carbon $carbonDate, @@ -79,8 +83,7 @@ public function getDate(): Carbon /** * Sets the date and time. * - * @param Carbon $date The new Carbon date - * + * @param Carbon $date The new Carbon date * @return None */ public function setDate(Carbon $date): void @@ -109,8 +112,7 @@ public function getGeographicalCoordinates(): GeographicalCoordinates /** * Sets the date and time. * - * @param GeographicalCoordinates $coordinates The new geographical coordinates - * + * @param GeographicalCoordinates $coordinates The new geographical coordinates * @return None */ public function setGeographicalCoordinates( @@ -138,8 +140,7 @@ public function getHeight(): float /** * Sets the height of the location in meters. * - * @param float $height The height of the location in meters - * + * @param float $height The height of the location in meters * @return None */ public function setHeight( @@ -162,8 +163,7 @@ public function getJd(): float /** * Sets the julian day and adapt the date. * - * @param float $jd The julian day - * + * @param float $jd The julian day * @return None */ public function setJd(float $jd): void @@ -238,8 +238,7 @@ public function getNutation(): array /** * Converts from Equatorial coordinates to ecliptical coordinates. * - * @param EquatorialCoordinates $coords the equatorial coordinates to convert - * + * @param EquatorialCoordinates $coords the equatorial coordinates to convert * @return EclipticalCoordinates the ecliptical coordinates for J2000 */ public function equatorialToEcliptical( @@ -251,8 +250,7 @@ public function equatorialToEcliptical( /** * Converts from Ecliptical coordinates to Equatorial coordinates. * - * @param EclipticalCoordinates $coords the ecliptical coordinates to convert - * + * @param EclipticalCoordinates $coords the ecliptical coordinates to convert * @return EquatorialCoordinates The equatorial coordinates in J2000 */ public function eclipticalToEquatorial( @@ -264,8 +262,7 @@ public function eclipticalToEquatorial( /** * Converts from Equatorial coordinates to horizontal coordinates. * - * @param EquatorialCoordinates $coords the equatorial coordinates to convert - * + * @param EquatorialCoordinates $coords the equatorial coordinates to convert * @return HorizontalCoordinates the horizontal coordinates for the date and * location */ @@ -283,8 +280,7 @@ public function equatorialToHorizontal( * negative before and positive after the passage throught the southern * meridian. This is the effect of the moon that is lying down at moonrise. * - * @param EquatorialCoordinates $coords The coordinates of the object - * + * @param EquatorialCoordinates $coords The coordinates of the object * @return float the parallactic angle in degrees */ public function parallacticAngle(EquatorialCoordinates $coords): float @@ -298,8 +294,7 @@ public function parallacticAngle(EquatorialCoordinates $coords): float /** * Converts from Horizontal coordinates to Equatorial coordinates. * - * @param HorizontalCoordinates $coords the horizontal coordinates to convert - * + * @param HorizontalCoordinates $coords the horizontal coordinates to convert * @return EquatorialCoordinates The equatorial coordinates */ public function horizontalToEquatorial( @@ -314,8 +309,7 @@ public function horizontalToEquatorial( /** * Converts from Equatorial coordinates to Galactic coordinates. * - * @param EquatorialCoordinates $coords the equatorial coordinates to convert - * + * @param EquatorialCoordinates $coords the equatorial coordinates to convert * @return GalacticCoordinates The galactic coordinates (J2000) */ public function equatorialToGalactic( @@ -327,8 +321,7 @@ public function equatorialToGalactic( /** * Converts from Galactic coordinates to Equatorial coordinates. * - * @param GalacticCoordinates $coords the galactic coordinates to convert - * + * @param GalacticCoordinates $coords the galactic coordinates to convert * @return EquatorialCoordinates The equatorial coordinates */ public function galacticToEquatorial( @@ -340,8 +333,7 @@ public function galacticToEquatorial( /** * Creates a chart with the length of the year during the year. * - * @param string $timezone the timezone to create the graph for - * + * @param string $timezone the timezone to create the graph for * @return string The chart with the length of the night */ public function getLengthOfNightPlot($timezone): string @@ -687,7 +679,7 @@ public function getLengthOfNightPlot($timezone): string } // Date line $red = imagecolorallocate($image, 255, 0, 0); - $datelocation = 2 * ($this->getDate()->dayOfYear); + $datelocation = 2 * $this->getDate()->dayOfYear; imageline($image, $datelocation + 70, 5, $datelocation + 70, 365, $red); imageline($image, 802, 365, 802, 355, $axiscolor); @@ -731,12 +723,11 @@ public function getLengthOfNightPlot($timezone): string * Returns true if the three bodies are in a straight line. * Chapter 19 of Astronomical Algorithms. * - * @param EquatorialCoordinates $coords1 The coordinates of the first object - * @param EquatorialCoordinates $coords2 The coordinates of the second object - * @param EquatorialCoordinates $coords3 The coordinates of the thirds object - * @param float $threshold The threshold for the method - * (default value is 10e-06) - * + * @param EquatorialCoordinates $coords1 The coordinates of the first object + * @param EquatorialCoordinates $coords2 The coordinates of the second object + * @param EquatorialCoordinates $coords3 The coordinates of the thirds object + * @param float $threshold The threshold for the method + * (default value is 10e-06) * @return bool True if the three bodies are in a straight line */ public function isInStraightLine( @@ -752,10 +743,9 @@ public function isInStraightLine( * Returns the deviation from a straight line. * Chapter 19 of Astronomical Algorithms. * - * @param EquatorialCoordinates $coords1 The coordinates of the first object - * @param EquatorialCoordinates $coords2 The coordinates of the first object - * @param EquatorialCoordinates $coords3 The coordinates of the second object - * + * @param EquatorialCoordinates $coords1 The coordinates of the first object + * @param EquatorialCoordinates $coords2 The coordinates of the first object + * @param EquatorialCoordinates $coords3 The coordinates of the second object * @return Coordinate the deviation from the straight line */ public function deviationFromStraightLine( @@ -770,10 +760,9 @@ public function deviationFromStraightLine( * Returns the smallest circle containing three celestial bodies. * Chapter 20 of Astronomical Algorithms. * - * @param EquatorialCoordinates $coords1 The coordinates of the first object - * @param EquatorialCoordinates $coords2 The coordinates of the second object - * @param EquatorialCoordinates $coords3 The coordinates of the third object - * + * @param EquatorialCoordinates $coords1 The coordinates of the first object + * @param EquatorialCoordinates $coords2 The coordinates of the second object + * @param EquatorialCoordinates $coords3 The coordinates of the third object * @return Coordinate the diameter of the smallest circle */ public function smallestCircle( @@ -787,8 +776,7 @@ public function smallestCircle( /** * Returns the apparent place of a star. * - * @param EquatorialCoordinates $coords The coordinates to start with - * + * @param EquatorialCoordinates $coords The coordinates to start with * @return EquatorialCoordinates The apparent place for the star */ public function apparentPlace( @@ -801,8 +789,7 @@ public function apparentPlace( * Returns rhoSinPhi and rhoCosPhi. * Needed for the calculation of the parallax. * - * @param float $height The height of the location - * + * @param float $height The height of the location * @return array with rhoSinPhi and rhoCosPhi * * See Chapter 11 of Astronomical Algorithms diff --git a/src/deepskylog/AstronomyLibrary/Commands/UpdateOrbitalElements.php b/src/deepskylog/AstronomyLibrary/Commands/UpdateOrbitalElements.php index cdd80bf..b1129a8 100644 --- a/src/deepskylog/AstronomyLibrary/Commands/UpdateOrbitalElements.php +++ b/src/deepskylog/AstronomyLibrary/Commands/UpdateOrbitalElements.php @@ -71,15 +71,15 @@ public function handle() if ($name != '') { CometsOrbitalElements::create( [ - 'name' => $name, - 'epoch' => $epoch, - 'q' => $q, - 'e' => $e, - 'i' => $i, - 'w' => $w, - 'node' => $node, - 'Tp' => $Tp, - 'ref' => $ref, + 'name' => $name, + 'epoch' => $epoch, + 'q' => $q, + 'e' => $e, + 'i' => $i, + 'w' => $w, + 'node' => $node, + 'Tp' => $Tp, + 'ref' => $ref, ] ); } @@ -127,19 +127,19 @@ public function handle() if ($name != '') { AsteroidsOrbitalElements::create( [ - 'number' => $number, - 'name' => $name, - 'epoch' => $epoch, - 'a' => $a, - 'e' => $e, - 'i' => $i, - 'w' => $w, - 'node' => $node, - 'M' => $M, - 'H' => $H, - 'G' => $G, - 'Tp' => $Tp, - 'ref' => $ref, + 'number' => $number, + 'name' => $name, + 'epoch' => $epoch, + 'a' => $a, + 'e' => $e, + 'i' => $i, + 'w' => $w, + 'node' => $node, + 'M' => $M, + 'H' => $H, + 'G' => $G, + 'Tp' => $Tp, + 'ref' => $ref, ] ); } diff --git a/src/deepskylog/AstronomyLibrary/Console/Kernel.php b/src/deepskylog/AstronomyLibrary/Console/Kernel.php index 1734835..e62dce0 100644 --- a/src/deepskylog/AstronomyLibrary/Console/Kernel.php +++ b/src/deepskylog/AstronomyLibrary/Console/Kernel.php @@ -10,7 +10,7 @@ class Kernel extends ConsoleKernel /** * Define laravel-astronomy-library's command schedule. * - * @param \Illuminate\Console\Scheduling\Schedule $schedule The schedule + * @param \Illuminate\Console\Scheduling\Schedule $schedule The schedule */ protected function schedule(Schedule $schedule) { diff --git a/src/deepskylog/AstronomyLibrary/Coordinates/Coordinate.php b/src/deepskylog/AstronomyLibrary/Coordinates/Coordinate.php index 285a3aa..2ea3a8b 100644 --- a/src/deepskylog/AstronomyLibrary/Coordinates/Coordinate.php +++ b/src/deepskylog/AstronomyLibrary/Coordinates/Coordinate.php @@ -6,8 +6,10 @@ * PHP Version 8 * * @category Coordinates + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -19,8 +21,10 @@ * PHP Version 8 * * @category Coordinates + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class Coordinate @@ -32,9 +36,9 @@ class Coordinate /** * The constructor. * - * @param float $coordinate The coordinate - * @param float $minValue The minimum value for the coordinate - * @param float $maxValue The maximum value for the coordinate + * @param float $coordinate The coordinate + * @param float $minValue The minimum value for the coordinate + * @param float $maxValue The maximum value for the coordinate */ public function __construct( float $coordinate, @@ -50,8 +54,7 @@ public function __construct( /** * Set the coordinate. * - * @param float $coord the coordinate to set - * + * @param float $coord the coordinate to set * @return None */ public function setCoordinate(float $coord): void @@ -185,8 +188,7 @@ public function convertToShortHours(): string /** * Sets the minimum valid value for the coordinate. * - * @param float $minValue The minimum valid value - * + * @param float $minValue The minimum valid value * @return None */ public function setMinValue(float $minValue): void @@ -197,8 +199,7 @@ public function setMinValue(float $minValue): void /** * Sets the maximum valid value for the first coordinate. * - * @param float $maxValue The maximum valid value - * + * @param float $maxValue The maximum valid value * @return None */ public function setMaxValue(float $maxValue): void diff --git a/src/deepskylog/AstronomyLibrary/Coordinates/EclipticalCoordinates.php b/src/deepskylog/AstronomyLibrary/Coordinates/EclipticalCoordinates.php index 57bdd8f..b586427 100644 --- a/src/deepskylog/AstronomyLibrary/Coordinates/EclipticalCoordinates.php +++ b/src/deepskylog/AstronomyLibrary/Coordinates/EclipticalCoordinates.php @@ -6,8 +6,10 @@ * PHP Version 8 * * @category Coordinates + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -22,8 +24,10 @@ * PHP Version 8 * * @category Coordinates + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class EclipticalCoordinates @@ -35,9 +39,9 @@ class EclipticalCoordinates /** * The constructor. * - * @param float $longitude The ecliptical longitude (0, 360) - * @param float $latitude The ecliptical latitude (-90, 90) - * @param float $epoch The epoch of the target (2000.0 is standard) + * @param float $longitude The ecliptical longitude (0, 360) + * @param float $latitude The ecliptical latitude (-90, 90) + * @param float $epoch The epoch of the target (2000.0 is standard) */ public function __construct( float $longitude, @@ -52,8 +56,7 @@ public function __construct( /** * Sets the ecliptical longitude. * - * @param float $longitude The ecliptical longitude - * + * @param float $longitude The ecliptical longitude * @return None */ public function setLongitude(float $longitude): void @@ -64,8 +67,7 @@ public function setLongitude(float $longitude): void /** * Sets the ecliptical latitude. * - * @param float $latitude The ecliptical latitude - * + * @param float $latitude The ecliptical latitude * @return None */ public function setLatitude(float $latitude): void @@ -76,8 +78,7 @@ public function setLatitude(float $latitude): void /** * Sets the epoch. * - * @param float $epoch The epoch - * + * @param float $epoch The epoch * @return None */ public function setEpoch(float $epoch): void @@ -141,8 +142,7 @@ public function printLatitude(): string * Converts the ecliptical coordinates to equatorial coordinates. * Chapter 13 of Astronomical Algorithms. * - * @param float $nutObliquity The nutation in obliquity - * + * @param float $nutObliquity The nutation in obliquity * @return EquatorialCoordinates The equatorial coordinates */ public function convertToEquatorial(float $nutObliquity): EquatorialCoordinates @@ -198,8 +198,7 @@ public function convertToEquatorialB1950(): EquatorialCoordinates * Returns the precession: the coordinates for another epoch and equinox. * Chapter 21 of Astronomical Algorithms. * - * @param Carbon $date The date for the new equinox - * + * @param Carbon $date The date for the new equinox * @return EclipticalCoordinates the precessed coordinates */ public function precessionHighAccuracy(Carbon $date): EclipticalCoordinates diff --git a/src/deepskylog/AstronomyLibrary/Coordinates/EquatorialCoordinates.php b/src/deepskylog/AstronomyLibrary/Coordinates/EquatorialCoordinates.php index 0eb6184..cb61e25 100644 --- a/src/deepskylog/AstronomyLibrary/Coordinates/EquatorialCoordinates.php +++ b/src/deepskylog/AstronomyLibrary/Coordinates/EquatorialCoordinates.php @@ -42,11 +42,11 @@ class EquatorialCoordinates /** * The constructor. * - * @param float $ra The right ascension (0, 24) + * @param float $ra The right ascension (0, 24) * @param float ination The declination (-90, 90) - * @param float $epoch The epoch of the target (2000.0 is standard) - * @param float $deltaRA The proper motion in Right Ascension in seconds/year - * @param float $deltaDec The proper motion in declination in ''/year + * @param float $epoch The epoch of the target (2000.0 is standard) + * @param float $deltaRA The proper motion in Right Ascension in seconds/year + * @param float $deltaDec The proper motion in declination in ''/year */ public function __construct( float $ra, @@ -65,8 +65,7 @@ public function __construct( /** * Sets the right ascension. * - * @param float $ra The right ascension - * + * @param float $ra The right ascension * @return None */ public function setRA(float $ra): void @@ -77,8 +76,7 @@ public function setRA(float $ra): void /** * Sets the declination. * - * @param float $declination The declination - * + * @param float $declination The declination * @return None */ public function setDeclination(float $declination): void @@ -89,8 +87,7 @@ public function setDeclination(float $declination): void /** * Sets the epoch. * - * @param float $epoch The epoch - * + * @param float $epoch The epoch * @return None */ public function setEpoch(float $epoch): void @@ -101,8 +98,7 @@ public function setEpoch(float $epoch): void /** * Sets the proper motion in RA. * - * @param float $deltaRA the proper motion in RA is seconds/year - * + * @param float $deltaRA the proper motion in RA is seconds/year * @return None */ public function setDeltaRA(float $deltaRA): void @@ -113,8 +109,7 @@ public function setDeltaRA(float $deltaRA): void /** * Sets the proper motion in declination. * - * @param float $deltaDec the proper motion in declination in ''/year - * + * @param float $deltaDec the proper motion in declination in ''/year * @return None */ public function setDeltaDec(float $deltaDec): void @@ -199,8 +194,7 @@ public function printRA(): string * the current equinox. * Chapter 13 of Astronomical Algorithms. * - * @param float $nutObliquity The nutation in obliquity - * + * @param float $nutObliquity The nutation in obliquity * @return EclipticalCoordinates The ecliptical coordinates */ public function convertToEcliptical(float $nutObliquity): EclipticalCoordinates @@ -256,10 +250,9 @@ public function convertToEclipticalB1950(): EclipticalCoordinates * Converts the equatorial coordinates to local horizontal coordinates. * Chapter 13 of Astronomical Algorithms. * - * @param GeographicalCoordinates $geo_coords the geographical + * @param GeographicalCoordinates $geo_coords the geographical * coordinates - * @param Carbon $siderial_time the local siderial time - * + * @param Carbon $siderial_time the local siderial time * @return HorizontalCoordinates The horizontal coordinates */ public function convertToHorizontal( @@ -329,10 +322,9 @@ public function convertToGalactic(): GalacticCoordinates * meridian. This is the effect of the moon that is lying down at moonrise. * Chapter 14 of Astronomical Algorithms. * - * @param GeographicalCoordinates $geo_coords the geographical + * @param GeographicalCoordinates $geo_coords the geographical * coordinates - * @param Carbon $siderial_time the local siderial time - * + * @param Carbon $siderial_time the local siderial time * @return float The parallactic angle q */ public function getParallacticAngle( @@ -358,8 +350,7 @@ public function getParallacticAngle( /** * Returns the local hour angle. * - * @param Carbon $siderial_time The siderial time - * + * @param Carbon $siderial_time The siderial time * @return float the local hour angle */ public function getHourAngle(Carbon $siderial_time): float @@ -377,8 +368,7 @@ public function getHourAngle(Carbon $siderial_time): float * equatorial coordinates. * Chapter 17 of Astronomical Algorithms. * - * @param EquatorialCoordinates $coords2 the coordinates of the second object - * + * @param EquatorialCoordinates $coords2 the coordinates of the second object * @return Coordinate The angular separation between the two objects */ public function angularSeparation( @@ -426,11 +416,10 @@ public function angularSeparation( * Returns true if the three bodies are in a straight line. * Chapter 19 of Astronomical Algorithms. * - * @param EquatorialCoordinates $coords2 The coordinates of the second object - * @param EquatorialCoordinates $coords3 The coordinates of the thirds object - * @param float $threshold The threshold for the method - * (default value is 10e-06) - * + * @param EquatorialCoordinates $coords2 The coordinates of the second object + * @param EquatorialCoordinates $coords3 The coordinates of the thirds object + * @param float $threshold The threshold for the method + * (default value is 10e-06) * @return bool True if the three bodies are in a straight line */ public function isInStraightLine( @@ -469,9 +458,8 @@ public function isInStraightLine( * Returns the deviation from a straight line. * Chapter 19 of Astronomical Algorithms. * - * @param EquatorialCoordinates $coords2 The coordinates of the first object - * @param EquatorialCoordinates $coords3 The coordinates of the second object - * + * @param EquatorialCoordinates $coords2 The coordinates of the first object + * @param EquatorialCoordinates $coords3 The coordinates of the second object * @return Coordinate the deviation from the straight line */ public function deviationFromStraightLine( @@ -514,9 +502,8 @@ public function deviationFromStraightLine( * Returns the smallest circle containing three celestial bodies. * Chapter 20 of Astronomical Algorithms. * - * @param EquatorialCoordinates $coords2 The coordinates of the second object - * @param EquatorialCoordinates $coords3 The coordinates of the third object - * + * @param EquatorialCoordinates $coords2 The coordinates of the second object + * @param EquatorialCoordinates $coords3 The coordinates of the third object * @return Coordinate the diameter of the smallest circle */ public function smallestCircle( @@ -550,8 +537,7 @@ public function smallestCircle( * Returns the precession: the coordinates for another epoch and equinox. * Chapter 21 of Astronomical Algorithms. * - * @param Carbon $date The date for the new equinox - * + * @param Carbon $date The date for the new equinox * @return EquatorialCoordinates the precessed coordinates */ public function precession(Carbon $date): EquatorialCoordinates @@ -593,8 +579,7 @@ public function precession(Carbon $date): EquatorialCoordinates /** * Calculate the coordinates including the proper motion. * - * @param Carbon $date The Carbon data - * + * @param Carbon $date The Carbon data * @return EquatorialCoordinates the coordinates including the proper motion for * the given date */ @@ -628,8 +613,7 @@ private function _coordinatesWithProperMotion( * Returns the precession: the coordinates for another epoch and equinox. * Chapter 21 of Astronomical Algorithms. * - * @param Carbon $date The date for the new equinox - * + * @param Carbon $date The date for the new equinox * @return EquatorialCoordinates the precessed coordinates */ public function precessionHighAccuracy( @@ -708,9 +692,8 @@ public function precessionHighAccuracy( * Returns the apparent place of a star. * Chapter 23 of Astronomical Algorithms. * - * @param Carbon $date The date for the new equinox - * @param array $nutation The nutation for the given data - * + * @param Carbon $date The date for the new equinox + * @param array $nutation The nutation for the given data * @return EquatorialCoordinates the precessed coordinates */ public function apparentPlace( @@ -744,26 +727,26 @@ public function apparentPlace( - 25 * cos($L3) + (6434 + 141 * $time_interval_starting_final) * sin(2 * $L3) + (28007 - 107 * $time_interval_starting_final) * cos(2 * $L3) - + (715) * sin($L5) - + (715) * sin($L_accent) + + 715 * sin($L5) + + 715 * sin($L_accent) + (486 - 5 * $time_interval_starting_final) * sin(3 * $L3) + (-236 - 4 * $time_interval_starting_final) * cos(3 * $L3) - + (159) * sin($L6) - + (39) * sin($L_accent + $M_accent) - + (33) * sin(2 * $L5) + + 159 * sin($L6) + + 39 * sin($L_accent + $M_accent) + + 33 * sin(2 * $L5) + (-10) * cos(2 * $L5) - + (31) * sin(2 * $L3 - $L5) - + (1) * cos(2 * $L3 - $L5) - + (8) * sin(3 * $L3 - 8 * $L4 + 3 * $L5) + + 31 * sin(2 * $L3 - $L5) + + 1 * cos(2 * $L3 - $L5) + + 8 * sin(3 * $L3 - 8 * $L4 + 3 * $L5) + (-28) * cos(3 * $L3 - 8 * $L4 + 3 * $L5) - + (8) * sin(5 * $L3 - 8 * $L4 + 3 * $L5) + + 8 * sin(5 * $L3 - 8 * $L4 + 3 * $L5) + (-28) * cos(5 * $L3 - 8 * $L4 + 3 * $L5) - + (21) * sin(2 * $L2 - $L3) + + 21 * sin(2 * $L2 - $L3) + (-19) * sin($L2) - + (17) * sin($L7) - + (16) * sin($L3 - 2 * $L5) - + (16) * sin($L8) - + (11) * sin($L3 + $L5) + + 17 * sin($L7) + + 16 * sin($L3 - 2 * $L5) + + 16 * sin($L8) + + 11 * sin($L3 + $L5) + (-1) * cos($L3 + $L5) + (-11) * cos(2 * $L2 - 2 * $L3) + (-11) * sin($L3 - $L5) @@ -775,8 +758,8 @@ public function apparentPlace( + (-9) * sin(2 * $L2 - 3 * $L3) + (-9) * cos(2 * $L6) + (-9) * cos(2 * $L2 - 4 * $L3) - + (8) * sin(3 * $L3 - 2 * $L4) - + (8) * sin($L_accent + 2 * $D - $M_accent) + + 8 * sin(3 * $L3 - 2 * $L4) + + 8 * sin($L_accent + 2 * $D - $M_accent) + (-4) * sin(8 * $L2 - 12 * $L3) + (-7) * cos(8 * $L2 - 12 * $L3) + (-4) * sin(8 * $L2 - 14 * $L3) @@ -785,60 +768,60 @@ public function apparentPlace( + (-5) * cos(2 * $L4) + (-1) * sin(3 * $L2 - 4 * $L3) + (-1) * cos(3 * $L2 - 4 * $L3) - + (4) * sin(2 * $L3 - 2 * $L5) + + 4 * sin(2 * $L3 - 2 * $L5) + (-6) * cos(2 * $L3 - 2 * $L5) + (-7) * cos(3 * $L2 - 3 * $L3) - + (5) * sin(2 * $L3 - 2 * $L4) + + 5 * sin(2 * $L3 - 2 * $L4) + (-5) * cos(2 * $L3 - 2 * $L4) - + (5) * sin($L_accent - 2 * $D); + + 5 * sin($L_accent - 2 * $D); $Y_accent = (25 - 13 * $time_interval_starting_final) * sin($L3) + (1578089 + 156 * $time_interval_starting_final) * cos($L3) + (25697 - 95 * $time_interval_starting_final) * sin(2 * $L3) + (-5904 - 130 * $time_interval_starting_final) * cos(2 * $L3) - + (6) * sin($L5) + + 6 * sin($L5) + (-657) * cos($L5) + (-656) * cos($L_accent) + (-216 - 4 * $time_interval_starting_final) * sin(3 * $L3) + (-446 - 5 * $time_interval_starting_final) * cos(3 * $L3) - + (2) * sin($L6) + + 2 * sin($L6) + (-147) * cos($L6) - + (26) * cos($F) + + 26 * cos($F) + (-36) * cos($L_accent + $M_accent) + (-9) * sin(2 * $L5) + (-30) * cos(2 * $L5) - + (1) * sin(2 * $L3 - $L5) + + 1 * sin(2 * $L3 - $L5) + (-28) * cos(2 * $L3 - $L5) - + (25) * sin(3 * $L3 - 8 * $L4 + 3 * $L5) - + (8) * cos(3 * $L3 - 8 * $L4 + 3 * $L5) + + 25 * sin(3 * $L3 - 8 * $L4 + 3 * $L5) + + 8 * cos(3 * $L3 - 8 * $L4 + 3 * $L5) + (-25) * sin(5 * $L3 - 8 * $L4 + 3 * $L5) + (-8) * cos(5 * $L3 - 8 * $L4 + 3 * $L5) + (-19) * cos(2 * $L2 - $L3) - + (17) * cos($L2) + + 17 * cos($L2) + (-16) * cos($L7) - + (15) * cos($L3 - 2 * $L5) - + (1) * sin($L8) + + 15 * cos($L3 - 2 * $L5) + + 1 * sin($L8) + (-15) * cos($L8) + (-1) * sin($L3 + $L5) + (-10) * cos($L3 + $L5) + (-10) * sin(2 * $L2 - 2 * $L3) + (-2) * sin($L3 - $L5) - + (9) * cos($L3 - $L5) + + 9 * cos($L3 - $L5) + (-8) * sin(4 * $L3) - + (6) * cos(4 * $L3) - + (9) * cos(3 * $L3 - 2 * $L5) + + 6 * cos(4 * $L3) + + 9 * cos(3 * $L3 - 2 * $L5) + (-9) * cos($L2 - 2 * $L3) + (-8) * cos(2 * $L2 - 3 * $L3) + (-8) * sin(2 * $L6) - + (8) * sin(2 * $L2 - 4 * $L3) + + 8 * sin(2 * $L2 - 4 * $L3) + (-8) * cos(3 * $L3 - 2 * $L4) + (-7) * cos($L_accent + 2 * $D - $M_accent) + (-6) * sin(8 * $L2 - 12 * $L3) - + (4) * cos(8 * $L2 - 12 * $L3) - + (6) * sin(8 * $L2 - 14 * $L3) + + 4 * cos(8 * $L2 - 12 * $L3) + + 6 * sin(8 * $L2 - 14 * $L3) + (-4) * cos(8 * $L2 - 14 * $L3) + (-4) * sin(2 * $L4) - + (5) * cos(2 * $L4) + + 5 * cos(2 * $L4) + (-2) * sin(3 * $L2 - 4 * $L3) + (-7) * cos(3 * $L2 - 4 * $L3) + (-5) * sin(2 * $L3 - 2 * $L5) @@ -864,38 +847,38 @@ public function apparentPlace( + (-5) * sin(2 * $L5) + (-13) * cos(2 * $L5) + (-12) * cos(2 * $L3 - $L5) - + (11) * sin(3 * $L3 - 8 * $L4 + 3 * $L5) - + (3) * cos(3 * $L3 - 8 * $L4 + 3 * $L5) + + 11 * sin(3 * $L3 - 8 * $L4 + 3 * $L5) + + 3 * cos(3 * $L3 - 8 * $L4 + 3 * $L5) + (-11) * sin(5 * $L3 - 8 * $L4 + 3 * $L5) + (-3) * cos(5 * $L3 - 8 * $L4 + 3 * $L5) + (-8) * cos(2 * $L2 - $L3) - + (8) * cos($L2) + + 8 * cos($L2) + (-7) * cos($L7) - + (1) * sin($L3 - 2 * $L5) - + (7) * cos($L3 - 2 * $L5) + + 1 * sin($L3 - 2 * $L5) + + 7 * cos($L3 - 2 * $L5) + (-3) * sin($L8) + (-6) * cos($L8) + (-1) * sin($L3 + $L5) + (-5) * cos($L3 + $L5) + (-4) * sin(2 * $L2 - 2 * $L3) + (-1) * sin($L3 - $L5) - + (4) * cos($L3 - $L5) + + 4 * cos($L3 - $L5) + (-3) * sin(4 * $L3) - + (3) * cos(4 * $L3) - + (4) * cos(3 * $L3 - 2 * $L5) + + 3 * cos(4 * $L3) + + 4 * cos(3 * $L3 - 2 * $L5) + (-4) * cos($L2 - 2 * $L3) + (-4) * cos(2 * $L2 - 3 * $L3) + (-3) * sin(2 * $L6) - + (3) * sin(2 * $L2 - 4 * $L3) + + 3 * sin(2 * $L2 - 4 * $L3) + (-3) * cos(3 * $L3 - 2 * $L4) + (-3) * cos($L_accent + 2 * $D - $M_accent) + (-3) * sin(8 * $L2 - 12 * $L3) - + (2) * cos(8 * $L2 - 12 * $L3) - + (3) * sin(8 * $L2 - 14 * $L3) + + 2 * cos(8 * $L2 - 12 * $L3) + + 3 * sin(8 * $L2 - 14 * $L3) + (-2) * cos(8 * $L2 - 14 * $L3) + (-2) * sin(2 * $L4) + (-2) * cos(2 * $L4) - + (1) * sin(3 * $L2 - 4 * $L3) + + 1 * sin(3 * $L2 - 4 * $L3) + (-4) * cos(3 * $L2 - 4 * $L3) + (-2) * sin(2 * $L3 - 2 * $L5) + (-2) * cos(2 * $L3 - 2 * $L5) @@ -1051,25 +1034,24 @@ public function getConstellation(): string /** * Returns the page in the astronomical atlas. * - * @param string $atlas The requested atlas. Possible atlases are - * milleniumbase : The Millenium Star Atlas - * urano : Uranometria First Edition - * urano_new : Uranometria Second Edition - * psa : The Pocket Sky Atlas - * sky : The Sky atlas - * taki : The Taki atlas - * torresB : The B atlas of Torres - * torresBC : The BC atlas of Torres - * torresC : The C atlas of Torres - * DeepskyHunter : The DeepskyHunter atlas - * Interstellarum : The Interstellarum Deep Sky Atlas (IDSA) - * DSLOP : The Overview atlas of DeepskyLog (in portrait) - * DSLLP : The Lookup atlas of DeepskyLog (in portrait) - * DSLDP : The Detail atlas of DeepskyLog (in portrait) - * DSLOL : The Overview atlas of DeepskyLog (in landscape) - * DSLLL : The Lookup atlas of DeepskyLog (in landscape) - * DSLDL : The Detail atlas of DeepskyLog (in landscape) - * + * @param string $atlas The requested atlas. Possible atlases are + * milleniumbase : The Millenium Star Atlas + * urano : Uranometria First Edition + * urano_new : Uranometria Second Edition + * psa : The Pocket Sky Atlas + * sky : The Sky atlas + * taki : The Taki atlas + * torresB : The B atlas of Torres + * torresBC : The BC atlas of Torres + * torresC : The C atlas of Torres + * DeepskyHunter : The DeepskyHunter atlas + * Interstellarum : The Interstellarum Deep Sky Atlas (IDSA) + * DSLOP : The Overview atlas of DeepskyLog (in portrait) + * DSLLP : The Lookup atlas of DeepskyLog (in portrait) + * DSLDP : The Detail atlas of DeepskyLog (in portrait) + * DSLOL : The Overview atlas of DeepskyLog (in landscape) + * DSLLL : The Lookup atlas of DeepskyLog (in landscape) + * DSLDL : The Detail atlas of DeepskyLog (in landscape) * @return string the atlas page */ public function calculateAtlasPage(string $atlas): string @@ -1143,10 +1125,10 @@ private function calculateDSL($atlastype) $page = 1; for ($i = 0; $i < count($atlaspages[$atlastype]); $i++) { if ( - ($this->getDeclination()->getCoordinate() < (90 + ((-$i) * (180 / (count($atlaspages[$atlastype])))))) - && ($this->getDeclination()->getCoordinate() >= (90 + ((-1 - $i) * (180 / (count($atlaspages[$atlastype])))))) + ($this->getDeclination()->getCoordinate() < (90 + ((-$i) * (180 / count($atlaspages[$atlastype]))))) + && ($this->getDeclination()->getCoordinate() >= (90 + ((-1 - $i) * (180 / count($atlaspages[$atlastype]))))) ) { - return $page + floor((24 - $this->getRA()->getCoordinate()) / (24 / ($atlaspages[$atlastype][$i]))); + return $page + floor((24 - $this->getRA()->getCoordinate()) / (24 / $atlaspages[$atlastype][$i])); } else { $page += $atlaspages[$atlastype][$i]; } @@ -2073,7 +2055,7 @@ private function calculateUranometriaPage() /* -84 to -73 */ elseif ($this->getDeclination()->getCoordinate() >= -84) { if (($this->getRA()->getCoordinate() >= 1.0) && ($this->getRA()->getCoordinate() < 23.0)) { - $urano = (int) ($this->getRA()->getCoordinate()) - 1; + $urano = (int) $this->getRA()->getCoordinate() - 1; $urano = $urano / 2; $urano = $urano + 461; } else { diff --git a/src/deepskylog/AstronomyLibrary/Coordinates/GalacticCoordinates.php b/src/deepskylog/AstronomyLibrary/Coordinates/GalacticCoordinates.php index 8f1a337..07b2222 100644 --- a/src/deepskylog/AstronomyLibrary/Coordinates/GalacticCoordinates.php +++ b/src/deepskylog/AstronomyLibrary/Coordinates/GalacticCoordinates.php @@ -6,8 +6,10 @@ * PHP Version 8 * * @category Coordinates + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -19,8 +21,10 @@ * PHP Version 8 * * @category Coordinates + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class GalacticCoordinates @@ -31,8 +35,8 @@ class GalacticCoordinates /** * The constructor. * - * @param float $longitude The galactic longitude (0, 360) - * @param float $latitude The galactic latitude (-90, 90) + * @param float $longitude The galactic longitude (0, 360) + * @param float $latitude The galactic latitude (-90, 90) */ public function __construct(float $longitude, float $latitude) { @@ -43,8 +47,7 @@ public function __construct(float $longitude, float $latitude) /** * Sets the galactic longitude. * - * @param float $longitude The galactic longitude - * + * @param float $longitude The galactic longitude * @return None */ public function setLongitude(float $longitude): void @@ -55,8 +58,7 @@ public function setLongitude(float $longitude): void /** * Sets the galactic latitude. * - * @param float $latitude The galactic latitude - * + * @param float $latitude The galactic latitude * @return None */ public function setLatitude(float $latitude): void diff --git a/src/deepskylog/AstronomyLibrary/Coordinates/GeographicalCoordinates.php b/src/deepskylog/AstronomyLibrary/Coordinates/GeographicalCoordinates.php index 628a705..ef0b105 100644 --- a/src/deepskylog/AstronomyLibrary/Coordinates/GeographicalCoordinates.php +++ b/src/deepskylog/AstronomyLibrary/Coordinates/GeographicalCoordinates.php @@ -6,8 +6,10 @@ * PHP Version 8 * * @category Coordinates + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -19,8 +21,10 @@ * PHP Version 8 * * @category Coordinates + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class GeographicalCoordinates @@ -31,8 +35,8 @@ class GeographicalCoordinates /** * The constructor. * - * @param float $longitude The geographical longitude (-180 ,180) - * @param float $latitude The geographical latitude (-90, 90) + * @param float $longitude The geographical longitude (-180 ,180) + * @param float $latitude The geographical latitude (-90, 90) */ public function __construct(float $longitude, float $latitude) { @@ -43,8 +47,7 @@ public function __construct(float $longitude, float $latitude) /** * Sets the geographical longitude. * - * @param float $longitude The geographical longitude - * + * @param float $longitude The geographical longitude * @return None */ public function setLongitude(float $longitude): void @@ -55,8 +58,7 @@ public function setLongitude(float $longitude): void /** * Sets the geographical latitude. * - * @param float $latitude The geographical latitude - * + * @param float $latitude The geographical latitude * @return None */ public function setLatitude(float $latitude): void @@ -110,8 +112,7 @@ public function printLongitude(): string * Returns rhoSinPhi and rhoCosPhi. * Needed for the calculation of the parallax. * - * @param float $height The height of the location - * + * @param float $height The height of the location * @return array with rhoSinPhi and rhoCosPhi * * See Chapter 11 of Astronomical Algorithms diff --git a/src/deepskylog/AstronomyLibrary/Coordinates/HorizontalCoordinates.php b/src/deepskylog/AstronomyLibrary/Coordinates/HorizontalCoordinates.php index 7d20132..a5bebcb 100644 --- a/src/deepskylog/AstronomyLibrary/Coordinates/HorizontalCoordinates.php +++ b/src/deepskylog/AstronomyLibrary/Coordinates/HorizontalCoordinates.php @@ -6,8 +6,10 @@ * PHP Version 8 * * @category Coordinates + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -21,8 +23,10 @@ * PHP Version 8 * * @category Coordinates + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class HorizontalCoordinates @@ -33,8 +37,8 @@ class HorizontalCoordinates /** * The constructor. * - * @param float $azimuth The azimuth, measured westwards from the South (0, 360) - * @param float $altitude The altitude, positive above the horizon (-90, 90) + * @param float $azimuth The azimuth, measured westwards from the South (0, 360) + * @param float $altitude The altitude, positive above the horizon (-90, 90) */ public function __construct(float $azimuth, float $altitude) { @@ -45,8 +49,7 @@ public function __construct(float $azimuth, float $altitude) /** * Sets the azimuth. * - * @param float $azimuth The azimuth, measured westwards from the South (0, 360) - * + * @param float $azimuth The azimuth, measured westwards from the South (0, 360) * @return None */ public function setAzimuth(float $azimuth): void @@ -57,8 +60,7 @@ public function setAzimuth(float $azimuth): void /** * Sets the altitude. * - * @param float $altitude The altitude above the horizon - * + * @param float $altitude The altitude above the horizon * @return None */ public function setAltitude(float $altitude): void @@ -112,10 +114,9 @@ public function printAltitude(): string * Converts the local horizontal coordinates to equatorial coordinates. * Chapter 13 of Astronomical Algorithms. * - * @param GeographicalCoordinates $geo_coords the geographical + * @param GeographicalCoordinates $geo_coords the geographical * coordinates - * @param Carbon $siderial_time the local siderial time - * + * @param Carbon $siderial_time the local siderial time * @return EquatorialCoordinates The equatorial coordinates */ public function convertToEquatorial( @@ -185,14 +186,13 @@ public function convertToEquatorial( */ public function calculateRefractionFromApparentAltitude(): float { - return 1 / ( + return 1 / tan( deg2rad( $this->getAltitude()->getCoordinate() + 7.31 / ($this->getAltitude()->getCoordinate() + 4.4) ) - ) - ); + ); } /** @@ -204,13 +204,12 @@ public function calculateRefractionFromApparentAltitude(): float */ public function calculateRefractionFromTrueAltitude(): float { - return 1.02 / ( + return 1.02 / tan( deg2rad( $this->getAltitude()->getCoordinate() + 10.3 / ($this->getAltitude()->getCoordinate() + 5.11) ) - ) - ); + ); } } diff --git a/src/deepskylog/AstronomyLibrary/Coordinates/RectangularCoordinates.php b/src/deepskylog/AstronomyLibrary/Coordinates/RectangularCoordinates.php index e56e168..f6826ad 100644 --- a/src/deepskylog/AstronomyLibrary/Coordinates/RectangularCoordinates.php +++ b/src/deepskylog/AstronomyLibrary/Coordinates/RectangularCoordinates.php @@ -36,9 +36,9 @@ class RectangularCoordinates /** * The constructor. * - * @param float $X The rectangular coordinate X (-180, 180) - * @param float $Y The rectangular coordinate Y (-180, 180) - * @param float $Z The rectangular coordinate Z (-180, 180) + * @param float $X The rectangular coordinate X (-180, 180) + * @param float $Y The rectangular coordinate Y (-180, 180) + * @param float $Z The rectangular coordinate Z (-180, 180) */ public function __construct(float $X, float $Y, float $Z) { @@ -50,8 +50,7 @@ public function __construct(float $X, float $Y, float $Z) /** * Sets the rectangular coordinate X. * - * @param float $X The rectangular coordinate X - * + * @param float $X The rectangular coordinate X * @return None */ public function setX(float $X): void @@ -62,8 +61,7 @@ public function setX(float $X): void /** * Sets the rectangular coordinate Y. * - * @param float $Y The rectangular coordinate Y - * + * @param float $Y The rectangular coordinate Y * @return None */ public function setY(float $Y): void @@ -74,8 +72,7 @@ public function setY(float $Y): void /** * Sets the rectangular coordinate Z. * - * @param float $Y The rectangular coordinate Z - * + * @param float $Y The rectangular coordinate Z * @return None */ public function setZ(float $Z): void diff --git a/src/deepskylog/AstronomyLibrary/Imports/ConstellationBoundariesImport.php b/src/deepskylog/AstronomyLibrary/Imports/ConstellationBoundariesImport.php index 526311f..bea4103 100644 --- a/src/deepskylog/AstronomyLibrary/Imports/ConstellationBoundariesImport.php +++ b/src/deepskylog/AstronomyLibrary/Imports/ConstellationBoundariesImport.php @@ -9,8 +9,7 @@ class ConstellationBoundariesImport implements ToModel, WithCustomCsvSettings { /** - * @param array $row The row of the csv file - * + * @param array $row The row of the csv file * @return \Illuminate\Database\Eloquent\Model|null */ public function model(array $row) diff --git a/src/deepskylog/AstronomyLibrary/Imports/DeltaTImport.php b/src/deepskylog/AstronomyLibrary/Imports/DeltaTImport.php index 0996a0a..c6a5637 100644 --- a/src/deepskylog/AstronomyLibrary/Imports/DeltaTImport.php +++ b/src/deepskylog/AstronomyLibrary/Imports/DeltaTImport.php @@ -8,8 +8,7 @@ class DeltaTImport implements ToModel { /** - * @param array $row The row of the csv file - * + * @param array $row The row of the csv file * @return \Illuminate\Database\Eloquent\Model|null */ public function model(array $row) diff --git a/src/deepskylog/AstronomyLibrary/Magnitude.php b/src/deepskylog/AstronomyLibrary/Magnitude.php index 61c59fe..e8f02b8 100644 --- a/src/deepskylog/AstronomyLibrary/Magnitude.php +++ b/src/deepskylog/AstronomyLibrary/Magnitude.php @@ -6,8 +6,10 @@ * PHP Version 8 * * @category Magnitude + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -21,8 +23,10 @@ * PHP Version 8 * * @category Magnitude + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class Magnitude @@ -30,10 +34,9 @@ class Magnitude /** * Calculates the Sqm if the Nelm is given. * - * @param float $nelm The Naked Eye Limiting Magnitude - * @param float $fstOffset The offset between the real Nelm and the - * Nelm for the observer - * + * @param float $nelm The Naked Eye Limiting Magnitude + * @param float $fstOffset The offset between the real Nelm and the + * Nelm for the observer * @return float The Sqm (Sky Quality Meter) value */ public static function nelmToSqm(float $nelm, float $fstOffset = 0.0): float @@ -49,7 +52,7 @@ public static function nelmToSqm(float $nelm, float $fstOffset = 0.0): float ); } $sqm = 21.58 - - 5 * log10(pow(10, (1.586 - ($nelm + $fstOffset) / 5.0)) - 1.0); + - 5 * log10(pow(10, 1.586 - ($nelm + $fstOffset) / 5.0) - 1.0); if ($sqm > 22.0) { return 22.0; @@ -61,8 +64,7 @@ public static function nelmToSqm(float $nelm, float $fstOffset = 0.0): float /** * Calculates the bortle scale if the Nelm is given. * - * @param float $nelm The Naked Eye Limiting Magnitude - * + * @param float $nelm The Naked Eye Limiting Magnitude * @return int The bortle scale value */ public static function nelmToBortle(float $nelm): int @@ -101,8 +103,7 @@ public static function nelmToBortle(float $nelm): int /** * Calculates the bortle value if the sqm value is given. * - * @param float $sqm The sqm value - * + * @param float $sqm The sqm value * @return int The bortle value */ public static function sqmToBortle($sqm): int @@ -142,10 +143,9 @@ public static function sqmToBortle($sqm): int /** * Calculates the naked eye limiting magnitude if the sqm value is given. * - * @param float $sqm The sqm value - * @param float $fstOffset The offset between the real Nelm and the - * Nelm for the observer - * + * @param float $sqm The sqm value + * @param float $fstOffset The offset between the real Nelm and the + * Nelm for the observer * @return float The limiting magnitude */ public static function sqmToNelm($sqm, float $fstOffset = 0.0) @@ -173,10 +173,9 @@ public static function sqmToNelm($sqm, float $fstOffset = 0.0) /** * Calculates the naked eye limiting magnitude if the bortle scale is given. * - * @param int $bortle The bortle scale - * @param float $fstOffset The offset between the real Nelm and the - * Nelm for the observer - * + * @param int $bortle The bortle scale + * @param float $fstOffset The offset between the real Nelm and the + * Nelm for the observer * @return float The naked eye limiting magnitude */ public static function bortleToNelm(int $bortle, float $fstOffset = 0.0): float @@ -218,8 +217,7 @@ public static function bortleToNelm(int $bortle, float $fstOffset = 0.0): float /** * Calculates the SQM value if the bortle scale is given. * - * @param int $bortle The bortle scale - * + * @param int $bortle The bortle scale * @return float The SQM value */ public static function bortleToSqm(int $bortle): float diff --git a/src/deepskylog/AstronomyLibrary/Targets/Earth.php b/src/deepskylog/AstronomyLibrary/Targets/Earth.php index e77a726..864d85c 100644 --- a/src/deepskylog/AstronomyLibrary/Targets/Earth.php +++ b/src/deepskylog/AstronomyLibrary/Targets/Earth.php @@ -6,8 +6,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -23,8 +25,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class Earth extends Planet @@ -32,8 +36,7 @@ class Earth extends Planet /** * Calculates the mean orbital elements. * - * @param Carbon $date The needed date - * + * @param Carbon $date The needed date * @return array L = mean longitude of the planet * a = semimajor axis of the orbit * e = eccentricity of the orbit @@ -63,8 +66,7 @@ public function calculateMeanOrbitalElements(Carbon $date) /** * Calculates the mean orbital elements in J2000.0. * - * @param Carbon $date The needed date - * + * @param Carbon $date The needed date * @return array L = mean longitude of the planet * a = semimajor axis of the orbit * e = eccentricity of the orbit @@ -94,8 +96,7 @@ public function calculateMeanOrbitalElementsJ2000(Carbon $date) /** * Calculates the heliocentric coordinates of Earth. * - * @param Carbon $date The date - * + * @param Carbon $date The date * @return array L, B, R * * See chapter 32 of Astronomical Algorithms @@ -2561,8 +2562,7 @@ public function calculateHeliocentricCoordinates(Carbon $date): array /** * Returns the date of perihelion closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest perihelion - * + * @param Carbon $date The date for which we want to calculate the closest perihelion * @return Carbon The date of the perihelion * * Chapter 38 of Astronomical Algorithms @@ -2582,8 +2582,7 @@ public function perihelionDate(Carbon $date): Carbon /** * Returns the date of aphelion closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest aphelion - * + * @param Carbon $date The date for which we want to calculate the closest aphelion * @return Carbon The date of the aphelion * * Chapter 38 of Astronomical Algorithms diff --git a/src/deepskylog/AstronomyLibrary/Targets/Elliptic.php b/src/deepskylog/AstronomyLibrary/Targets/Elliptic.php index 2cb796c..f9cd43d 100644 --- a/src/deepskylog/AstronomyLibrary/Targets/Elliptic.php +++ b/src/deepskylog/AstronomyLibrary/Targets/Elliptic.php @@ -6,17 +6,19 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ namespace deepskylog\AstronomyLibrary\Targets; use Carbon\Carbon; -use deepskylog\AstronomyLibrary\Time; use deepskylog\AstronomyLibrary\Coordinates\EquatorialCoordinates; use deepskylog\AstronomyLibrary\Coordinates\GeographicalCoordinates; +use deepskylog\AstronomyLibrary\Time; /** * The target class describing an object moving in an elliptic orbit. @@ -24,8 +26,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class Elliptic extends Target @@ -49,29 +53,29 @@ public function __construct() /** * Set Orbital Elements. * - * @param float $a Semimajor axis in AU - * @param float $e Eccentricity - * @param float $i Inclination - * @param float $omega Argument of perihelion - * @param float $longitude_ascending_node The Longitude of the Ascending Node - * @param Carbon $perihelion_date The date of the perihelion + * @param float $a Semimajor axis in AU + * @param float $e Eccentricity + * @param float $i Inclination + * @param float $omega Argument of perihelion + * @param float $longitude_ascending_node The Longitude of the Ascending Node + * @param Carbon $perihelion_date The date of the perihelion */ public function setOrbitalElements(float $a, float $e, float $i, float $omega, float $longitude_ascending_node, Carbon $perihelion_date): void { - $this->_a = $a; - $this->_e = $e; - $this->_i = $i; - $this->_omega = $omega; + $this->_a = $a; + $this->_e = $e; + $this->_i = $i; + $this->_omega = $omega; $this->_longitude_ascending_node = $longitude_ascending_node; - $this->_n = 0.9856076686 / ($a * sqrt($a)); - $this->_perihelion_date = $perihelion_date; + $this->_n = 0.9856076686 / ($a * sqrt($a)); + $this->_perihelion_date = $perihelion_date; } /** * Calculates the equatorial coordinates of the planet. * - * @param Carbon $date The date for which to calculate the coordinates - * @param float $epoch The ep + * @param Carbon $date The date for which to calculate the coordinates + * @param float $epoch The ep * * See chapter 33 of Astronomical Algorithms */ @@ -92,8 +96,8 @@ public function _calculateEquatorialCoordinates(Carbon $date, GeographicalCoordi { $nutation = Time::nutation($epoch); - $sine = sin(deg2rad($nutation[2])); - $cose = cos(deg2rad($nutation[2])); + $sine = sin(deg2rad($nutation[2])); + $cose = cos(deg2rad($nutation[2])); $F = cos(deg2rad($this->_longitude_ascending_node)); $G = sin(deg2rad($this->_longitude_ascending_node)) * $cose; @@ -112,7 +116,7 @@ public function _calculateEquatorialCoordinates(Carbon $date, GeographicalCoordi $c = sqrt($H ** 2 + $R ** 2); $diff_in_date = $this->_perihelion_date->diffInSeconds($date) / 3600.0 / 24.0; - $M = -$diff_in_date * 0.300171252; + $M = -$diff_in_date * 0.300171252; $E = $this->eccentricAnomaly($this->_e, $M, 0.000001); @@ -125,19 +129,19 @@ public function _calculateEquatorialCoordinates(Carbon $date, GeographicalCoordi $sun = new Sun(); $XYZ = $sun->calculateGeometricCoordinates($date); - $ksi = $XYZ->getX()->getCoordinate() + $x; - $eta = $XYZ->getY()->getCoordinate() + $y; + $ksi = $XYZ->getX()->getCoordinate() + $x; + $eta = $XYZ->getY()->getCoordinate() + $y; $zeta = $XYZ->getZ()->getCoordinate() + $z; $delta = sqrt($ksi ** 2 + $eta ** 2 + $zeta ** 2); - $tau = 0.0057755183 * $delta; + $tau = 0.0057755183 * $delta; // Do the calculations again for t - $tau - $jd = Time::getJd($date); + $jd = Time::getJd($date); $newDate = Time::fromJd($jd - $tau); $diff_in_date = $this->_perihelion_date->diffInSeconds($newDate) / 3600.0 / 24.0; - $M = -$diff_in_date * 0.300171252; + $M = -$diff_in_date * 0.300171252; $E = $this->eccentricAnomaly($this->_e, $M, 0.000001); @@ -150,14 +154,14 @@ public function _calculateEquatorialCoordinates(Carbon $date, GeographicalCoordi $sun = new Sun(); $XYZ = $sun->calculateGeometricCoordinates($date); - $ksi = $XYZ->getX()->getCoordinate() + $x; - $eta = $XYZ->getY()->getCoordinate() + $y; + $ksi = $XYZ->getX()->getCoordinate() + $x; + $eta = $XYZ->getY()->getCoordinate() + $y; $zeta = $XYZ->getZ()->getCoordinate() + $z; $delta = sqrt($ksi ** 2 + $eta ** 2 + $zeta ** 2); - $tau = 0.0057755183 * $delta; + $tau = 0.0057755183 * $delta; - $ra = rad2deg(atan2($eta, $ksi)) / 15.0; + $ra = rad2deg(atan2($eta, $ksi)) / 15.0; $dec = rad2deg(asin($zeta / $delta)); $equa_coords = new EquatorialCoordinates($ra, $dec); @@ -172,7 +176,7 @@ public function _calculateEquatorialCoordinates(Carbon $date, GeographicalCoordi $earthsGlobe = $geo_coords->earthsGlobe($height); $deltara = rad2deg(atan(-$earthsGlobe[1] * sin(deg2rad($pi / 3600.0)) * sin(deg2rad($hour_angle)) / (cos(deg2rad($equa_coords->getDeclination()->getCoordinate())) - $earthsGlobe[1] * sin(deg2rad($pi / 3600.0)) * sin(deg2rad($hour_angle))))); - $dec = rad2deg(atan((sin(deg2rad($equa_coords->getDeclination()->getCoordinate())) - $earthsGlobe[0] * sin(deg2rad($pi / 3600.0))) * cos(deg2rad($deltara / 3600.0)) + $dec = rad2deg(atan((sin(deg2rad($equa_coords->getDeclination()->getCoordinate())) - $earthsGlobe[0] * sin(deg2rad($pi / 3600.0))) * cos(deg2rad($deltara / 3600.0)) / (cos(deg2rad($equa_coords->getDeclination()->getCoordinate())) - $earthsGlobe[1] * sin(deg2rad($pi / 3600.0)) * cos(deg2rad($height))))); $equa_coords->setRA($ra + $deltara); diff --git a/src/deepskylog/AstronomyLibrary/Targets/Jupiter.php b/src/deepskylog/AstronomyLibrary/Targets/Jupiter.php index 38d5e03..d9f9688 100644 --- a/src/deepskylog/AstronomyLibrary/Targets/Jupiter.php +++ b/src/deepskylog/AstronomyLibrary/Targets/Jupiter.php @@ -6,8 +6,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -23,8 +25,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class Jupiter extends Planet @@ -32,8 +36,7 @@ class Jupiter extends Planet /** * Calculates the mean orbital elements. * - * @param Carbon $date The needed date - * + * @param Carbon $date The needed date * @return array L = mean longitude of the planet * a = semimajor axis of the orbit * e = eccentricity of the orbit @@ -63,8 +66,7 @@ public function calculateMeanOrbitalElements(Carbon $date) /** * Calculates the mean orbital elements in J2000.0. * - * @param Carbon $date The needed date - * + * @param Carbon $date The needed date * @return array L = mean longitude of the planet * a = semimajor axis of the orbit * e = eccentricity of the orbit @@ -94,8 +96,7 @@ public function calculateMeanOrbitalElementsJ2000(Carbon $date) /** * Calculates the heliocentric coordinates of Jupiter. * - * @param Carbon $date The date - * + * @param Carbon $date The date * @return array L, B, R * * See chapter 32 of Astronomical Algorithms @@ -3620,8 +3621,7 @@ public function calculateHeliocentricCoordinates(Carbon $date): array /** * Calculates the opposition closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest opposition - * + * @param Carbon $date The date for which we want to calculate the closest opposition * @return Carbon The date of the opposition * * Chapter 36 of Astronomical Algorithms @@ -3635,7 +3635,7 @@ public function opposition(Carbon $date): Carbon $Y = $date->year + $date->dayOfYear / (365 + $date->format('L')); - $k = ceil((365.2425 * $Y + 1721060 - $A) / ($B)); + $k = ceil((365.2425 * $Y + 1721060 - $A) / $B); $JDE0 = $A + $k * $B; $M = deg2rad($M0 + $k * $M1); $T = ($JDE0 - 2451545) / 36525; @@ -3660,8 +3660,7 @@ public function opposition(Carbon $date): Carbon /** * Calculates the conjunction closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest conjunction - * + * @param Carbon $date The date for which we want to calculate the closest conjunction * @return Carbon The date of the conjunction * * Chapter 36 of Astronomical Algorithms @@ -3675,7 +3674,7 @@ public function conjunction(Carbon $date): Carbon $Y = $date->year + $date->dayOfYear / (365 + $date->format('L')); - $k = ceil((365.2425 * $Y + 1721060 - $A) / ($B)); + $k = ceil((365.2425 * $Y + 1721060 - $A) / $B); $JDE0 = $A + $k * $B; $M = deg2rad($M0 + $k * $M1); $T = ($JDE0 - 2451545) / 36525; @@ -3700,8 +3699,7 @@ public function conjunction(Carbon $date): Carbon /** * Returns the date of perihelion closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest perihelion - * + * @param Carbon $date The date for which we want to calculate the closest perihelion * @return Carbon The date of the perihelion * * Chapter 38 of Astronomical Algorithms @@ -3721,8 +3719,7 @@ public function perihelionDate(Carbon $date): Carbon /** * Returns the date of aphelion closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest aphelion - * + * @param Carbon $date The date for which we want to calculate the closest aphelion * @return Carbon The date of the aphelion * * Chapter 38 of Astronomical Algorithms @@ -3742,8 +3739,7 @@ public function aphelionDate(Carbon $date): Carbon /** * Calculates the magnitude at the given date. * - * @param Carbon $date The date for which we want to calculate the magnitude - * + * @param Carbon $date The date for which we want to calculate the magnitude * @return float The magnitude * * Chapter 41 of Astronomical Algorithms @@ -3774,8 +3770,7 @@ public function magnitude(Carbon $date): float * Calculate the diameter of Jupiter. You can get the diamter * by using the getDiameter method. * - * @param Carbon $date The date - * + * @param Carbon $date The date * @return None * * Chapter 55 of Astronomical Algorithms diff --git a/src/deepskylog/AstronomyLibrary/Targets/Mars.php b/src/deepskylog/AstronomyLibrary/Targets/Mars.php index 9c10588..c22450e 100644 --- a/src/deepskylog/AstronomyLibrary/Targets/Mars.php +++ b/src/deepskylog/AstronomyLibrary/Targets/Mars.php @@ -6,8 +6,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -23,8 +25,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class Mars extends Planet @@ -32,8 +36,7 @@ class Mars extends Planet /** * Calculates the mean orbital elements. * - * @param Carbon $date The needed date - * + * @param Carbon $date The needed date * @return array L = mean longitude of the planet * a = semimajor axis of the orbit * e = eccentricity of the orbit @@ -63,8 +66,7 @@ public function calculateMeanOrbitalElements(Carbon $date) /** * Calculates the mean orbital elements in J2000.0. * - * @param Carbon $date The needed date - * + * @param Carbon $date The needed date * @return array L = mean longitude of the planet * a = semimajor axis of the orbit * e = eccentricity of the orbit @@ -94,8 +96,7 @@ public function calculateMeanOrbitalElementsJ2000(Carbon $date) /** * Calculates the heliocentric coordinates of Mars. * - * @param Carbon $date The date - * + * @param Carbon $date The date * @return array L, B, R * * See chapter 32 of Astronomical Algorithms @@ -5620,8 +5621,7 @@ public function calculateHeliocentricCoordinates(Carbon $date): array /** * Calculates the opposition closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest opposition - * + * @param Carbon $date The date for which we want to calculate the closest opposition * @return Carbon The date of the opposition * * Chapter 36 of Astronomical Algorithms @@ -5635,7 +5635,7 @@ public function opposition(Carbon $date): Carbon $Y = $date->year + $date->dayOfYear / (365 + $date->format('L')); - $k = ceil((365.2425 * $Y + 1721060 - $A) / ($B)); + $k = ceil((365.2425 * $Y + 1721060 - $A) / $B); $JDE0 = $A + $k * $B; $M = deg2rad($M0 + $k * $M1); $T = ($JDE0 - 2451545) / 36525; @@ -5660,8 +5660,7 @@ public function opposition(Carbon $date): Carbon /** * Calculates the conjunction closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest conjunction - * + * @param Carbon $date The date for which we want to calculate the closest conjunction * @return Carbon The date of the conjunction * * Chapter 36 of Astronomical Algorithms @@ -5675,7 +5674,7 @@ public function conjunction(Carbon $date): Carbon $Y = $date->year + $date->dayOfYear / (365 + $date->format('L')); - $k = ceil((365.2425 * $Y + 1721060 - $A) / ($B)); + $k = ceil((365.2425 * $Y + 1721060 - $A) / $B); $JDE0 = $A + $k * $B; $M = deg2rad($M0 + $k * $M1); $T = ($JDE0 - 2451545) / 36525; @@ -5700,8 +5699,7 @@ public function conjunction(Carbon $date): Carbon /** * Returns the date of perihelion closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest perihelion - * + * @param Carbon $date The date for which we want to calculate the closest perihelion * @return Carbon The date of the perihelion * * Chapter 38 of Astronomical Algorithms @@ -5721,8 +5719,7 @@ public function perihelionDate(Carbon $date): Carbon /** * Returns the date of aphelion closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest aphelion - * + * @param Carbon $date The date for which we want to calculate the closest aphelion * @return Carbon The date of the aphelion * * Chapter 38 of Astronomical Algorithms @@ -5742,8 +5739,7 @@ public function aphelionDate(Carbon $date): Carbon /** * Calculates the magnitude at the given date. * - * @param Carbon $date The date for which we want to calculate the magnitude - * + * @param Carbon $date The date for which we want to calculate the magnitude * @return float The magnitude * * Chapter 41 of Astronomical Algorithms @@ -5774,8 +5770,7 @@ public function magnitude(Carbon $date): float * Calculate the diameter of Mars. You can get the diamter * by using the getDiameter method. * - * @param Carbon $date The date - * + * @param Carbon $date The date * @return None * * Chapter 55 of Astronomical Algorithms diff --git a/src/deepskylog/AstronomyLibrary/Targets/Mercury.php b/src/deepskylog/AstronomyLibrary/Targets/Mercury.php index d57af3d..056b8c2 100644 --- a/src/deepskylog/AstronomyLibrary/Targets/Mercury.php +++ b/src/deepskylog/AstronomyLibrary/Targets/Mercury.php @@ -6,8 +6,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -23,8 +25,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class Mercury extends Planet @@ -32,8 +36,7 @@ class Mercury extends Planet /** * Calculates the mean orbital elements. * - * @param Carbon $date The needed date - * + * @param Carbon $date The needed date * @return array L = mean longitude of the planet * a = semimajor axis of the orbit * e = eccentricity of the orbit @@ -63,8 +66,7 @@ public function calculateMeanOrbitalElements(Carbon $date) /** * Calculates the mean orbital elements in J2000.0. * - * @param Carbon $date The needed date - * + * @param Carbon $date The needed date * @return array L = mean longitude of the planet * a = semimajor axis of the orbit * e = eccentricity of the orbit @@ -94,8 +96,7 @@ public function calculateMeanOrbitalElementsJ2000(Carbon $date) /** * Calculates the heliocentric coordinates of Mercury. * - * @param Carbon $date The date - * + * @param Carbon $date The date * @return array L, B, R * * See chapter 32 of Astronomical Algorithms @@ -288,8 +289,7 @@ public function calculateHeliocentricCoordinates(Carbon $date): array /** * Calculates the inferior conjunction closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest inferior conjunction - * + * @param Carbon $date The date for which we want to calculate the closest inferior conjunction * @return Carbon The date of the inferior conjunction * * Chapter 36 of Astronomical Algorithms @@ -303,7 +303,7 @@ public function inferior_conjunction(Carbon $date): Carbon $Y = $date->year + $date->dayOfYear / (365 + $date->format('L')); - $k = ceil((365.2425 * $Y + 1721060 - $A) / ($B)); + $k = ceil((365.2425 * $Y + 1721060 - $A) / $B); $JDE0 = $A + $k * $B; $M = deg2rad($M0 + $k * $M1); $T = ($JDE0 - 2451545) / 36525; @@ -328,8 +328,7 @@ public function inferior_conjunction(Carbon $date): Carbon /** * Calculates the superior conjunction closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest inferior conjunction - * + * @param Carbon $date The date for which we want to calculate the closest inferior conjunction * @return Carbon The date of the inferior conjunction * * Chapter 36 of Astronomical Algorithms @@ -343,7 +342,7 @@ public function superior_conjunction(Carbon $date): Carbon $Y = $date->year + $date->dayOfYear / (365 + $date->format('L')); - $k = ceil((365.2425 * $Y + 1721060 - $A) / ($B)); + $k = ceil((365.2425 * $Y + 1721060 - $A) / $B); $JDE0 = $A + $k * $B; $M = deg2rad($M0 + $k * $M1); $T = ($JDE0 - 2451545) / 36525; @@ -369,8 +368,7 @@ public function superior_conjunction(Carbon $date): Carbon * Calculates the greatest eastern elongation closest to the given date. This is the best * evening visibility. * - * @param Carbon $date The date for which we want to calculate the greatest eastern elongation - * + * @param Carbon $date The date for which we want to calculate the greatest eastern elongation * @return Carbon The date of the greatest eastern elongation * * Chapter 36 of Astronomical Algorithms @@ -384,7 +382,7 @@ public function greatest_eastern_elongation(Carbon $date): Carbon $Y = $date->year + $date->dayOfYear / (365 + $date->format('L')); - $k = ceil((365.2425 * $Y + 1721060 - $A) / ($B)); + $k = ceil((365.2425 * $Y + 1721060 - $A) / $B); $JDE0 = $A + $k * $B; $M = deg2rad($M0 + $k * $M1); $T = ($JDE0 - 2451545) / 36525; @@ -396,7 +394,7 @@ public function greatest_eastern_elongation(Carbon $date): Carbon + cos(2 * $M) * (0.2905 + 0.0034 * $T + 0.00001 * $T * $T) + sin(3 * $M) * (-0.1121 - 0.0001 * $T + 0.00001 * $T * $T) + cos(3 * $M) * (-0.0098 - 0.0015 * $T) - + sin(4 * $M) * (0.0192) + + sin(4 * $M) * 0.0192 + cos(4 * $M) * (0.0111 + 0.0004 * $T) + sin(5 * $M) * (-0.0061) + cos(5 * $M) * (-0.0032 - 0.0001 * $T); @@ -410,8 +408,7 @@ public function greatest_eastern_elongation(Carbon $date): Carbon * Calculates the greatest western elongation closest to the given date. This is the best * morning visibility. * - * @param Carbon $date The date for which we want to calculate the greatest western elongation - * + * @param Carbon $date The date for which we want to calculate the greatest western elongation * @return Carbon The date of the greatest western elongation * * Chapter 36 of Astronomical Algorithms @@ -425,7 +422,7 @@ public function greatest_western_elongation(Carbon $date): Carbon $Y = $date->year + $date->dayOfYear / (365 + $date->format('L')); - $k = ceil((365.2425 * $Y + 1721060 - $A) / ($B)); + $k = ceil((365.2425 * $Y + 1721060 - $A) / $B); $JDE0 = $A + $k * $B; $M = deg2rad($M0 + $k * $M1); $T = ($JDE0 - 2451545) / 36525; @@ -435,12 +432,12 @@ public function greatest_western_elongation(Carbon $date): Carbon + cos($M) * (-2.7661 - 0.0011 * $T + 0.00001 * $T * $T) + sin(2 * $M) * (0.2438 - 0.0024 * $T - 0.00001 * $T * $T) + cos(2 * $M) * (0.5767 + 0.0023 * $T) - + sin(3 * $M) * (0.1041) + + sin(3 * $M) * 0.1041 + cos(3 * $M) * (-0.0184 + 0.0007 * $T) + sin(4 * $M) * (-0.0051 - 0.0001 * $T) + cos(4 * $M) * (0.0048 + 0.0001 * $T) - + sin(5 * $M) * (0.0026) - + cos(5 * $M) * (0.0037); + + sin(5 * $M) * 0.0026 + + cos(5 * $M) * 0.0037; $JDE = $JDE0 + $diff; @@ -450,8 +447,7 @@ public function greatest_western_elongation(Carbon $date): Carbon /** * Returns the date of perihelion closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest perihelion - * + * @param Carbon $date The date for which we want to calculate the closest perihelion * @return Carbon The date of the perihelion * * Chapter 38 of Astronomical Algorithms @@ -471,8 +467,7 @@ public function perihelionDate(Carbon $date): Carbon /** * Returns the date of aphelion closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest aphelion - * + * @param Carbon $date The date for which we want to calculate the closest aphelion * @return Carbon The date of the aphelion * * Chapter 38 of Astronomical Algorithms @@ -491,8 +486,7 @@ public function aphelionDate(Carbon $date): Carbon /** * Calculates the magnitude at the given date. * - * @param Carbon $date The date for which we want to calculate the magnitude - * + * @param Carbon $date The date for which we want to calculate the magnitude * @return float The magnitude * * Chapter 41 of Astronomical Algorithms @@ -523,8 +517,7 @@ public function magnitude(Carbon $date): float * Calculate the diameter of Mercury. You can get the diamter * by using the getDiameter method. * - * @param Carbon $date The date - * + * @param Carbon $date The date * @return None * * Chapter 55 of Astronomical Algorithms diff --git a/src/deepskylog/AstronomyLibrary/Targets/Moon.php b/src/deepskylog/AstronomyLibrary/Targets/Moon.php index 50e3d8a..4eca0ad 100644 --- a/src/deepskylog/AstronomyLibrary/Targets/Moon.php +++ b/src/deepskylog/AstronomyLibrary/Targets/Moon.php @@ -6,8 +6,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -26,8 +28,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class Moon extends Target @@ -57,8 +61,7 @@ public function calculateHorizontalMoonParallax(): float /** * Calculates the heliocentric coordinates of the moon. * - * @param Carbon $date The date - * + * @param Carbon $date The date * @return array L, B, R * * See chapter 47 of Astronomical Algorithms @@ -282,7 +285,7 @@ public function calculateHeliocentricCoordinates(Carbon $date): array /** * Calculates the apparent equatorial coordinates of the planet. * - * @param Carbon $date The date for which to calculate the coordinates + * @param Carbon $date The date for which to calculate the coordinates * * See chapter 33 of Astronomical Algorithms */ @@ -302,9 +305,9 @@ public function calculateApparentEquatorialCoordinates(Carbon $date): void /** * Calculates the topocentric equatorial coordinates of the planet. * - * @param Carbon $date The date for which to calculate the coordinates - * @param GeographicalCoordinates $geo_coords The geographical coordinates - * @param float $height The height of the location + * @param Carbon $date The date for which to calculate the coordinates + * @param GeographicalCoordinates $geo_coords The geographical coordinates + * @param float $height The height of the location * * See chapter 40 of Astronomical Algorithms */ @@ -367,8 +370,7 @@ private function _calculateEquatorialCoordinates(Carbon $date, GeographicalCoord /** * Calculates the illuminated fraction of the moon. * - * @param Carbon $date The date for which to calculate the fraction - * + * @param Carbon $date The date for which to calculate the fraction * @return float The illuminated fraction, the phase ratio * * See chapter 48 of Astronomical Algorithms @@ -389,7 +391,7 @@ public function illuminatedFraction(Carbon $date): float $cosPsi = sin(deg2rad($sunCoords->getDeclination()->getCoordinate())) * sin(deg2rad($moonCoords->getDeclination()->getCoordinate())) + cos(deg2rad($sunCoords->getDeclination()->getCoordinate())) * cos(deg2rad($moonCoords->getDeclination()->getCoordinate())) * cos(deg2rad($sunCoords->getRA()->getCoordinate() * 15 - $moonCoords->getRA()->getCoordinate() * 15)); $psi = acos($cosPsi); - $i = rad2deg(atan2($R * sin($psi), ($delta - $R * $cosPsi))); + $i = rad2deg(atan2($R * sin($psi), $delta - $R * $cosPsi)); $i = $i - floor($i / 360.0) * 360.0; return round((1 + cos(deg2rad($i))) / 2, 3); @@ -398,8 +400,7 @@ public function illuminatedFraction(Carbon $date): float /** * Calculates the phase ration of the moon (0 - 1), where 0=new, 0.5=full, 1=new. * - * @param Carbon $date The date for which to calculate the phase ration - * + * @param Carbon $date The date for which to calculate the phase ration * @return float The phase ratio * * See chapter 49 of Astronomical Algorithms @@ -418,8 +419,7 @@ public function getPhaseRatio(Carbon $date): float /** * Return the date for the new moon after the given date. * - * @param Carbon $date The date after which we search the new moon - * + * @param Carbon $date The date after which we search the new moon * @return Carbon The date of the new moon after the given date. */ public function newMoonDate(Carbon $date): Carbon @@ -509,8 +509,7 @@ public function newMoonDate(Carbon $date): Carbon /** * Return the date for the full moon after the given date. * - * @param Carbon $date The date after which we search the full moon - * + * @param Carbon $date The date after which we search the full moon * @return Carbon The date of the full moon after the given date. */ public function fullMoonDate(Carbon $date): Carbon @@ -599,8 +598,7 @@ public function fullMoonDate(Carbon $date): Carbon /** * Return the date for the first quarter moon after the given date. * - * @param Carbon $date The date after which we search the first quarter moon - * + * @param Carbon $date The date after which we search the first quarter moon * @return Carbon The date of the first quarter moon after the given date. */ public function firstQuarterMoonDate(Carbon $date): Carbon @@ -691,8 +689,7 @@ public function firstQuarterMoonDate(Carbon $date): Carbon /** * Return the date for the last quarter moon after the given date. * - * @param Carbon $date The date after which we search the last quarter moon - * + * @param Carbon $date The date after which we search the last quarter moon * @return Carbon The date of the last quarter moon after the given date. */ public function lastQuarterMoonDate(Carbon $date): Carbon @@ -784,8 +781,7 @@ public function lastQuarterMoonDate(Carbon $date): Carbon * Calculate the diameter of the Moon. You can get the diamter * by using the getDiameter method. * - * @param Carbon $date The date - * + * @param Carbon $date The date * @return None * * Chapter 55 of Astronomical Algorithms diff --git a/src/deepskylog/AstronomyLibrary/Targets/NearParabolic.php b/src/deepskylog/AstronomyLibrary/Targets/NearParabolic.php index 4405780..62fcd9b 100644 --- a/src/deepskylog/AstronomyLibrary/Targets/NearParabolic.php +++ b/src/deepskylog/AstronomyLibrary/Targets/NearParabolic.php @@ -6,8 +6,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -22,8 +24,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class NearParabolic extends Target @@ -46,12 +50,12 @@ public function __construct() /** * Set Orbital Elements. * - * @param float $q perihelion distance, in AU - * @param float $e Eccentricity - * @param float $i Inclination - * @param float $omega Argument of perihelion - * @param float $longitude_ascending_node The Longitude of the Ascending Node - * @param Carbon $perihelion_date The date of the perihelion + * @param float $q perihelion distance, in AU + * @param float $e Eccentricity + * @param float $i Inclination + * @param float $omega Argument of perihelion + * @param float $longitude_ascending_node The Longitude of the Ascending Node + * @param Carbon $perihelion_date The date of the perihelion */ public function setOrbitalElements(float $q, float $e, float $i, float $omega, float $longitude_ascending_node, Carbon $perihelion_date): void { @@ -66,7 +70,7 @@ public function setOrbitalElements(float $q, float $e, float $i, float $omega, f /** * Calculates the equatorial coordinates of the planet. * - * @param Carbon $date The date for which to calculate the coordinates + * @param Carbon $date The date for which to calculate the coordinates * * See chapter 33 of Astronomical Algorithms */ diff --git a/src/deepskylog/AstronomyLibrary/Targets/Neptune.php b/src/deepskylog/AstronomyLibrary/Targets/Neptune.php index 5e3edca..72d7fd2 100644 --- a/src/deepskylog/AstronomyLibrary/Targets/Neptune.php +++ b/src/deepskylog/AstronomyLibrary/Targets/Neptune.php @@ -6,8 +6,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -23,8 +25,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class Neptune extends Planet @@ -32,8 +36,7 @@ class Neptune extends Planet /** * Calculates the mean orbital elements. * - * @param Carbon $date The needed date - * + * @param Carbon $date The needed date * @return array L = mean longitude of the planet * a = semimajor axis of the orbit * e = eccentricity of the orbit @@ -63,8 +66,7 @@ public function calculateMeanOrbitalElements(Carbon $date) /** * Calculates the mean orbital elements in J2000.0. * - * @param Carbon $date The needed date - * + * @param Carbon $date The needed date * @return array L = mean longitude of the planet * a = semimajor axis of the orbit * e = eccentricity of the orbit @@ -94,8 +96,7 @@ public function calculateMeanOrbitalElementsJ2000(Carbon $date) /** * Calculates the heliocentric coordinates of Neptune. * - * @param Carbon $date The date - * + * @param Carbon $date The date * @return array L, B, R * * See chapter 32 of Astronomical Algorithms @@ -2065,8 +2066,7 @@ public function calculateHeliocentricCoordinates(Carbon $date): array /** * Calculates the opposition closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest opposition - * + * @param Carbon $date The date for which we want to calculate the closest opposition * @return Carbon The date of the opposition * * Chapter 36 of Astronomical Algorithms @@ -2080,7 +2080,7 @@ public function opposition(Carbon $date): Carbon $Y = $date->year + $date->dayOfYear / (365 + $date->format('L')); - $k = ceil((365.2425 * $Y + 1721060 - $A) / ($B)); + $k = ceil((365.2425 * $Y + 1721060 - $A) / $B); $JDE0 = $A + $k * $B; $M = deg2rad($M0 + $k * $M1); $T = ($JDE0 - 2451545) / 36525; @@ -2104,8 +2104,7 @@ public function opposition(Carbon $date): Carbon /** * Calculates the conjunction closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest conjunction - * + * @param Carbon $date The date for which we want to calculate the closest conjunction * @return Carbon The date of the conjunction * * Chapter 36 of Astronomical Algorithms @@ -2119,7 +2118,7 @@ public function conjunction(Carbon $date): Carbon $Y = $date->year + $date->dayOfYear / (365 + $date->format('L')); - $k = ceil((365.2425 * $Y + 1721060 - $A) / ($B)); + $k = ceil((365.2425 * $Y + 1721060 - $A) / $B); $JDE0 = $A + $k * $B; $M = deg2rad($M0 + $k * $M1); $T = ($JDE0 - 2451545) / 36525; @@ -2143,8 +2142,7 @@ public function conjunction(Carbon $date): Carbon /** * Returns the date of perihelion closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest perihelion - * + * @param Carbon $date The date for which we want to calculate the closest perihelion * @return Carbon The date of the perihelion * * Chapter 38 of Astronomical Algorithms @@ -2164,8 +2162,7 @@ public function perihelionDate(Carbon $date): Carbon /** * Returns the date of aphelion closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest aphelion - * + * @param Carbon $date The date for which we want to calculate the closest aphelion * @return Carbon The date of the aphelion * * Chapter 38 of Astronomical Algorithms @@ -2185,8 +2182,7 @@ public function aphelionDate(Carbon $date): Carbon /** * Calculates the magnitude at the given date. * - * @param Carbon $date The date for which we want to calculate the magnitude - * + * @param Carbon $date The date for which we want to calculate the magnitude * @return float The magnitude * * Chapter 41 of Astronomical Algorithms @@ -2217,8 +2213,7 @@ public function magnitude(Carbon $date): float * Calculate the diameter of Neptune. You can get the diamter * by using the getDiameter method. * - * @param Carbon $date The date - * + * @param Carbon $date The date * @return None * * Chapter 55 of Astronomical Algorithms diff --git a/src/deepskylog/AstronomyLibrary/Targets/Parabolic.php b/src/deepskylog/AstronomyLibrary/Targets/Parabolic.php index d9351f8..8b75a5d 100644 --- a/src/deepskylog/AstronomyLibrary/Targets/Parabolic.php +++ b/src/deepskylog/AstronomyLibrary/Targets/Parabolic.php @@ -6,8 +6,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -24,8 +26,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class Parabolic extends Target @@ -47,11 +51,11 @@ public function __construct() /** * Set Orbital Elements. * - * @param float $q perihelion distance, in AU - * @param float $i Inclination - * @param float $omega Argument of perihelion - * @param float $longitude_ascending_node The Longitude of the Ascending Node - * @param Carbon $perihelion_date The date of the perihelion + * @param float $q perihelion distance, in AU + * @param float $i Inclination + * @param float $omega Argument of perihelion + * @param float $longitude_ascending_node The Longitude of the Ascending Node + * @param Carbon $perihelion_date The date of the perihelion */ public function setOrbitalElements(float $q, float $i, float $omega, float $longitude_ascending_node, Carbon $perihelion_date): void { @@ -65,7 +69,7 @@ public function setOrbitalElements(float $q, float $i, float $omega, float $long /** * Calculates the equatorial coordinates of the planet. * - * @param Carbon $date The date for which to calculate the coordinates + * @param Carbon $date The date for which to calculate the coordinates * * See chapter 33 of Astronomical Algorithms */ @@ -124,7 +128,7 @@ public function _calculateEquatorialCoordinates(Carbon $date, GeographicalCoordi $delta = sqrt($ksi ** 2 + $eta ** 2 + $zeta ** 2); $tau = 0.0057755183 * $delta; - $ra = rad2deg(atan2($eta, $ksi)) / 15.0; + $ra = rad2deg(atan2($eta, $ksi)) / 15.0; $dec = rad2deg(asin($zeta / $delta)); $equa_coords = new EquatorialCoordinates($ra, $dec); @@ -139,7 +143,7 @@ public function _calculateEquatorialCoordinates(Carbon $date, GeographicalCoordi $earthsGlobe = $geo_coords->earthsGlobe($height); $deltara = rad2deg(atan(-$earthsGlobe[1] * sin(deg2rad($pi / 3600.0)) * sin(deg2rad($hour_angle)) / (cos(deg2rad($equa_coords->getDeclination()->getCoordinate())) - $earthsGlobe[1] * sin(deg2rad($pi / 3600.0)) * sin(deg2rad($hour_angle))))); - $dec = rad2deg(atan((sin(deg2rad($equa_coords->getDeclination()->getCoordinate())) - $earthsGlobe[0] * sin(deg2rad($pi / 3600.0))) * cos(deg2rad($deltara / 3600.0)) + $dec = rad2deg(atan((sin(deg2rad($equa_coords->getDeclination()->getCoordinate())) - $earthsGlobe[0] * sin(deg2rad($pi / 3600.0))) * cos(deg2rad($deltara / 3600.0)) / (cos(deg2rad($equa_coords->getDeclination()->getCoordinate())) - $earthsGlobe[1] * sin(deg2rad($pi / 3600.0)) * cos(deg2rad($height))))); $equa_coords->setRA($ra + $deltara); diff --git a/src/deepskylog/AstronomyLibrary/Targets/Planet.php b/src/deepskylog/AstronomyLibrary/Targets/Planet.php index 5402196..451bf81 100644 --- a/src/deepskylog/AstronomyLibrary/Targets/Planet.php +++ b/src/deepskylog/AstronomyLibrary/Targets/Planet.php @@ -6,8 +6,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -25,8 +27,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ abstract class Planet extends Target @@ -42,7 +46,7 @@ public function __construct() /** * Calculates the apparent equatorial coordinates of the planet. * - * @param Carbon $date The date for which to calculate the coordinates + * @param Carbon $date The date for which to calculate the coordinates * * See chapter 33 of Astronomical Algorithms */ @@ -59,16 +63,16 @@ public function calculateApparentEquatorialCoordinates(Carbon $date, bool $VSOP8 $this->_calculateApparentEquatorialCoordinates($date->subDays(2)) ); } else { - print("START DE440"); + echo 'START DE440'; } } /** * Calculates the topocentric equatorial coordinates of the planet. * - * @param Carbon $date The date for which to calculate the coordinates - * @param GeographicalCoordinates $geo_coords The geographical coordinates - * @param float $height The height of the location + * @param Carbon $date The date for which to calculate the coordinates + * @param GeographicalCoordinates $geo_coords The geographical coordinates + * @param float $height The height of the location * * See chapter 40 of Astronomical Algorithms */ @@ -85,7 +89,7 @@ public function calculateEquatorialCoordinates(Carbon $date, GeographicalCoordin $this->_calculateEquatorialCoordinates($date->subDays(2), $geo_coords, $height) ); } else { - print("Downloading DE440"); + echo 'Downloading DE440'; } } @@ -137,9 +141,9 @@ private function _calculateApparentEquatorialCoordinates(Carbon $date): Equatori $lambda += $deltaLambda; $beta += $deltaBeta; - $L_accent = $helio_coords[0] - 1.397 * ($T) - 0.00031 * ($T) ** 2; + $L_accent = $helio_coords[0] - 1.397 * $T - 0.00031 * $T ** 2; - $deltaLambda = -0.09033 + 0.03916 * (cos(deg2rad($L_accent) + sin(deg2rad($L_accent)))) * tan(deg2rad($helio_coords[1])); + $deltaLambda = -0.09033 + 0.03916 * cos(deg2rad($L_accent) + sin(deg2rad($L_accent))) * tan(deg2rad($helio_coords[1])); $deltaBeta = 0.03916 * (cos(deg2rad($L_accent)) - sin(deg2rad($L_accent))); $lambda += $deltaLambda / 3600.0; @@ -199,9 +203,9 @@ private function _calculateEquatorialCoordinates(Carbon $date, GeographicalCoord $lambda += $deltaLambda; $beta += $deltaBeta; - $L_accent = $helio_coords[0] - 1.397 * ($T) - 0.00031 * ($T) ** 2; + $L_accent = $helio_coords[0] - 1.397 * $T - 0.00031 * $T ** 2; - $deltaLambda = -0.09033 + 0.03916 * (cos(deg2rad($L_accent) + sin(deg2rad($L_accent)))) * tan(deg2rad($helio_coords[1])); + $deltaLambda = -0.09033 + 0.03916 * cos(deg2rad($L_accent) + sin(deg2rad($L_accent))) * tan(deg2rad($helio_coords[1])); $deltaBeta = 0.03916 * (cos(deg2rad($L_accent)) - sin(deg2rad($L_accent))); $lambda += $deltaLambda / 3600.0; @@ -237,8 +241,7 @@ private function _calculateEquatorialCoordinates(Carbon $date, GeographicalCoord /** * Calculates the illuminated fraction of the planet. * - * @param Carbon $date The date for which to calculate the fraction - * + * @param Carbon $date The date for which to calculate the fraction * @return float The illuminated fraction * * See chapter 41 of Astronomical Algorithms diff --git a/src/deepskylog/AstronomyLibrary/Targets/Saturn.php b/src/deepskylog/AstronomyLibrary/Targets/Saturn.php index 9586ad5..b3e4af9 100644 --- a/src/deepskylog/AstronomyLibrary/Targets/Saturn.php +++ b/src/deepskylog/AstronomyLibrary/Targets/Saturn.php @@ -6,8 +6,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -23,8 +25,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class Saturn extends Planet @@ -32,8 +36,7 @@ class Saturn extends Planet /** * Calculates the mean orbital elements. * - * @param Carbon $date The needed date - * + * @param Carbon $date The needed date * @return array L = mean longitude of the planet * a = semimajor axis of the orbit * e = eccentricity of the orbit @@ -63,8 +66,7 @@ public function calculateMeanOrbitalElements(Carbon $date) /** * Calculates the mean orbital elements in J2000.0. * - * @param Carbon $date The needed date - * + * @param Carbon $date The needed date * @return array L = mean longitude of the planet * a = semimajor axis of the orbit * e = eccentricity of the orbit @@ -94,8 +96,7 @@ public function calculateMeanOrbitalElementsJ2000(Carbon $date) /** * Calculates the heliocentric coordinates of Saturn. * - * @param Carbon $date The date - * + * @param Carbon $date The date * @return array L, B, R * * See chapter 32 of Astronomical Algorithms @@ -5896,8 +5897,7 @@ public function calculateHeliocentricCoordinates(Carbon $date): array /** * Calculates the opposition closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest opposition - * + * @param Carbon $date The date for which we want to calculate the closest opposition * @return Carbon The date of the opposition * * Chapter 36 of Astronomical Algorithms @@ -5911,7 +5911,7 @@ public function opposition(Carbon $date): Carbon $Y = $date->year + $date->dayOfYear / (365 + $date->format('L')); - $k = ceil((365.2425 * $Y + 1721060 - $A) / ($B)); + $k = ceil((365.2425 * $Y + 1721060 - $A) / $B); $JDE0 = $A + $k * $B; $M = deg2rad($M0 + $k * $M1); $T = ($JDE0 - 2451545) / 36525; @@ -5945,8 +5945,7 @@ public function opposition(Carbon $date): Carbon /** * Calculates the conjunction closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest conjunction - * + * @param Carbon $date The date for which we want to calculate the closest conjunction * @return Carbon The date of the conjunction * * Chapter 36 of Astronomical Algorithms @@ -5960,7 +5959,7 @@ public function conjunction(Carbon $date): Carbon $Y = $date->year + $date->dayOfYear / (365 + $date->format('L')); - $k = ceil((365.2425 * $Y + 1721060 - $A) / ($B)); + $k = ceil((365.2425 * $Y + 1721060 - $A) / $B); $JDE0 = $A + $k * $B; $M = deg2rad($M0 + $k * $M1); $T = ($JDE0 - 2451545) / 36525; @@ -5994,8 +5993,7 @@ public function conjunction(Carbon $date): Carbon /** * Returns the date of perihelion closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest perihelion - * + * @param Carbon $date The date for which we want to calculate the closest perihelion * @return Carbon The date of the perihelion * * Chapter 38 of Astronomical Algorithms @@ -6015,8 +6013,7 @@ public function perihelionDate(Carbon $date): Carbon /** * Returns the date of aphelion closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest aphelion - * + * @param Carbon $date The date for which we want to calculate the closest aphelion * @return Carbon The date of the aphelion * * Chapter 38 of Astronomical Algorithms @@ -6036,8 +6033,7 @@ public function aphelionDate(Carbon $date): Carbon /** * Calculates the magnitude at the given date. * - * @param Carbon $date The date for which we want to calculate the magnitude - * + * @param Carbon $date The date for which we want to calculate the magnitude * @return float The magnitude * * Chapter 41 and 45 of Astronomical Algorithms @@ -6085,14 +6081,14 @@ public function magnitude(Carbon $date): float // Step 9 $U1 = rad2deg( atan2( - (sin(deg2rad($i)) * sin(deg2rad($baccent)) + cos(deg2rad($i)) * cos(deg2rad($baccent)) * sin(deg2rad($laccent - $omega))), - (cos(deg2rad($baccent)) * cos(deg2rad($laccent - $omega))) + sin(deg2rad($i)) * sin(deg2rad($baccent)) + cos(deg2rad($i)) * cos(deg2rad($baccent)) * sin(deg2rad($laccent - $omega)), + cos(deg2rad($baccent)) * cos(deg2rad($laccent - $omega)) ) ); $U2 = rad2deg( atan2( - (sin(deg2rad($i)) * sin(deg2rad($beta)) + cos(deg2rad($i)) * cos(deg2rad($beta)) * sin(deg2rad($lambda - $omega))), - (cos(deg2rad($beta)) * cos(deg2rad($lambda - $omega))) + sin(deg2rad($i)) * sin(deg2rad($beta)) + cos(deg2rad($i)) * cos(deg2rad($beta)) * sin(deg2rad($lambda - $omega)), + cos(deg2rad($beta)) * cos(deg2rad($lambda - $omega)) ) ); $deltaU = abs($U1 - $U2); @@ -6104,8 +6100,7 @@ public function magnitude(Carbon $date): float * Calculate the diameter of Jupiter. You can get the diamter * by using the getDiameter method. * - * @param Carbon $date The date - * + * @param Carbon $date The date * @return None * * Chapter 55 of Astronomical Algorithms diff --git a/src/deepskylog/AstronomyLibrary/Targets/Sun.php b/src/deepskylog/AstronomyLibrary/Targets/Sun.php index 8a24e7c..88283f8 100644 --- a/src/deepskylog/AstronomyLibrary/Targets/Sun.php +++ b/src/deepskylog/AstronomyLibrary/Targets/Sun.php @@ -48,8 +48,8 @@ public function __construct() /** * Calculates the equatorial coordinates of the sun with a low accuracy (0.01 degree). * - * @param Carbon $date The date for which to calculate the coordinates - * @param float $obliquity The obliquity of the ecliptic for the given date + * @param Carbon $date The date for which to calculate the coordinates + * @param float $obliquity The obliquity of the ecliptic for the given date * * See chapter 25 of Astronomical Algorithms */ @@ -69,9 +69,8 @@ public function calculateEquatorialCoordinates(Carbon $date, float $obliquity): /** * Calculates the equatorial coordinates of the sun with a low accuracy (0.01 degree). * - * @param Carbon $date The date for which to calculate the coordinates - * @param float $obliquity The obliquity of the ecliptic for the given date - * + * @param Carbon $date The date for which to calculate the coordinates + * @param float $obliquity The obliquity of the ecliptic for the given date * @return EquatorialCoordinates The equatorial coordinates for the given date. * * See chapter 25 of Astronomical Algorithms @@ -126,8 +125,8 @@ private function _calculateEquatorialCoordinates(Carbon $date, float $obliquity) /** * Calculates the equatorial coordinates of the sun with a high accuracy. * - * @param Carbon $date The date for which to calculate the coordinates - * @param array $nutation The nutation + * @param Carbon $date The date for which to calculate the coordinates + * @param array $nutation The nutation * * See chapter 25 of Astronomical Algorithms */ @@ -147,9 +146,8 @@ public function calculateEquatorialCoordinatesHighAccuracy(Carbon $date, array $ /** * Calculates the equatorial coordinates of the sun with a high accuracy. * - * @param Carbon $date The date for which to calculate the coordinates - * @param array $nutation The nutation - * + * @param Carbon $date The date for which to calculate the coordinates + * @param array $nutation The nutation * @return EquatorialCoordinates The coordinates for the given date * * See chapter 25 of Astronomical Algorithms @@ -167,9 +165,8 @@ private function _calculateEquatorialCoordinatesHighAccuracy(Carbon $date, array /** * Calculates the equatorial coordinates of the sun with a high accuracy. * - * @param Carbon $date The date for which to calculate the coordinates - * @param array $nutation The nutation - * + * @param Carbon $date The date for which to calculate the coordinates + * @param array $nutation The nutation * @return EquatorialCoordinates The coordinates for the given date * * See chapter 25 of Astronomical Algorithms @@ -210,9 +207,8 @@ public function calculateOdotBetaR(Carbon $date): array /** * Calculates L for the calculation of the coordinates of the sun. * - * @param type $tau julian millenia since epoch J2000.0 - * - * @return float L + * @param type $tau julian millenia since epoch J2000.0 + * @return float L * * See chapter 25 of Astronomical Algorithms */ @@ -361,9 +357,8 @@ private function _calculateL($tau): float /** * Calculates R for the calculation of the coordinates of the sun. * - * @param type $tau julian millenia since epoch J2000.0 - * - * @return float R + * @param type $tau julian millenia since epoch J2000.0 + * @return float R * * See chapter 25 of Astronomical Algorithms */ @@ -441,8 +436,7 @@ private function _calculateR($tau): float /** * Calculates the geometric coordinates of the sun for the equinox of the date. * - * @param Carbon $date The date - * + * @param Carbon $date The date * @return RectangularCoordinates The rectangular Coordinates * * See chapter 26 of Astronomical Algorithms @@ -465,8 +459,7 @@ public function calculateGeometricCoordinates(Carbon $date): RectangularCoordina /** * Calculates the geometric coordinates of the sun for the J2000 equinox. * - * @param Carbon $date The date - * + * @param Carbon $date The date * @return RectangularCoordinates The rectangular Coordinates * * See chapter 26 of Astronomical Algorithms @@ -721,8 +714,7 @@ public function calculateGeometricCoordinatesJ2000(Carbon $date): RectangularCoo /** * Calculates the equation of time of the sun for a given date. * - * @param Carbon $date The date - * + * @param Carbon $date The date * @return CarbonInterval The equation of time * * See chapter 28 of Astronomical Algorithms @@ -748,13 +740,12 @@ public function calculateEquationOfTime(Carbon $date): CarbonInterval /** * Calculates the ephemeris for physical observations of the sun. * - * @param Carbon $date The date - * @param float $deltaT Delta T for the given date - * + * @param Carbon $date The date + * @param float $deltaT Delta T for the given date * @return array The ephemeris for physical observations of the sun. * First element: P: The position angle of the northern - * extremity of the axis of rotation, measured - * eastwards from the North Point of the solar disk. + * extremity of the axis of rotation, measured + * eastwards from the North Point of the solar disk. * Second element: B0: The heliographic latitude of the center of the solar disk * Third element: L0: The heliographic ongitude of the same point * @@ -810,8 +801,7 @@ public function getPhysicalEphemeris(Carbon $date, float $deltaT): array * Calculate the diameter of the Sun. You can get the diamter * by using the getDiameter method. * - * @param Carbon $date The date - * + * @param Carbon $date The date * @return None * * Chapter 55 of Astronomical Algorithms diff --git a/src/deepskylog/AstronomyLibrary/Targets/Target.php b/src/deepskylog/AstronomyLibrary/Targets/Target.php index dcbaa5d..0dcd3d7 100644 --- a/src/deepskylog/AstronomyLibrary/Targets/Target.php +++ b/src/deepskylog/AstronomyLibrary/Targets/Target.php @@ -16,11 +16,11 @@ namespace deepskylog\AstronomyLibrary\Targets; use Carbon\Carbon; -use RuntimeException; -use deepskylog\AstronomyLibrary\Time; use deepskylog\AstronomyLibrary\Coordinates\Coordinate; use deepskylog\AstronomyLibrary\Coordinates\EquatorialCoordinates; use deepskylog\AstronomyLibrary\Coordinates\GeographicalCoordinates; +use deepskylog\AstronomyLibrary\Time; +use RuntimeException; /** * The target class describing an astronomical object. @@ -69,9 +69,9 @@ class Target private ?float $_magnitude = null; // Needed for the calculation of the contrast reserve - private $_LTCSize = 24; + private $_LTCSize = 24; private $_angleSize = 7; - private $_angle = [ + private $_angle = [ -0.2255, 0.5563, 0.9859, 1.260, 1.742, 2.083, 2.556, ]; @@ -185,8 +185,7 @@ public function __construct() /** * Set H0. * - * @param float $h0 The h0 value - * + * @param float $h0 The h0 value * @return None */ public function setH0(float $h0): void @@ -208,8 +207,7 @@ public function getH0(): float /** * Set the equatorial coordinates of the target. * - * @param EquatorialCoordinates $equa the equatorial coordinates of the object - * + * @param EquatorialCoordinates $equa the equatorial coordinates of the object * @return None */ public function setEquatorialCoordinates($equa): void @@ -226,9 +224,8 @@ public function setEquatorialCoordinates($equa): void /** * Set the equatorial coordinates of the target for yesterday at 0:00 TD. * - * @param EquatorialCoordinates $equa the equatorial coordinates of the object - * for yesterday - * + * @param EquatorialCoordinates $equa the equatorial coordinates of the object + * for yesterday * @return None */ public function setEquatorialCoordinatesYesterday($equa): void @@ -241,9 +238,8 @@ public function setEquatorialCoordinatesYesterday($equa): void /** * Set the equatorial coordinates of the target for today at 0:00 TD. * - * @param EquatorialCoordinates $equa the equatorial coordinates of the object - * for today - * + * @param EquatorialCoordinates $equa the equatorial coordinates of the object + * for today * @return None */ public function setEquatorialCoordinatesToday($equa): void @@ -256,9 +252,8 @@ public function setEquatorialCoordinatesToday($equa): void /** * Set the equatorial coordinates of the target for tomorrow at 0:00 TD. * - * @param EquatorialCoordinates $equa the equatorial coordinates of the object - * for tomorrow - * + * @param EquatorialCoordinates $equa the equatorial coordinates of the object + * for tomorrow * @return None */ public function setEquatorialCoordinatesTomorrow($equa): void @@ -275,12 +270,12 @@ public function setEquatorialCoordinatesTomorrow($equa): void */ private function _resetGlobalVariables(): void { - $this->_transit = null; - $this->_setting = null; - $this->_rising = null; - $this->_maxHeight = null; + $this->_transit = null; + $this->_setting = null; + $this->_rising = null; + $this->_maxHeight = null; $this->_maxHeightAtNight = null; - $this->_bestTime = null; + $this->_bestTime = null; } /** @@ -335,7 +330,7 @@ public function getEquatorialCoordinatesTomorrow(): EquatorialCoordinates **/ public function getTransit(): Carbon { - if (!$this->_transit) { + if (! $this->_transit) { throw new RuntimeException('First execute the calculateEphemerides method'); } @@ -351,7 +346,7 @@ public function getTransit(): Carbon **/ public function getRising(): ?Carbon { - if (!$this->_transit) { + if (! $this->_transit) { throw new RuntimeException('First execute the calculateEphemerides method'); } @@ -367,7 +362,7 @@ public function getRising(): ?Carbon **/ public function getSetting(): ?Carbon { - if (!$this->_transit) { + if (! $this->_transit) { throw new RuntimeException('First execute the calculateEphemerides method'); } @@ -382,7 +377,7 @@ public function getSetting(): ?Carbon **/ public function getMaxHeight(): ?Coordinate { - if (!$this->_transit) { + if (! $this->_transit) { throw new RuntimeException('First execute the calculateEphemerides method'); } @@ -400,7 +395,7 @@ public function getMaxHeight(): ?Coordinate **/ public function getMaxHeightAtNight(): ?Coordinate { - if (!$this->_transit) { + if (! $this->_transit) { throw new RuntimeException('First execute the calculateEphemerides method'); } @@ -415,7 +410,7 @@ public function getMaxHeightAtNight(): ?Coordinate **/ public function getBestTimeToObserve(): ?Carbon { - if (!$this->_transit) { + if (! $this->_transit) { throw new RuntimeException('First execute the calculateEphemerides method'); } @@ -426,12 +421,11 @@ public function getBestTimeToObserve(): ?Carbon * Calculate rising and the setting of the object. * Chapter 15 of Astronomical Algorithms. * - * @param GeographicalCoordinates $geo_coords The geographical + * @param GeographicalCoordinates $geo_coords The geographical * coordinates of the observer - * @param Carbon $siderial_time The apparent siderial time - * at Greenwich at 0:00 UTC - * @param float $deltaT Delta t for the given date - * + * @param Carbon $siderial_time The apparent siderial time + * at Greenwich at 0:00 UTC + * @param float $deltaT Delta t for the given date * @return None */ public function calculateEphemerides( @@ -512,8 +506,8 @@ public function calculateEphemerides( if ($this->getEquatorialCoordinatesYesterday()->getRA()->getCoordinate() == $this->getEquatorialCoordinatesTomorrow()->getRA()->getCoordinate() && $this->getEquatorialCoordinatesYesterday()->getDeclination()->getCoordinate() == $this->getEquatorialCoordinatesTomorrow()->getDeclination()->getCoordinate() ) { - $a = 0.0; - $b = 0.0; + $a = 0.0; + $b = 0.0; $adec = 0.0; $bdec = 0.0; // Target does not move. @@ -522,7 +516,7 @@ public function calculateEphemerides( // Extra calculation for moving targets. // We use delta t for the given date. $targetDoesNotMove = false; - $a = $this->getEquatorialCoordinatesToday()->getRA()->getCoordinate() + $a = $this->getEquatorialCoordinatesToday()->getRA()->getCoordinate() - $this->getEquatorialCoordinatesYesterday()->getRA() ->getCoordinate(); $b = $this->getEquatorialCoordinatesTomorrow()->getRA()->getCoordinate() @@ -604,21 +598,21 @@ public function calculateEphemerides( } } - $transit = $m0 * 24.0; - $this->_transit = $this->_createTime($transit, $siderial_time); + $transit = $m0 * 24.0; + $this->_transit = $this->_createTime($transit, $siderial_time); $this->_bestTime = $this->_transit; if ($m1 == 99) { $this->_rising = Carbon::make(null); } else { - $rising = $m1 * 24.0; + $rising = $m1 * 24.0; $this->_rising = $this->_createTime($rising, $siderial_time); } if ($m2 == 99) { $this->_setting = Carbon::make(null); } else { - $setting = $m2 * 24.0; + $setting = $m2 * 24.0; $this->_setting = $this->_createTime($setting, $siderial_time); } @@ -640,9 +634,9 @@ public function calculateEphemerides( $sun_info['nautical_twilight_end'] ); if ($sun_info['nautical_twilight_begin'] === true) { - $this->_maxHeight = new Coordinate($transitHeight, -90.0, 90.0); + $this->_maxHeight = new Coordinate($transitHeight, -90.0, 90.0); $this->_maxHeightAtNight = null; - $this->_bestTime = null; + $this->_bestTime = null; } } else { $endOfNight = Carbon::createFromTimestamp( @@ -667,7 +661,7 @@ public function calculateEphemerides( } } - if (!$during_night) { + if (! $during_night) { $th = new Coordinate($transitHeight, -90.0, 90.0); // Calculate the height at the end of the night @@ -702,10 +696,10 @@ public function calculateEphemerides( // Compare and use the hightest height as the best height for the target if ($height2 > $height) { - $th = new Coordinate($height2, -90.0, 90.0); + $th = new Coordinate($height2, -90.0, 90.0); $this->_bestTime = $startOfNight; } else { - $th = new Coordinate($height, -90.0, 90.0); + $th = new Coordinate($height, -90.0, 90.0); $this->_bestTime = $endOfNight; } // If max height < 0.0 at astronomical darkness, try nautical darkness. @@ -752,10 +746,10 @@ public function calculateEphemerides( // Compare and use the hightest height as the best height // for the target if ($height2 > $height) { - $th = new Coordinate($height2, -90.0, 90.0); + $th = new Coordinate($height2, -90.0, 90.0); $this->_bestTime = $startOfNight; } else { - $th = new Coordinate($height, -90.0, 90.0); + $th = new Coordinate($height, -90.0, 90.0); $this->_bestTime = $endOfNight; } } @@ -763,7 +757,7 @@ public function calculateEphemerides( } else { $th = new Coordinate($transitHeight, -90.0, 90.0); } - $this->_maxHeight = new Coordinate($transitHeight, -90.0, 90.0); + $this->_maxHeight = new Coordinate($transitHeight, -90.0, 90.0); $this->_maxHeightAtNight = $th; } @@ -771,24 +765,23 @@ public function calculateEphemerides( * Calculates the height of the object at a given moment. * Chapter 15 of Astronomical Algorithms. * - * @param float $theta0 Theta0 of the target - * @param float $time The time to calculate the - * height for, in decimal hours - * @param float $deltaT Delta t for the given date - * @param bool $targetDoesNotMove True if the target does not - * move - * @param float $a The RA from today - the RA - * from yesterday - * @param float $b The RA from tomorrow - the - * RA from yesterday - * @param float $adec The declination from today - - * the declination of yesterday - * @param float $bdec The declination from - * tomorrow - the declination - * of today - * @param GeographicalCoordinates $geo_coords The geographical coordinates - * to calculate the height from - * + * @param float $theta0 Theta0 of the target + * @param float $time The time to calculate the + * height for, in decimal hours + * @param float $deltaT Delta t for the given date + * @param bool $targetDoesNotMove True if the target does not + * move + * @param float $a The RA from today - the RA + * from yesterday + * @param float $b The RA from tomorrow - the + * RA from yesterday + * @param float $adec The declination from today - + * the declination of yesterday + * @param float $bdec The declination from + * tomorrow - the declination + * of today + * @param GeographicalCoordinates $geo_coords The geographical coordinates + * to calculate the height from * @return array the height of the object, $H */ private function _calculateHeight( @@ -803,9 +796,9 @@ private function _calculateHeight( $geo_coords ): array { $theta = $this->_calculateTheta($theta0, $time); - $n = $this->_calculateN($time, $deltaT); + $n = $this->_calculateN($time, $deltaT); - if (!$targetDoesNotMove) { + if (! $targetDoesNotMove) { $alphaInterpol = $this->_interpolate( $this->getEquatorialCoordinatesToday()->getRA()->getCoordinate(), $n, @@ -845,9 +838,8 @@ private function _calculateHeight( /** * Calculate theta. * - * @param float $theta0 Theta0 - * @param float $m m0 for the transit, m1 for the rising, m2 for the setting - * + * @param float $theta0 Theta0 + * @param float $m m0 for the transit, m1 for the rising, m2 for the setting * @return float Theta */ private function _calculateTheta(float $theta0, float $m): float @@ -863,9 +855,8 @@ private function _calculateTheta(float $theta0, float $m): float /** * Calculate n. * - * @param float $m The m value - * @param float $deltaT Delta T for the given date - * + * @param float $m The m value + * @param float $deltaT Delta T for the given date * @return float the value for n */ private function _calculateN(float $m, float $deltaT): float @@ -876,11 +867,10 @@ private function _calculateN(float $m, float $deltaT): float /** * Interpolate to find the coordinates of the given time. * - * @param float $coord the coordinate for today - * @param float $n the n value - * @param float $a the movement in coordinates from yesterday to today - * @param float $b the movement in coordinates from today to tomorrow - * + * @param float $coord the coordinate for today + * @param float $n the n value + * @param float $a the movement in coordinates from yesterday to today + * @param float $b the movement in coordinates from today to tomorrow * @return float the interpolated value */ private function _interpolate( @@ -897,10 +887,9 @@ private function _interpolate( /** * Get the local hour angle of the object. * - * @param float $theta The theta value - * @param float $longitude The longitude of the location - * @param float $alphaInterpol Description - * + * @param float $theta The theta value + * @param float $longitude The longitude of the location + * @param float $alphaInterpol Description * @return float */ private function _getLocalHourAngle( @@ -914,10 +903,9 @@ private function _getLocalHourAngle( /** * Calculate the height of the object. * - * @param float $latitude The latitude of the location - * @param float $deltaInterpol The interpolation in declination for the object - * @param float $H The hour angle - * + * @param float $latitude The latitude of the location + * @param float $deltaInterpol The interpolation in declination for the object + * @param float $H The hour angle * @return float the height of the object */ private function _getHeight( @@ -939,12 +927,11 @@ private function _getHeight( /** * Calculate the correction for m. * - * @param float $height The height of the object - * @param float $h0 The h0 value - * @param float $deltaInterpol The interpolation in declination for the object - * @param float $latitude The latitude of the location - * @param float $H The hour angle - * + * @param float $height The height of the object + * @param float $h0 The h0 value + * @param float $deltaInterpol The interpolation in declination for the object + * @param float $latitude The latitude of the location + * @param float $H The hour angle * @return float the correction for m */ private function _getDeltaM( @@ -963,15 +950,14 @@ private function _getDeltaM( /** * Create a Carbon time from an integer. * - * @param float $time the time as integer - * @param Carbon $carbonTime carbon time, only used for the date - * + * @param float $time the time as integer + * @param Carbon $carbonTime carbon time, only used for the date * @return Carbon The Carbon Time */ private function _createTime(float $time, Carbon $carbonTime): Carbon { // Same for rising, transit and setting - $hour = intval($time); + $hour = intval($time); $minute = intval(($time - $hour) * 60.0); $second = intval(((($time - $hour) * 60.0) - $minute) * 60.0); @@ -982,18 +968,17 @@ private function _createTime(float $time, Carbon $carbonTime): Carbon /** * Creates a chart with the altitude of the target. * - * @param GeographicalCoordinates $geo_coords The geographical - * coordinates of the observer - * @param Carbon $date the date for which to make the - * chart - * + * @param GeographicalCoordinates $geo_coords The geographical + * coordinates of the observer + * @param Carbon $date the date for which to make the + * chart * @return string The altitude chart */ public function altitudeGraph( GeographicalCoordinates $geo_coords, Carbon $date ): string { - if (!$this->_altitudeChart) { + if (! $this->_altitudeChart) { $image = imagecreatetruecolor(1000, 400); // Show the night @@ -1074,7 +1059,7 @@ public function altitudeGraph( $startAstronomical = 12; } - $daycolor = imagecolorallocate($image, 0, 0, 200); + $daycolor = imagecolorallocate($image, 0, 0, 200); $twilightcolor = imagecolorallocate($image, 100, 100, 200); imagefilledrectangle($image, 70, 5, 70 + $startNautical * 37, 365, $daycolor); @@ -1102,10 +1087,10 @@ public function altitudeGraph( $coords = $this->getEquatorialCoordinates(); } else { // Coordinates are for 0:00 TD - $raToday = $this->getEquatorialCoordinatesToday()->getRA()->getCoordinate(); + $raToday = $this->getEquatorialCoordinatesToday()->getRA()->getCoordinate(); $declToday = $this->getEquatorialCoordinatesToday() ->getDeclination()->getCoordinate(); - $raTomorrow = $this->getEquatorialCoordinatesTomorrow()->getRA()->getCoordinate(); + $raTomorrow = $this->getEquatorialCoordinatesTomorrow()->getRA()->getCoordinate(); $declTomorrow = $this->getEquatorialCoordinatesTomorrow() ->getDeclination()->getCoordinate(); @@ -1118,8 +1103,8 @@ public function altitudeGraph( } } $raInterval = $raDiff / 24; - $ra = $raToday + $raInterval * (12 + $i); - $decl = $declToday + $ra = $raToday + $raInterval * (12 + $i); + $decl = $declToday + ($declTomorrow - $declToday) / 24 * (12 + $i); $coords = new EquatorialCoordinates($ra, $decl); @@ -1162,7 +1147,7 @@ public function altitudeGraph( $rawImageBytes = ob_get_clean(); $this->_altitudeChart = ""; + .base64_encode($rawImageBytes)."' />"; } return $this->_altitudeChart; @@ -1181,10 +1166,9 @@ public function getConstellation(): string /** * Calculates the eccentric Anomaly using the equation of Kepler. * - * @param float $eccentricity The eccentricity of the orbit - * @param float $meanAnomaly The mean anomaly of the orbit in degrees - * @param float $accuracy The accuracy of the result - * + * @param float $eccentricity The eccentricity of the orbit + * @param float $meanAnomaly The mean anomaly of the orbit in degrees + * @param float $accuracy The accuracy of the result * @return float The eccentric anomaly * * See chapter 30 of Astronomical Algorithms @@ -1207,9 +1191,8 @@ public function eccentricAnomaly(float $eccentricity, float $meanAnomaly, float /** * Set the diameter of the target. * - * @param float $diam1 The diam1 in arcseconds - * @param float $diam2 The diam2 in arcseconds - * + * @param float $diam1 The diam1 in arcseconds + * @param float $diam2 The diam2 in arcseconds * @return None */ public function setDiameter(?float $diam1, ?float $diam2 = 0.0): void @@ -1234,8 +1217,7 @@ public function getDiameter(): array /** * Set the magnitude of the target. * - * @param float $magnitude The magnitude - * + * @param float $magnitude The magnitude * @return None */ public function setMagnitude(?float $magnitude): void @@ -1260,7 +1242,7 @@ public function getMagnitude(): ?float */ public function calculateSBObj(): ?float { - if (($this->_magnitude) && ($this->_magnitude != 99.9) && (($this->_diam1 != 0) || ($this->_diam2 != 0))) { + if ($this->_magnitude && ($this->_magnitude != 99.9) && (($this->_diam1 != 0) || ($this->_diam2 != 0))) { $SBObj = ($this->_magnitude + (2.5 * log10(2827.0 * ($this->_diam1 / 60) * ($this->_diam2 / 60)))); } else { $SBObj = null; @@ -1279,17 +1261,17 @@ public function calculateSBObj(): ?float * 0.50 < contr diff < 1.0 : Easy to see * 1.00 < contrast diff : Very easy to see. * - * @param float $SBObj SBObj as calculated. - * @param float $sqm The value from the Sky Quality Meter describing the sky darkness. - * @param float $diameter The diameter of the used instrument (in mm) - * @param float $magnification The used magnification + * @param float $SBObj SBObj as calculated. + * @param float $sqm The value from the Sky Quality Meter describing the sky darkness. + * @param float $diameter The diameter of the used instrument (in mm) + * @param float $magnification The used magnification */ public function calculateContrastReserve(float $SBObj, ?float $sqm, ?float $diameter, ?float $magnification): ?float { - if (!$sqm) { + if (! $sqm) { return null; } - if (!$diameter) { + if (! $diameter) { return null; } @@ -1302,7 +1284,7 @@ public function calculateContrastReserve(float $SBObj, ?float $sqm, ?float $diam $maxObjArcmin = $this->_diam2 / 60.0; if ($minObjArcmin > $maxObjArcmin) { - $temp = $minObjArcmin; + $temp = $minObjArcmin; $minObjArcmin = $maxObjArcmin; $maxObjArcmin = $temp; } @@ -1315,13 +1297,13 @@ public function calculateContrastReserve(float $SBObj, ?float $sqm, ?float $diam $x = $magnification; $SBReduc = 5 * log10($x); - $SBB = $SBB1 + $SBReduc; + $SBB = $SBB1 + $SBReduc; /* 2 dimensional interpolation of LTC array */ - $ang = $x * $minObjArcmin; + $ang = $x * $minObjArcmin; $logAng = log10($ang); - $SB = $SBB; - $I = 0; + $SB = $SBB; + $I = 0; /* int of surface brightness */ $intSB = (int) $SB; @@ -1343,7 +1325,7 @@ public function calculateContrastReserve(float $SBObj, ?float $sqm, ?float $diam /* found 1st Angle[] value > LogAng, so back up 2 */ $I -= 2; if ($I < 0) { - $I = 0; + $I = 0; $logAng = $this->_angle[0]; } @@ -1389,19 +1371,19 @@ public function calculateContrastReserve(float $SBObj, ?float $sqm, ?float $diam /** * Calculates the detection magnification of the target. * - * @param float $SBObj SBObj as calculated. - * @param float $sqm The value from the Sky Quality Meter describing the sky darkness. - * @param float $diameter The diameter of the used instrument (in mm) - * @param array $magnifications An array with the possible magnifications + * @param float $SBObj SBObj as calculated. + * @param float $sqm The value from the Sky Quality Meter describing the sky darkness. + * @param float $diameter The diameter of the used instrument (in mm) + * @param array $magnifications An array with the possible magnifications */ public function calculateBestMagnification(float $SBObj, ?float $sqm, ?float $diameter, array $magnifications): ?float { - $bestContrast = -999; + $bestContrast = -999; $bestMagnification = 0; foreach ($magnifications as $magnification) { $contrast = $this->calculateContrastReserve($SBObj, $sqm, $diameter, $magnification); if ($contrast > $bestContrast) { - $bestContrast = $contrast; + $bestContrast = $contrast; $bestMagnification = $magnification; } } diff --git a/src/deepskylog/AstronomyLibrary/Targets/Uranus.php b/src/deepskylog/AstronomyLibrary/Targets/Uranus.php index 9aa1236..fe8af7e 100644 --- a/src/deepskylog/AstronomyLibrary/Targets/Uranus.php +++ b/src/deepskylog/AstronomyLibrary/Targets/Uranus.php @@ -6,8 +6,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -23,8 +25,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class Uranus extends Planet @@ -32,8 +36,7 @@ class Uranus extends Planet /** * Calculates the mean orbital elements. * - * @param Carbon $date The needed date - * + * @param Carbon $date The needed date * @return array L = mean longitude of the planet * a = semimajor axis of the orbit * e = eccentricity of the orbit @@ -63,8 +66,7 @@ public function calculateMeanOrbitalElements(Carbon $date) /** * Calculates the mean orbital elements in J2000.0. * - * @param Carbon $date The needed date - * + * @param Carbon $date The needed date * @return array L = mean longitude of the planet * a = semimajor axis of the orbit * e = eccentricity of the orbit @@ -94,8 +96,7 @@ public function calculateMeanOrbitalElementsJ2000(Carbon $date) /** * Calculates the heliocentric coordinates of Uranus. * - * @param Carbon $date The date - * + * @param Carbon $date The date * @return array L, B, R * * See chapter 32 of Astronomical Algorithms @@ -4124,8 +4125,7 @@ public function calculateHeliocentricCoordinates(Carbon $date): array /** * Calculates the opposition closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest opposition - * + * @param Carbon $date The date for which we want to calculate the closest opposition * @return Carbon The date of the opposition * * Chapter 36 of Astronomical Algorithms @@ -4139,7 +4139,7 @@ public function opposition(Carbon $date): Carbon $Y = $date->year + $date->dayOfYear / (365 + $date->format('L')); - $k = ceil((365.2425 * $Y + 1721060 - $A) / ($B)); + $k = ceil((365.2425 * $Y + 1721060 - $A) / $B); $JDE0 = $A + $k * $B; $M = deg2rad($M0 + $k * $M1); $T = ($JDE0 - 2451545) / 36525; @@ -4165,8 +4165,7 @@ public function opposition(Carbon $date): Carbon /** * Calculates the conjunction closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest conjunction - * + * @param Carbon $date The date for which we want to calculate the closest conjunction * @return Carbon The date of the conjunction * * Chapter 36 of Astronomical Algorithms @@ -4180,7 +4179,7 @@ public function conjunction(Carbon $date): Carbon $Y = $date->year + $date->dayOfYear / (365 + $date->format('L')); - $k = ceil((365.2425 * $Y + 1721060 - $A) / ($B)); + $k = ceil((365.2425 * $Y + 1721060 - $A) / $B); $JDE0 = $A + $k * $B; $M = deg2rad($M0 + $k * $M1); $T = ($JDE0 - 2451545) / 36525; @@ -4206,8 +4205,7 @@ public function conjunction(Carbon $date): Carbon /** * Returns the date of perihelion closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest perihelion - * + * @param Carbon $date The date for which we want to calculate the closest perihelion * @return Carbon The date of the perihelion * * Chapter 38 of Astronomical Algorithms @@ -4227,8 +4225,7 @@ public function perihelionDate(Carbon $date): Carbon /** * Returns the date of aphelion closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest aphelion - * + * @param Carbon $date The date for which we want to calculate the closest aphelion * @return Carbon The date of the aphelion * * Chapter 38 of Astronomical Algorithms @@ -4248,8 +4245,7 @@ public function aphelionDate(Carbon $date): Carbon /** * Calculates the magnitude at the given date. * - * @param Carbon $date The date for which we want to calculate the magnitude - * + * @param Carbon $date The date for which we want to calculate the magnitude * @return float The magnitude * * Chapter 41 of Astronomical Algorithms @@ -4280,8 +4276,7 @@ public function magnitude(Carbon $date): float * Calculate the diameter of Uranus. You can get the diamter * by using the getDiameter method. * - * @param Carbon $date The date - * + * @param Carbon $date The date * @return None * * Chapter 55 of Astronomical Algorithms diff --git a/src/deepskylog/AstronomyLibrary/Targets/Venus.php b/src/deepskylog/AstronomyLibrary/Targets/Venus.php index 27a0a2f..afa5b31 100644 --- a/src/deepskylog/AstronomyLibrary/Targets/Venus.php +++ b/src/deepskylog/AstronomyLibrary/Targets/Venus.php @@ -6,8 +6,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -23,8 +25,10 @@ * PHP Version 8 * * @category Target + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class Venus extends Planet @@ -32,8 +36,7 @@ class Venus extends Planet /** * Calculates the mean orbital elements. * - * @param Carbon $date The needed date - * + * @param Carbon $date The needed date * @return array L = mean longitude of the planet * a = semimajor axis of the orbit * e = eccentricity of the orbit @@ -63,8 +66,7 @@ public function calculateMeanOrbitalElements(Carbon $date) /** * Calculates the mean orbital elements in J2000.0. * - * @param Carbon $date The needed date - * + * @param Carbon $date The needed date * @return array L = mean longitude of the planet * a = semimajor axis of the orbit * e = eccentricity of the orbit @@ -94,8 +96,7 @@ public function calculateMeanOrbitalElementsJ2000(Carbon $date) /** * Calculates the heliocentric coordinates of Venus. * - * @param Carbon $date The date - * + * @param Carbon $date The date * @return array L, B, R * * See chapter 32 of Astronomical Algorithms @@ -1819,8 +1820,7 @@ public function calculateHeliocentricCoordinates(Carbon $date): array /** * Calculates the inferior conjunction closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest inferior conjunction - * + * @param Carbon $date The date for which we want to calculate the closest inferior conjunction * @return Carbon The date of the inferior conjunction * * Chapter 36 of Astronomical Algorithms @@ -1834,7 +1834,7 @@ public function inferior_conjunction(Carbon $date): Carbon $Y = $date->year + $date->dayOfYear / (365 + $date->format('L')); - $k = ceil((365.2425 * $Y + 1721060 - $A) / ($B)); + $k = ceil((365.2425 * $Y + 1721060 - $A) / $B); $JDE0 = $A + $k * $B; $M = deg2rad($M0 + $k * $M1); $T = ($JDE0 - 2451545) / 36525; @@ -1855,8 +1855,7 @@ public function inferior_conjunction(Carbon $date): Carbon /** * Calculates the superior conjunction closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest inferior conjunction - * + * @param Carbon $date The date for which we want to calculate the closest inferior conjunction * @return Carbon The date of the inferior conjunction * * Chapter 36 of Astronomical Algorithms @@ -1870,7 +1869,7 @@ public function superior_conjunction(Carbon $date): Carbon $Y = $date->year + $date->dayOfYear / (365 + $date->format('L')); - $k = ceil((365.2425 * $Y + 1721060 - $A) / ($B)); + $k = ceil((365.2425 * $Y + 1721060 - $A) / $B); $JDE0 = $A + $k * $B; $M = deg2rad($M0 + $k * $M1); $T = ($JDE0 - 2451545) / 36525; @@ -1892,8 +1891,7 @@ public function superior_conjunction(Carbon $date): Carbon * Calculates the greatest eastern elongation closest to the given date. This is the best * evening visibility. * - * @param Carbon $date The date for which we want to calculate the greatest eastern elongation - * + * @param Carbon $date The date for which we want to calculate the greatest eastern elongation * @return Carbon The date of the greatest eastern elongation * * Chapter 36 of Astronomical Algorithms @@ -1907,7 +1905,7 @@ public function greatest_eastern_elongation(Carbon $date): Carbon $Y = $date->year + $date->dayOfYear / (365 + $date->format('L')); - $k = ceil((365.2425 * $Y + 1721060 - $A) / ($B)); + $k = ceil((365.2425 * $Y + 1721060 - $A) / $B); $JDE0 = $A + $k * $B; $M = deg2rad($M0 + $k * $M1); $T = ($JDE0 - 2451545) / 36525; @@ -1929,8 +1927,7 @@ public function greatest_eastern_elongation(Carbon $date): Carbon * Calculates the greatest western elongation closest to the given date. This is the best * morning visibility. * - * @param Carbon $date The date for which we want to calculate the greatest western elongation - * + * @param Carbon $date The date for which we want to calculate the greatest western elongation * @return Carbon The date of the greatest western elongation * * Chapter 36 of Astronomical Algorithms @@ -1944,7 +1941,7 @@ public function greatest_western_elongation(Carbon $date): Carbon $Y = $date->year + $date->dayOfYear / (365 + $date->format('L')); - $k = ceil((365.2425 * $Y + 1721060 - $A) / ($B)); + $k = ceil((365.2425 * $Y + 1721060 - $A) / $B); $JDE0 = $A + $k * $B; $M = deg2rad($M0 + $k * $M1); $T = ($JDE0 - 2451545) / 36525; @@ -1965,8 +1962,7 @@ public function greatest_western_elongation(Carbon $date): Carbon /** * Returns the date of perihelion closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest perihelion - * + * @param Carbon $date The date for which we want to calculate the closest perihelion * @return Carbon The date of the perihelion * * Chapter 38 of Astronomical Algorithms @@ -1986,8 +1982,7 @@ public function perihelionDate(Carbon $date): Carbon /** * Returns the date of aphelion closest to the given date. * - * @param Carbon $date The date for which we want to calculate the closest aphelion - * + * @param Carbon $date The date for which we want to calculate the closest aphelion * @return Carbon The date of the aphelion * * Chapter 38 of Astronomical Algorithms @@ -2007,8 +2002,7 @@ public function aphelionDate(Carbon $date): Carbon /** * Calculates the magnitude at the given date. * - * @param Carbon $date The date for which we want to calculate the magnitude - * + * @param Carbon $date The date for which we want to calculate the magnitude * @return float The magnitude * * Chapter 41 of Astronomical Algorithms @@ -2039,8 +2033,7 @@ public function magnitude(Carbon $date): float * Calculate the diameter of Venus. You can get the diamter * by using the getDiameter method. * - * @param Carbon $date The date - * + * @param Carbon $date The date * @return None * * Chapter 55 of Astronomical Algorithms diff --git a/src/deepskylog/AstronomyLibrary/Time.php b/src/deepskylog/AstronomyLibrary/Time.php index daf271e..c3e5256 100644 --- a/src/deepskylog/AstronomyLibrary/Time.php +++ b/src/deepskylog/AstronomyLibrary/Time.php @@ -6,8 +6,10 @@ * PHP Version 8 * * @category Time + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -24,8 +26,10 @@ * PHP Version 8 * * @category Time + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class Time @@ -34,8 +38,7 @@ class Time * Calculates the julian day if the time is given. * Chapter 7 in Astronomical Algorithms. * - * @param Carbon $date The date, in the correct timezone - * + * @param Carbon $date The date, in the correct timezone * @return float the julian day */ public static function getJd(Carbon $date): float @@ -85,8 +88,7 @@ public static function getJd(Carbon $date): float * Calculates the carbon date is the julian day is given. * Chapter 7 in Astronomical Algorithms. * - * @param float $jd the julian day - * + * @param float $jd the julian day * @return Carbon The date, in the UTC timezone */ public static function fromJd(float $jd): Carbon @@ -143,8 +145,7 @@ public static function fromJd(float $jd): Carbon * Returns the dynamical time as the time + delta t. * Chapter 10 in Astronomical Algorithms. * - * @param Carbon $date The date - * + * @param Carbon $date The date * @return Carbon The dynamical time */ public static function dynamicalTime(Carbon $date): Carbon @@ -156,8 +157,7 @@ public static function dynamicalTime(Carbon $date): Carbon * Calculates delta t for the given date. * Chapter 10 in Astronomical Algorithms. * - * @param Carbon $date The date - * + * @param Carbon $date The date * @return float delta t in seconds */ public static function deltaT(Carbon $date): float @@ -231,9 +231,8 @@ public static function deltaT(Carbon $date): float * Calculates the mean siderial time for the given date. * Chapter 12 in Astronomical Algorithms. * - * @param Carbon $date The date - * @param GeographicalCoordinates $coords The geographical coordinates - * + * @param Carbon $date The date + * @param GeographicalCoordinates $coords The geographical coordinates * @return Carbon the siderial time */ public static function meanSiderialTime( @@ -255,7 +254,7 @@ public static function meanSiderialTime( $theta0 -= floor($theta0 / 360.0) * 360; $decimalHours = $theta0 / 15.0; - $hour = (int) ($decimalHours); + $hour = (int) $decimalHours; $decimalMinutes = ($decimalHours - $hour) * 60.0; $minutes = (int) $decimalMinutes; $seconds = ($decimalMinutes - $minutes) * 60.0; @@ -275,10 +274,9 @@ public static function meanSiderialTime( * Calculates the apparent siderial time for the given date. * Chapter 12 in Astronomical Algorithms. * - * @param Carbon $date The date - * @param GeographicalCoordinates $coords The geographical coordinates - * @param array $nutation The nutation array - * + * @param Carbon $date The date + * @param GeographicalCoordinates $coords The geographical coordinates + * @param array $nutation The nutation array * @return Carbon the siderial time */ public static function apparentSiderialTime( @@ -306,8 +304,7 @@ public static function apparentSiderialTime( * in Greenwich. * Chapter 12 in Astronomical Algorithms. * - * @param Carbon $date The date - * + * @param Carbon $date The date * @return Carbon the siderial time */ public static function apparentSiderialTimeGreenwich( @@ -326,8 +323,7 @@ public static function apparentSiderialTimeGreenwich( * Calculates the nutation for the given julian day. * Chapter 22 of Astronomical Algorithms. * - * @param float $jd The Julian day - * + * @param float $jd The Julian day * @return array The array with nutation in Longitude, nutation in Obliquity, * mean Obliquity and true Obliquity */ @@ -375,50 +371,50 @@ public static function nutation(float $jd): array + (217 - 0.5 * $T) * sin(deg2rad(-2 * $D - $M + 2 * $F + 2 * $omega)) + (-158) * sin(deg2rad(-2 * $D + $M_accent)) + (129 + 0.1 * $T) * sin(deg2rad(-2 * $D + 2 * $F + $omega)) - + (123) * sin(deg2rad(-$M_accent + 2 * $F + 2 * $omega)) - + (63) * sin(deg2rad(2 * $D)) + + 123 * sin(deg2rad(-$M_accent + 2 * $F + 2 * $omega)) + + 63 * sin(deg2rad(2 * $D)) + (63 + 0.1 * $T) * sin(deg2rad($M_accent + $omega)) + (-59) * sin(deg2rad(2 * $D - $M_accent + 2 * $F + 2 * $omega)) + (-58 - 0.1 * $T) * sin(deg2rad(-$M_accent + $omega)) + (-51) * sin(deg2rad($M_accent + 2 * $F + $omega)) - + (48) * sin(deg2rad(-2 * $D + 2 * $M_accent)) - + (46) * sin(deg2rad(-2 * $M_accent + 2 * $F + $omega)) + + 48 * sin(deg2rad(-2 * $D + 2 * $M_accent)) + + 46 * sin(deg2rad(-2 * $M_accent + 2 * $F + $omega)) + (-38) * sin(deg2rad(2 * $D + 2 * $F + 2 * $omega)) + (-31) * sin(deg2rad(2 * $M_accent + 2 * $F + 2 * $omega)) - + (29) * sin(deg2rad(2 * $M_accent)) - + (29) * sin(deg2rad(-2 * $D + $M_accent + 2 * $F + 2 * $omega)) - + (26) * sin(deg2rad(2 * $F)) + + 29 * sin(deg2rad(2 * $M_accent)) + + 29 * sin(deg2rad(-2 * $D + $M_accent + 2 * $F + 2 * $omega)) + + 26 * sin(deg2rad(2 * $F)) + (-22) * sin(deg2rad(-2 * $D + 2 * $F)) - + (21) * sin(deg2rad(-$M_accent + 2 * $F + $omega)) + + 21 * sin(deg2rad(-$M_accent + 2 * $F + $omega)) + (17 - 0.1 * $T) * sin(deg2rad(2 * $M)) - + (16) * sin(deg2rad(2 * $D - $M_accent + $omega)) + + 16 * sin(deg2rad(2 * $D - $M_accent + $omega)) + (-16 + 0.1 * $T) * sin(deg2rad(-2 * $D + 2 * $M + 2 * $F + 2 * $omega)) + (-15) * sin(deg2rad($M + $omega)) + (-13) * sin(deg2rad(-2 * $D + $M_accent + $omega)) + (-12) * sin(deg2rad(-$M + $omega)) - + (11) * sin(deg2rad(2 * $M_accent - 2 * $F)) + + 11 * sin(deg2rad(2 * $M_accent - 2 * $F)) + (-10) * sin(deg2rad(2 * $D - $M_accent + 2 * $F + $omega)) + (-8) * sin(deg2rad(2 * $D + $M_accent + 2 * $F + 2 * $omega)) - + (7) * sin(deg2rad($M + 2 * $F + 2 * $omega)) + + 7 * sin(deg2rad($M + 2 * $F + 2 * $omega)) + (-7) * sin(deg2rad(-2 * $D + $M + $M_accent)) + (-7) * sin(deg2rad(-$M + 2 * $F + 2 * $omega)) + (-7) * sin(deg2rad(2 * $D + 2 * $F + $omega)) - + (6) * sin(deg2rad(2 * $D + $M_accent)) - + (6) * sin(deg2rad(-2 * $D + 2 * $M_accent + 2 * $F + 2 * $omega)) - + (6) * sin(deg2rad(-2 * $D + $M_accent + 2 * $F + $omega)) + + 6 * sin(deg2rad(2 * $D + $M_accent)) + + 6 * sin(deg2rad(-2 * $D + 2 * $M_accent + 2 * $F + 2 * $omega)) + + 6 * sin(deg2rad(-2 * $D + $M_accent + 2 * $F + $omega)) + (-6) * sin(deg2rad(2 * $D - 2 * $M_accent + $omega)) + (-6) * sin(deg2rad(2 * $D + $omega)) - + (5) * sin(deg2rad(-$M + $M_accent)) + + 5 * sin(deg2rad(-$M + $M_accent)) + (-5) * sin(deg2rad(-2 * $D - $M + 2 * $F + $omega)) + (-5) * sin(deg2rad(-2 * $D + $omega)) + (-5) * sin(deg2rad(2 * $M_accent + 2 * $F + $omega)) - + (4) * sin(deg2rad(-2 * $D + 2 * $M_accent + $omega)) - + (4) * sin(deg2rad(-2 * $D + $M + 2 * $F + $omega)) - + (4) * sin(deg2rad($M_accent - 2 * $F)) + + 4 * sin(deg2rad(-2 * $D + 2 * $M_accent + $omega)) + + 4 * sin(deg2rad(-2 * $D + $M + 2 * $F + $omega)) + + 4 * sin(deg2rad($M_accent - 2 * $F)) + (-4) * sin(deg2rad(-$D + $M_accent)) + (-4) * sin(deg2rad(-2 * $D + $M)) + (-4) * sin(deg2rad($D)) - + (3) * sin(deg2rad($M_accent + 2 * $F)) + + 3 * sin(deg2rad($M_accent + 2 * $F)) + (-3) * sin(deg2rad(-2 * $M_accent + 2 * $F + 2 * $omega)) + (-3) * sin(deg2rad(-$D - $M + $M_accent)) + (-3) * sin(deg2rad($M + $M_accent)) @@ -437,37 +433,37 @@ public static function nutation(float $jd): array + (54 - 0.1 * $T) * cos(deg2rad($M)) + (-7) * cos(deg2rad($M_accent)) + (224 - 0.6 * $T) * cos(deg2rad(-2 * $D + $M + 2 * $F + 2 * $omega)) - + (200) * cos(deg2rad(2 * $F + $omega)) + + 200 * cos(deg2rad(2 * $F + $omega)) + (129 - 0.1 * $T) * cos(deg2rad($M_accent + 2 * $F + 2 * $omega)) + (-95 + 0.3 * $T) * cos(deg2rad(-2 * $D - $M + 2 * $F + 2 * $omega)) + (-70) * cos(deg2rad(-2 * $D + 2 * $F + $omega)) + (-53) * cos(deg2rad(-$M_accent + 2 * $F + 2 * $omega)) + (-33) * cos(deg2rad($M_accent + $omega)) - + (26) * cos(deg2rad(2 * $D - $M_accent + 2 * $F + 2 * $omega)) - + (32) * cos(deg2rad(-$M_accent + $omega)) - + (27) * cos(deg2rad($M_accent + 2 * $F + $omega)) + + 26 * cos(deg2rad(2 * $D - $M_accent + 2 * $F + 2 * $omega)) + + 32 * cos(deg2rad(-$M_accent + $omega)) + + 27 * cos(deg2rad($M_accent + 2 * $F + $omega)) + (-24) * cos(deg2rad(-2 * $M_accent + 2 * $F + $omega)) - + (16) * cos(deg2rad(2 * $D + 2 * $F + 2 * $omega)) - + (13) * cos(deg2rad(2 * $M_accent + 2 * $F + 2 * $omega)) + + 16 * cos(deg2rad(2 * $D + 2 * $F + 2 * $omega)) + + 13 * cos(deg2rad(2 * $M_accent + 2 * $F + 2 * $omega)) + (-12) * cos(deg2rad(-2 * $D + $M_accent + 2 * $F + 2 * $omega)) + (-10) * cos(deg2rad(-$M_accent + 2 * $F + $omega)) + (-8) * cos(deg2rad(2 * $D - $M_accent + $omega)) - + (7) * cos(deg2rad(-2 * $D + 2 * $M + 2 * $F + 2 * $omega)) - + (9) * cos(deg2rad($M + $omega)) - + (7) * cos(deg2rad(-2 * $D + $M_accent + $omega)) - + (6) * cos(deg2rad(-$M + $omega)) - + (5) * cos(deg2rad(2 * $D - $M_accent + 2 * $F + $omega)) - + (3) * cos(deg2rad(2 * $D + $M_accent + 2 * $F + 2 * $omega)) + + 7 * cos(deg2rad(-2 * $D + 2 * $M + 2 * $F + 2 * $omega)) + + 9 * cos(deg2rad($M + $omega)) + + 7 * cos(deg2rad(-2 * $D + $M_accent + $omega)) + + 6 * cos(deg2rad(-$M + $omega)) + + 5 * cos(deg2rad(2 * $D - $M_accent + 2 * $F + $omega)) + + 3 * cos(deg2rad(2 * $D + $M_accent + 2 * $F + 2 * $omega)) + (-3) * cos(deg2rad($M + 2 * $F + 2 * $omega)) - + (3) * cos(deg2rad(-$M + 2 * $F + 2 * $omega)) - + (3) * cos(deg2rad(2 * $D + 2 * $F + $omega)) + + 3 * cos(deg2rad(-$M + 2 * $F + 2 * $omega)) + + 3 * cos(deg2rad(2 * $D + 2 * $F + $omega)) + (-3) * cos(deg2rad(-2 * $D + 2 * $M_accent + 2 * $F + 2 * $omega)) + (-3) * cos(deg2rad(-2 * $D + $M_accent + 2 * $F + $omega)) - + (3) * cos(deg2rad(2 * $D - 2 * $M_accent + $omega)) - + (3) * cos(deg2rad(2 * $D + $omega)) - + (3) * cos(deg2rad(-2 * $D - $M + 2 * $F + $omega)) - + (3) * cos(deg2rad(-2 * $D + $omega)) - + (3) * cos(deg2rad(2 * $M_accent + 2 * $F + $omega)); + + 3 * cos(deg2rad(2 * $D - 2 * $M_accent + $omega)) + + 3 * cos(deg2rad(2 * $D + $omega)) + + 3 * cos(deg2rad(-2 * $D - $M + 2 * $F + $omega)) + + 3 * cos(deg2rad(-2 * $D + $omega)) + + 3 * cos(deg2rad(2 * $M_accent + 2 * $F + $omega)); $nutObliquity /= 10000.0; @@ -497,8 +493,7 @@ public static function nutation(float $jd): array * Returns the date of spring for the given year * Chapter 27 of Astronomical Algorithms. * - * @param Carbon $date The date, with the year for which to calculate spring. - * + * @param Carbon $date The date, with the year for which to calculate spring. * @return Carbon The correct time and date for spring */ public static function getSpring(Carbon $date): Carbon @@ -520,8 +515,7 @@ public static function getSpring(Carbon $date): Carbon * Returns the date of summer for the given year * Chapter 27 of Astronomical Algorithms. * - * @param Carbon $date The date, with the year for which to calculate summer. - * + * @param Carbon $date The date, with the year for which to calculate summer. * @return Carbon The correct time and date for summer */ public static function getSummer(Carbon $date): Carbon @@ -543,8 +537,7 @@ public static function getSummer(Carbon $date): Carbon * Returns the date of autumn for the given year * Chapter 27 of Astronomical Algorithms. * - * @param Carbon $date The date, with the year for which to calculate autumn. - * + * @param Carbon $date The date, with the year for which to calculate autumn. * @return Carbon The correct time and date for autumn */ public static function getAutumn(Carbon $date): Carbon @@ -566,8 +559,7 @@ public static function getAutumn(Carbon $date): Carbon * Returns the date of winter for the given year * Chapter 27 of Astronomical Algorithms. * - * @param Carbon $date The date, with the year for which to calculate winter. - * + * @param Carbon $date The date, with the year for which to calculate winter. * @return Carbon The correct time and date for winter */ public static function getWinter(Carbon $date): Carbon diff --git a/tests/Unit/ContrastTest.php b/tests/Unit/ContrastTest.php index 12b2d86..7c9299c 100644 --- a/tests/Unit/ContrastTest.php +++ b/tests/Unit/ContrastTest.php @@ -5,8 +5,10 @@ * PHP Version 8 * * @category Tests + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -21,8 +23,10 @@ * PHP Version 8 * * @category Tests + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class ContrastTest extends BaseTestCase diff --git a/tests/Unit/EclipticalCoordinatesTest.php b/tests/Unit/EclipticalCoordinatesTest.php index 7ebed0a..353d1df 100644 --- a/tests/Unit/EclipticalCoordinatesTest.php +++ b/tests/Unit/EclipticalCoordinatesTest.php @@ -5,8 +5,10 @@ * PHP Version 8 * * @category Tests + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -22,8 +24,10 @@ * PHP Version 8 * * @category Tests + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class EclipticalCoordinatesTest extends BaseTestCase diff --git a/tests/Unit/GalacticCoordinatesTest.php b/tests/Unit/GalacticCoordinatesTest.php index 06a01e7..359028f 100644 --- a/tests/Unit/GalacticCoordinatesTest.php +++ b/tests/Unit/GalacticCoordinatesTest.php @@ -5,8 +5,10 @@ * PHP Version 8 * * @category Tests + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -21,8 +23,10 @@ * PHP Version 8 * * @category Tests + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class GalacticCoordinatesTest extends BaseTestCase diff --git a/tests/Unit/GeographicalCoordinatesTest.php b/tests/Unit/GeographicalCoordinatesTest.php index e84ec76..c6a2d1b 100644 --- a/tests/Unit/GeographicalCoordinatesTest.php +++ b/tests/Unit/GeographicalCoordinatesTest.php @@ -5,8 +5,10 @@ * PHP Version 8 * * @category Tests + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -21,8 +23,10 @@ * PHP Version 8 * * @category Tests + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class GeographicalCoordinatesTest extends BaseTestCase diff --git a/tests/Unit/HorizontalCoordinatesTest.php b/tests/Unit/HorizontalCoordinatesTest.php index 2400320..8eea3b2 100644 --- a/tests/Unit/HorizontalCoordinatesTest.php +++ b/tests/Unit/HorizontalCoordinatesTest.php @@ -5,8 +5,10 @@ * PHP Version 8 * * @category Tests + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -24,8 +26,10 @@ * PHP Version 8 * * @category Tests + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class HorizontalCoordinatesTest extends BaseTestCase diff --git a/tests/Unit/MagnitudeTest.php b/tests/Unit/MagnitudeTest.php index d482dd8..7168db4 100644 --- a/tests/Unit/MagnitudeTest.php +++ b/tests/Unit/MagnitudeTest.php @@ -5,8 +5,10 @@ * PHP Version 8 * * @category Tests + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -21,8 +23,10 @@ * PHP Version 8 * * @category Tests + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class MagnitudeTest extends BaseTestCase diff --git a/tests/Unit/TargetTest.php b/tests/Unit/TargetTest.php index 6b69377..2301718 100644 --- a/tests/Unit/TargetTest.php +++ b/tests/Unit/TargetTest.php @@ -5,8 +5,10 @@ * PHP Version 8 * * @category Tests + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -38,8 +40,10 @@ * PHP Version 8 * * @category Tests + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class TargetTest extends BaseTestCase diff --git a/tests/Unit/TimeTest.php b/tests/Unit/TimeTest.php index 60a94c8..f515d38 100644 --- a/tests/Unit/TimeTest.php +++ b/tests/Unit/TimeTest.php @@ -5,8 +5,10 @@ * PHP Version 8 * * @category Tests + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ @@ -25,8 +27,10 @@ * PHP Version 8 * * @category Tests + * * @author Deepsky Developers * @license GPL3 + * * @link http://www.deepskylog.org */ class TimeTest extends BaseTestCase