TimeLogger moved, League ranking also for not completed but started rounds
This commit is contained in:
parent
78a4a04cdf
commit
90c6d60ecd
26 changed files with 692 additions and 376 deletions
|
|
@ -38,6 +38,7 @@ return array(
|
|||
'App\\Leagues\\Match' => $baseDir . '/app/Leagues/Match.php',
|
||||
'App\\Mail\\RoundmailMailer' => $baseDir . '/app/Mail/RoundmailMailer.php',
|
||||
'App\\ManualPayout' => $baseDir . '/app/ManualPayout.php',
|
||||
'App\\MyClasses\\TimeLogger' => $baseDir . '/app/MyClasses/TimeLogger/TimeLogger.php',
|
||||
'App\\Payment' => $baseDir . '/app/Payment.php',
|
||||
'App\\Providers\\AppServiceProvider' => $baseDir . '/app/Providers/AppServiceProvider.php',
|
||||
'App\\Providers\\AuthServiceProvider' => $baseDir . '/app/Providers/AuthServiceProvider.php',
|
||||
|
|
|
|||
2
pfosten/vendor/composer/autoload_files.php
vendored
2
pfosten/vendor/composer/autoload_files.php
vendored
|
|
@ -13,8 +13,8 @@ return array(
|
|||
'023d27dca8066ef29e6739335ea73bad' => $vendorDir . '/symfony/polyfill-php70/bootstrap.php',
|
||||
'667aeda72477189d0494fecd327c3641' => $vendorDir . '/symfony/var-dumper/Resources/functions/dump.php',
|
||||
'2c102faa651ef8ea5874edb585946bce' => $vendorDir . '/swiftmailer/swiftmailer/lib/swift_required.php',
|
||||
'801c31d8ed748cfa537fa45402288c95' => $vendorDir . '/psy/psysh/src/functions.php',
|
||||
'6124b4c8570aa390c21fafd04a26c69f' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
|
||||
'801c31d8ed748cfa537fa45402288c95' => $vendorDir . '/psy/psysh/src/functions.php',
|
||||
'f0906e6318348a765ffb6eb24e0d0938' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/helpers.php',
|
||||
'58571171fd5812e6e447dce228f52f4d' => $vendorDir . '/laravel/framework/src/Illuminate/Support/helpers.php',
|
||||
'f18cc91337d49233e5754e93f3ed9ec3' => $vendorDir . '/laravelcollective/html/src/helpers.php',
|
||||
|
|
|
|||
3
pfosten/vendor/composer/autoload_static.php
vendored
3
pfosten/vendor/composer/autoload_static.php
vendored
|
|
@ -14,8 +14,8 @@ class ComposerStaticInita19fb0695e1b61b4feeb3cc3fbdd2feb
|
|||
'023d27dca8066ef29e6739335ea73bad' => __DIR__ . '/..' . '/symfony/polyfill-php70/bootstrap.php',
|
||||
'667aeda72477189d0494fecd327c3641' => __DIR__ . '/..' . '/symfony/var-dumper/Resources/functions/dump.php',
|
||||
'2c102faa651ef8ea5874edb585946bce' => __DIR__ . '/..' . '/swiftmailer/swiftmailer/lib/swift_required.php',
|
||||
'801c31d8ed748cfa537fa45402288c95' => __DIR__ . '/..' . '/psy/psysh/src/functions.php',
|
||||
'6124b4c8570aa390c21fafd04a26c69f' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
|
||||
'801c31d8ed748cfa537fa45402288c95' => __DIR__ . '/..' . '/psy/psysh/src/functions.php',
|
||||
'f0906e6318348a765ffb6eb24e0d0938' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/helpers.php',
|
||||
'58571171fd5812e6e447dce228f52f4d' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Support/helpers.php',
|
||||
'f18cc91337d49233e5754e93f3ed9ec3' => __DIR__ . '/..' . '/laravelcollective/html/src/helpers.php',
|
||||
|
|
@ -322,6 +322,7 @@ class ComposerStaticInita19fb0695e1b61b4feeb3cc3fbdd2feb
|
|||
'App\\Leagues\\Match' => __DIR__ . '/../..' . '/app/Leagues/Match.php',
|
||||
'App\\Mail\\RoundmailMailer' => __DIR__ . '/../..' . '/app/Mail/RoundmailMailer.php',
|
||||
'App\\ManualPayout' => __DIR__ . '/../..' . '/app/ManualPayout.php',
|
||||
'App\\MyClasses\\TimeLogger' => __DIR__ . '/../..' . '/app/MyClasses/TimeLogger/TimeLogger.php',
|
||||
'App\\Payment' => __DIR__ . '/../..' . '/app/Payment.php',
|
||||
'App\\Providers\\AppServiceProvider' => __DIR__ . '/../..' . '/app/Providers/AppServiceProvider.php',
|
||||
'App\\Providers\\AuthServiceProvider' => __DIR__ . '/../..' . '/app/Providers/AuthServiceProvider.php',
|
||||
|
|
|
|||
503
pfosten/vendor/composer/installed.json
vendored
503
pfosten/vendor/composer/installed.json
vendored
|
|
@ -1438,80 +1438,6 @@
|
|||
"php"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "psy/psysh",
|
||||
"version": "v0.9.6",
|
||||
"version_normalized": "0.9.6.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/bobthecow/psysh.git",
|
||||
"reference": "4a2ce86f199d51b6e2524214dc06835e872f4fce"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/bobthecow/psysh/zipball/4a2ce86f199d51b6e2524214dc06835e872f4fce",
|
||||
"reference": "4a2ce86f199d51b6e2524214dc06835e872f4fce",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"dnoegel/php-xdg-base-dir": "0.1",
|
||||
"jakub-onderka/php-console-highlighter": "0.3.*",
|
||||
"nikic/php-parser": "~1.3|~2.0|~3.0|~4.0",
|
||||
"php": ">=5.4.0",
|
||||
"symfony/console": "~2.3.10|^2.4.2|~3.0|~4.0",
|
||||
"symfony/var-dumper": "~2.7|~3.0|~4.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"bamarni/composer-bin-plugin": "^1.2",
|
||||
"hoa/console": "~2.15|~3.16",
|
||||
"phpunit/phpunit": "~4.8.35|~5.0|~6.0|~7.0"
|
||||
},
|
||||
"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.",
|
||||
"hoa/console": "A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit."
|
||||
},
|
||||
"time": "2018-06-10T17:57:20+00:00",
|
||||
"bin": [
|
||||
"bin/psysh"
|
||||
],
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-develop": "0.9.x-dev"
|
||||
}
|
||||
},
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
"files": [
|
||||
"src/functions.php"
|
||||
],
|
||||
"psr-4": {
|
||||
"Psy\\": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Justin Hileman",
|
||||
"email": "justin@justinhileman.info",
|
||||
"homepage": "http://justinhileman.com"
|
||||
}
|
||||
],
|
||||
"description": "An interactive shell for modern PHP.",
|
||||
"homepage": "http://psysh.org",
|
||||
"keywords": [
|
||||
"REPL",
|
||||
"console",
|
||||
"interactive",
|
||||
"shell"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "vlucas/phpdotenv",
|
||||
"version": "v2.5.1",
|
||||
|
|
@ -1849,67 +1775,6 @@
|
|||
"random"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "symfony/polyfill-php70",
|
||||
"version": "v1.8.0",
|
||||
"version_normalized": "1.8.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/polyfill-php70.git",
|
||||
"reference": "77454693d8f10dd23bb24955cffd2d82db1007a6"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/77454693d8f10dd23bb24955cffd2d82db1007a6",
|
||||
"reference": "77454693d8f10dd23bb24955cffd2d82db1007a6",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"paragonie/random_compat": "~1.0|~2.0",
|
||||
"php": ">=5.3.3"
|
||||
},
|
||||
"time": "2018-04-26T10:06:28+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.8-dev"
|
||||
}
|
||||
},
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Symfony\\Polyfill\\Php70\\": ""
|
||||
},
|
||||
"files": [
|
||||
"bootstrap.php"
|
||||
],
|
||||
"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 7.0+ features to lower PHP versions",
|
||||
"homepage": "https://symfony.com",
|
||||
"keywords": [
|
||||
"compatibility",
|
||||
"polyfill",
|
||||
"portable",
|
||||
"shim"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "symfony/http-foundation",
|
||||
"version": "v3.4.14",
|
||||
|
|
@ -2031,63 +1896,6 @@
|
|||
"description": "Symfony EventDispatcher Component",
|
||||
"homepage": "https://symfony.com"
|
||||
},
|
||||
{
|
||||
"name": "symfony/polyfill-ctype",
|
||||
"version": "v1.8.0",
|
||||
"version_normalized": "1.8.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/polyfill-ctype.git",
|
||||
"reference": "7cc359f1b7b80fc25ed7796be7d96adc9b354bae"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/7cc359f1b7b80fc25ed7796be7d96adc9b354bae",
|
||||
"reference": "7cc359f1b7b80fc25ed7796be7d96adc9b354bae",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.3.3"
|
||||
},
|
||||
"time": "2018-04-30T19:57:29+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.8-dev"
|
||||
}
|
||||
},
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Symfony\\Polyfill\\Ctype\\": ""
|
||||
},
|
||||
"files": [
|
||||
"bootstrap.php"
|
||||
]
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Symfony Community",
|
||||
"homepage": "https://symfony.com/contributors"
|
||||
},
|
||||
{
|
||||
"name": "Gert de Pagter",
|
||||
"email": "BackEndTea@gmail.com"
|
||||
}
|
||||
],
|
||||
"description": "Symfony polyfill for ctype functions",
|
||||
"homepage": "https://symfony.com",
|
||||
"keywords": [
|
||||
"compatibility",
|
||||
"ctype",
|
||||
"polyfill",
|
||||
"portable"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "symfony/http-kernel",
|
||||
"version": "v3.4.14",
|
||||
|
|
@ -2440,63 +2248,6 @@
|
|||
"description": "Symfony Translation Component",
|
||||
"homepage": "https://symfony.com"
|
||||
},
|
||||
{
|
||||
"name": "nesbot/carbon",
|
||||
"version": "1.32.0",
|
||||
"version_normalized": "1.32.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/briannesbitt/Carbon.git",
|
||||
"reference": "64563e2b9f69e4db1b82a60e81efa327a30ff343"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/64563e2b9f69e4db1b82a60e81efa327a30ff343",
|
||||
"reference": "64563e2b9f69e4db1b82a60e81efa327a30ff343",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.3.9",
|
||||
"symfony/translation": "~2.6 || ~3.0 || ~4.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"friendsofphp/php-cs-fixer": "~2",
|
||||
"phpunit/phpunit": "^4.8.35 || ^5.7"
|
||||
},
|
||||
"time": "2018-07-05T06:59:26+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"Carbon\\Laravel\\ServiceProvider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Brian Nesbitt",
|
||||
"email": "brian@nesbot.com",
|
||||
"homepage": "http://nesbot.com"
|
||||
}
|
||||
],
|
||||
"description": "A simple API extension for DateTime.",
|
||||
"homepage": "http://carbon.nesbot.com",
|
||||
"keywords": [
|
||||
"date",
|
||||
"datetime",
|
||||
"time"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mtdowling/cron-expression",
|
||||
"version": "v1.2.1",
|
||||
|
|
@ -3663,5 +3414,259 @@
|
|||
"portable",
|
||||
"shim"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "nesbot/carbon",
|
||||
"version": "1.33.0",
|
||||
"version_normalized": "1.33.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/briannesbitt/Carbon.git",
|
||||
"reference": "55667c1007a99e82030874b1bb14d24d07108413"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/55667c1007a99e82030874b1bb14d24d07108413",
|
||||
"reference": "55667c1007a99e82030874b1bb14d24d07108413",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.3.9",
|
||||
"symfony/translation": "~2.6 || ~3.0 || ~4.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"friendsofphp/php-cs-fixer": "~2",
|
||||
"phpunit/phpunit": "^4.8.35 || ^5.7"
|
||||
},
|
||||
"time": "2018-08-07T08:39:47+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"Carbon\\Laravel\\ServiceProvider"
|
||||
]
|
||||
}
|
||||
},
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Brian Nesbitt",
|
||||
"email": "brian@nesbot.com",
|
||||
"homepage": "http://nesbot.com"
|
||||
}
|
||||
],
|
||||
"description": "A simple API extension for DateTime.",
|
||||
"homepage": "http://carbon.nesbot.com",
|
||||
"keywords": [
|
||||
"date",
|
||||
"datetime",
|
||||
"time"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "symfony/polyfill-php70",
|
||||
"version": "v1.9.0",
|
||||
"version_normalized": "1.9.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/polyfill-php70.git",
|
||||
"reference": "1e24b0c4a56d55aaf368763a06c6d1c7d3194934"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/1e24b0c4a56d55aaf368763a06c6d1c7d3194934",
|
||||
"reference": "1e24b0c4a56d55aaf368763a06c6d1c7d3194934",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"paragonie/random_compat": "~1.0|~2.0|~9.99",
|
||||
"php": ">=5.3.3"
|
||||
},
|
||||
"time": "2018-08-06T14:22:27+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.9-dev"
|
||||
}
|
||||
},
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Symfony\\Polyfill\\Php70\\": ""
|
||||
},
|
||||
"files": [
|
||||
"bootstrap.php"
|
||||
],
|
||||
"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 7.0+ features to lower PHP versions",
|
||||
"homepage": "https://symfony.com",
|
||||
"keywords": [
|
||||
"compatibility",
|
||||
"polyfill",
|
||||
"portable",
|
||||
"shim"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "symfony/polyfill-ctype",
|
||||
"version": "v1.9.0",
|
||||
"version_normalized": "1.9.0.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/polyfill-ctype.git",
|
||||
"reference": "e3d826245268269cd66f8326bd8bc066687b4a19"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19",
|
||||
"reference": "e3d826245268269cd66f8326bd8bc066687b4a19",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.3.3"
|
||||
},
|
||||
"suggest": {
|
||||
"ext-ctype": "For best performance"
|
||||
},
|
||||
"time": "2018-08-06T14:22:27+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.9-dev"
|
||||
}
|
||||
},
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Symfony\\Polyfill\\Ctype\\": ""
|
||||
},
|
||||
"files": [
|
||||
"bootstrap.php"
|
||||
]
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Symfony Community",
|
||||
"homepage": "https://symfony.com/contributors"
|
||||
},
|
||||
{
|
||||
"name": "Gert de Pagter",
|
||||
"email": "BackEndTea@gmail.com"
|
||||
}
|
||||
],
|
||||
"description": "Symfony polyfill for ctype functions",
|
||||
"homepage": "https://symfony.com",
|
||||
"keywords": [
|
||||
"compatibility",
|
||||
"ctype",
|
||||
"polyfill",
|
||||
"portable"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "psy/psysh",
|
||||
"version": "v0.9.7",
|
||||
"version_normalized": "0.9.7.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/bobthecow/psysh.git",
|
||||
"reference": "4f5b6c090948773a8bfeea6a0f07ab7d0b24e932"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/bobthecow/psysh/zipball/4f5b6c090948773a8bfeea6a0f07ab7d0b24e932",
|
||||
"reference": "4f5b6c090948773a8bfeea6a0f07ab7d0b24e932",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"dnoegel/php-xdg-base-dir": "0.1",
|
||||
"ext-json": "*",
|
||||
"ext-tokenizer": "*",
|
||||
"jakub-onderka/php-console-highlighter": "0.3.*",
|
||||
"nikic/php-parser": "~1.3|~2.0|~3.0|~4.0",
|
||||
"php": ">=5.4.0",
|
||||
"symfony/console": "~2.3.10|^2.4.2|~3.0|~4.0",
|
||||
"symfony/var-dumper": "~2.7|~3.0|~4.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"bamarni/composer-bin-plugin": "^1.2",
|
||||
"hoa/console": "~2.15|~3.16",
|
||||
"phpunit/phpunit": "~4.8.35|~5.0|~6.0|~7.0"
|
||||
},
|
||||
"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.",
|
||||
"hoa/console": "A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit."
|
||||
},
|
||||
"time": "2018-08-11T15:54:43+00:00",
|
||||
"bin": [
|
||||
"bin/psysh"
|
||||
],
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-develop": "0.9.x-dev"
|
||||
}
|
||||
},
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
"files": [
|
||||
"src/functions.php"
|
||||
],
|
||||
"psr-4": {
|
||||
"Psy\\": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Justin Hileman",
|
||||
"email": "justin@justinhileman.info",
|
||||
"homepage": "http://justinhileman.com"
|
||||
}
|
||||
],
|
||||
"description": "An interactive shell for modern PHP.",
|
||||
"homepage": "http://psysh.org",
|
||||
"keywords": [
|
||||
"REPL",
|
||||
"console",
|
||||
"interactive",
|
||||
"shell"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1015,17 +1015,24 @@ class Carbon extends DateTime implements JsonSerializable
|
|||
}
|
||||
|
||||
/**
|
||||
* Throws an exception if the given object is not a DateTime and does not implement DateTimeInterface.
|
||||
* Throws an exception if the given object is not a DateTime and does not implement DateTimeInterface
|
||||
* and not in $other.
|
||||
*
|
||||
* @param mixed $date
|
||||
* @param mixed $date
|
||||
* @param string|array $other
|
||||
*
|
||||
* @throws \InvalidArgumentException
|
||||
*/
|
||||
protected static function expectDateTime($date)
|
||||
protected static function expectDateTime($date, $other = array())
|
||||
{
|
||||
$message = 'Expected ';
|
||||
foreach ((array) $other as $expect) {
|
||||
$message .= "{$expect}, ";
|
||||
}
|
||||
|
||||
if (!$date instanceof DateTime && !$date instanceof DateTimeInterface) {
|
||||
throw new InvalidArgumentException(
|
||||
'Expected null, string, DateTime or DateTimeInterface, '.
|
||||
$message.'DateTime or DateTimeInterface, '.
|
||||
(is_object($date) ? get_class($date) : gettype($date)).' given'
|
||||
);
|
||||
}
|
||||
|
|
@ -1049,7 +1056,7 @@ class Carbon extends DateTime implements JsonSerializable
|
|||
return static::parse($date, $this->getTimezone());
|
||||
}
|
||||
|
||||
static::expectDateTime($date);
|
||||
static::expectDateTime($date, array('null', 'string'));
|
||||
|
||||
return $date instanceof self ? $date : static::instance($date);
|
||||
}
|
||||
|
|
@ -1847,7 +1854,7 @@ class Carbon extends DateTime implements JsonSerializable
|
|||
/**
|
||||
* Set the default format used when type juggling a Carbon instance to a string
|
||||
*
|
||||
* @param string $format
|
||||
* @param string|Closure $format
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
|
|
@ -1863,7 +1870,9 @@ class Carbon extends DateTime implements JsonSerializable
|
|||
*/
|
||||
public function __toString()
|
||||
{
|
||||
return $this->format(static::$toStringFormat);
|
||||
$format = static::$toStringFormat;
|
||||
|
||||
return $this->format($format instanceof Closure ? $format($this) : $format);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -2284,7 +2293,7 @@ class Carbon extends DateTime implements JsonSerializable
|
|||
/**
|
||||
* Get the minimum instance between a given instance (default now) and the current instance.
|
||||
*
|
||||
* @param \Carbon\Carbon|\DateTimeInterface|mixed $date
|
||||
* @param \Carbon\Carbon|\DateTimeInterface|string|null $date
|
||||
*
|
||||
* @return static
|
||||
*/
|
||||
|
|
@ -2312,7 +2321,7 @@ class Carbon extends DateTime implements JsonSerializable
|
|||
/**
|
||||
* Get the maximum instance between a given instance (default now) and the current instance.
|
||||
*
|
||||
* @param \Carbon\Carbon|\DateTimeInterface|mixed $date
|
||||
* @param \Carbon\Carbon|\DateTimeInterface|string|null $date
|
||||
*
|
||||
* @return static
|
||||
*/
|
||||
|
|
@ -2523,7 +2532,7 @@ class Carbon extends DateTime implements JsonSerializable
|
|||
{
|
||||
$date = $date ?: static::now($this->tz);
|
||||
|
||||
static::expectDateTime($date);
|
||||
static::expectDateTime($date, 'null');
|
||||
|
||||
return $this->format($format) === $date->format($format);
|
||||
}
|
||||
|
|
@ -2572,7 +2581,7 @@ class Carbon extends DateTime implements JsonSerializable
|
|||
{
|
||||
$date = $date ? static::instance($date) : static::now($this->tz);
|
||||
|
||||
static::expectDateTime($date);
|
||||
static::expectDateTime($date, 'null');
|
||||
|
||||
$ofSameYear = is_null($ofSameYear) ? static::shouldCompareYearWithMonth() : $ofSameYear;
|
||||
|
||||
|
|
@ -4164,7 +4173,7 @@ class Carbon extends DateTime implements JsonSerializable
|
|||
*/
|
||||
public function endOfDay()
|
||||
{
|
||||
return $this->modify('23.59.59.999999');
|
||||
return $this->modify('23:59:59.999999');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -4322,7 +4331,7 @@ class Carbon extends DateTime implements JsonSerializable
|
|||
*/
|
||||
public function endOfHour()
|
||||
{
|
||||
return $this->setTime($this->hour, 59, 59);
|
||||
return $this->modify("$this->hour:59:59.999999");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -4342,7 +4351,27 @@ class Carbon extends DateTime implements JsonSerializable
|
|||
*/
|
||||
public function endOfMinute()
|
||||
{
|
||||
return $this->setTime($this->hour, $this->minute, 59);
|
||||
return $this->modify("$this->hour:$this->minute:59.999999");
|
||||
}
|
||||
|
||||
/**
|
||||
* Modify to start of current minute, seconds become 0
|
||||
*
|
||||
* @return static
|
||||
*/
|
||||
public function startOfSecond()
|
||||
{
|
||||
return $this->modify("$this->hour:$this->minute:$this->second.0");
|
||||
}
|
||||
|
||||
/**
|
||||
* Modify to end of current minute, seconds become 59
|
||||
*
|
||||
* @return static
|
||||
*/
|
||||
public function endOfSecond()
|
||||
{
|
||||
return $this->modify("$this->hour:$this->minute:$this->second.999999");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -4616,7 +4645,7 @@ class Carbon extends DateTime implements JsonSerializable
|
|||
/**
|
||||
* Modify the current instance to the average of a given instance (default now) and the current instance.
|
||||
*
|
||||
* @param \Carbon\Carbon|\DateTimeInterface|null $date
|
||||
* @param \Carbon\Carbon|\DateTimeInterface|string|null $date
|
||||
*
|
||||
* @return static
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -28,4 +28,13 @@ return array(
|
|||
'from_now' => ':time sonra',
|
||||
'after' => ':time sonra',
|
||||
'before' => ':time əvvəl',
|
||||
'diff_now' => 'indi',
|
||||
'diff_yesterday' => 'dünən',
|
||||
'diff_tomorrow' => 'sabah',
|
||||
'diff_before_yesterday' => 'srağagün',
|
||||
'diff_after_tomorrow' => 'birisi gün',
|
||||
'period_recurrences' => ':count dəfədən bir',
|
||||
'period_interval' => 'hər :interval',
|
||||
'period_start_date' => ':date tarixindən başlayaraq',
|
||||
'period_end_date' => ':date tarixinədək',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -10,22 +10,29 @@
|
|||
*/
|
||||
|
||||
return array(
|
||||
'year' => '১ বছর|:count বছর',
|
||||
'y' => '১ বছর|:count বছর',
|
||||
'month' => '১ মাস|:count মাস',
|
||||
'm' => '১ মাস|:count মাস',
|
||||
'week' => '১ সপ্তাহ|:count সপ্তাহ',
|
||||
'w' => '১ সপ্তাহ|:count সপ্তাহ',
|
||||
'day' => '১ দিন|:count দিন',
|
||||
'd' => '১ দিন|:count দিন',
|
||||
'hour' => '১ ঘন্টা|:count ঘন্টা',
|
||||
'h' => '১ ঘন্টা|:count ঘন্টা',
|
||||
'minute' => '১ মিনিট|:count মিনিট',
|
||||
'min' => '১ মিনিট|:count মিনিট',
|
||||
'second' => '১ সেকেন্ড|:count সেকেন্ড',
|
||||
's' => '১ সেকেন্ড|:count সেকেন্ড',
|
||||
'ago' => ':time পূর্বে',
|
||||
'from_now' => 'এখন থেকে :time',
|
||||
'after' => ':time পরে',
|
||||
'before' => ':time আগে',
|
||||
'year' => '১ বছর|:count বছর',
|
||||
'y' => '১ বছর|:count বছর',
|
||||
'month' => '১ মাস|:count মাস',
|
||||
'm' => '১ মাস|:count মাস',
|
||||
'week' => '১ সপ্তাহ|:count সপ্তাহ',
|
||||
'w' => '১ সপ্তাহ|:count সপ্তাহ',
|
||||
'day' => '১ দিন|:count দিন',
|
||||
'd' => '১ দিন|:count দিন',
|
||||
'hour' => '১ ঘন্টা|:count ঘন্টা',
|
||||
'h' => '১ ঘন্টা|:count ঘন্টা',
|
||||
'minute' => '১ মিনিট|:count মিনিট',
|
||||
'min' => '১ মিনিট|:count মিনিট',
|
||||
'second' => '১ সেকেন্ড|:count সেকেন্ড',
|
||||
's' => '১ সেকেন্ড|:count সেকেন্ড',
|
||||
'ago' => ':time পূর্বে',
|
||||
'from_now' => 'এখন থেকে :time',
|
||||
'after' => ':time পরে',
|
||||
'before' => ':time আগে',
|
||||
'diff_now' => 'এখন',
|
||||
'diff_yesterday' => 'গতকাল',
|
||||
'diff_tomorrow' => 'আগামীকাল',
|
||||
'period_recurrences' => ':count বার|:count বার',
|
||||
'period_interval' => 'প্রতি :interval',
|
||||
'period_start_date' => ':date থেকে',
|
||||
'period_end_date' => ':date পর্যন্ত',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ return array(
|
|||
'second' => ':count segon|:count segons',
|
||||
's' => ':count segon|:count segons',
|
||||
'ago' => 'fa :time',
|
||||
'from_now' => 'dins de :time',
|
||||
'from_now' => 'd\'aquí :time',
|
||||
'after' => ':time després',
|
||||
'before' => ':time abans',
|
||||
'diff_now' => 'ara mateix',
|
||||
|
|
|
|||
|
|
@ -31,6 +31,6 @@ return array(
|
|||
'diff_now' => 'ahora mismo',
|
||||
'diff_yesterday' => 'ayer',
|
||||
'diff_tomorrow' => 'mañana',
|
||||
'diff_before_yesterday' => 'anteayer',
|
||||
'diff_before_yesterday' => 'antier',
|
||||
'diff_after_tomorrow' => 'pasado mañana',
|
||||
);
|
||||
|
|
|
|||
2
pfosten/vendor/psy/psysh/composer.json
vendored
2
pfosten/vendor/psy/psysh/composer.json
vendored
|
|
@ -14,6 +14,8 @@
|
|||
],
|
||||
"require": {
|
||||
"php": ">=5.4.0",
|
||||
"ext-json": "*",
|
||||
"ext-tokenizer": "*",
|
||||
"symfony/console": "~2.3.10|^2.4.2|~3.0|~4.0",
|
||||
"symfony/var-dumper": "~2.7|~3.0|~4.0",
|
||||
"nikic/php-parser": "~1.3|~2.0|~3.0|~4.0",
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
$config->setRuntimeDir(sys_get_temp_dir() . '/psysh_test/withconfig/temp');
|
||||
$config->setRuntimeDir(\sys_get_temp_dir() . '/psysh_test/withconfig/temp');
|
||||
|
||||
return [
|
||||
'useReadline' => true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue