Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Письменов Дмитрий Иванович
/
yourroomads
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e867312b
authored
May 22, 2019
by
Jonathan Reinink
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove ranger library that's not being used
1 parent
1a54c228
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
189 deletions
app/Providers/AppServiceProvider.php
composer.json
composer.lock
app/Providers/AppServiceProvider.php
View file @
e867312
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
namespace
App\Providers
;
namespace
App\Providers
;
use
Inertia\Inertia
;
use
Inertia\Inertia
;
use
OpenPsa\Ranger\Ranger
;
use
Carbon\CarbonImmutable
;
use
Carbon\CarbonImmutable
;
use
Illuminate\Support\Collection
;
use
Illuminate\Support\Collection
;
use
Illuminate\Pagination\UrlWindow
;
use
Illuminate\Pagination\UrlWindow
;
...
@@ -54,7 +53,6 @@ class AppServiceProvider extends ServiceProvider
...
@@ -54,7 +53,6 @@ class AppServiceProvider extends ServiceProvider
});
});
$this
->
registerLengthAwarePaginator
();
$this
->
registerLengthAwarePaginator
();
$this
->
registerCarbonMarcos
();
}
}
protected
function
registerLengthAwarePaginator
()
protected
function
registerLengthAwarePaginator
()
...
@@ -128,14 +126,4 @@ class AppServiceProvider extends ServiceProvider
...
@@ -128,14 +126,4 @@ class AppServiceProvider extends ServiceProvider
};
};
});
});
}
}
protected
function
registerCarbonMarcos
()
{
CarbonImmutable
::
macro
(
'range'
,
function
(
$to
)
{
return
(
new
Ranger
(
'en'
))
->
format
(
$this
->
toDateString
(),
$to
->
toDateString
()
);
});
}
}
}
composer.json
View file @
e867312
...
@@ -11,7 +11,6 @@
...
@@ -11,7 +11,6 @@
"inertiajs/inertia-laravel"
:
"dev-master"
,
"inertiajs/inertia-laravel"
:
"dev-master"
,
"laravel/framework"
:
"5.8.*"
,
"laravel/framework"
:
"5.8.*"
,
"laravel/tinker"
:
"^1.0"
,
"laravel/tinker"
:
"^1.0"
,
"openpsa/ranger"
:
"^0.4.0"
,
"reinink/remember-query-strings"
:
"^0.1.0"
,
"reinink/remember-query-strings"
:
"^0.1.0"
,
"tightenco/ziggy"
:
"^0.6.9"
"tightenco/ziggy"
:
"^0.6.9"
},
},
...
...
composer.lock
View file @
e867312
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
"This file is @generated automatically"
],
],
"content-hash": "
59c0329fa4c0fd62d2b0fd0eb3fb167c
",
"content-hash": "
1e43fb8319fde39e81c34881865fe457
",
"packages": [
"packages": [
{
{
"name": "dnoegel/php-xdg-base-dir",
"name": "dnoegel/php-xdg-base-dir",
...
@@ -1041,48 +1041,6 @@
...
@@ -1041,48 +1041,6 @@
"time": "2019-02-16T20:54:15+00:00"
"time": "2019-02-16T20:54:15+00:00"
},
},
{
{
"name": "openpsa/ranger",
"version": "v0.4.0",
"source": {
"type": "git",
"url": "https://github.com/flack/ranger.git",
"reference": "c0af25836e5923ee69f57ce4a8ff740b19ecfad6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/flack/ranger/zipball/c0af25836e5923ee69f57ce4a8ff740b19ecfad6",
"reference": "c0af25836e5923ee69f57ce4a8ff740b19ecfad6",
"shasum": ""
},
"require": {
"php": ">=5.4.0",
"symfony/intl": "~2.6|~3.4|~4.0"
},
"type": "library",
"autoload": {
"psr-4": {
"OpenPsa\\Ranger\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Andreas Flack",
"email": "flack@contentcontrol-berlin.de",
"homepage": "http://www.contentcontrol-berlin.de/"
}
],
"description": "Formatter for date and time ranges with i18n support",
"keywords": [
"date range",
"time range"
],
"time": "2018-07-23T12:30:50+00:00"
},
{
"name": "opis/closure",
"name": "opis/closure",
"version": "3.2.0",
"version": "3.2.0",
"source": {
"source": {
...
@@ -2149,81 +2107,6 @@
...
@@ -2149,81 +2107,6 @@
"time": "2019-05-01T13:31:08+00:00"
"time": "2019-05-01T13:31:08+00:00"
},
},
{
{
"name": "symfony/intl",
"version": "v4.2.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/intl.git",
"reference": "14c5883fd9555d9cf50d35a1118bbd56901ea24b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/intl/zipball/14c5883fd9555d9cf50d35a1118bbd56901ea24b",
"reference": "14c5883fd9555d9cf50d35a1118bbd56901ea24b",
"shasum": ""
},
"require": {
"php": "^7.1.3",
"symfony/polyfill-intl-icu": "~1.0"
},
"require-dev": {
"symfony/filesystem": "~3.4|~4.0"
},
"suggest": {
"ext-intl": "to use the component with locales other than \"en\""
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.2-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Component\\Intl\\": ""
},
"classmap": [
"Resources/stubs"
],
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Bernhard Schussek",
"email": "bschussek@gmail.com"
},
{
"name": "Eriksen Costa",
"email": "eriksen.costa@infranology.com.br"
},
{
"name": "Igor Wiedler",
"email": "igor@wiedler.ch"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "A PHP replacement layer for the C intl extension that includes additional data from the ICU library.",
"homepage": "https://symfony.com",
"keywords": [
"i18n",
"icu",
"internationalization",
"intl",
"l10n",
"localization"
],
"time": "2019-04-27T11:48:17+00:00"
},
{
"name": "symfony/polyfill-ctype",
"name": "symfony/polyfill-ctype",
"version": "v1.11.0",
"version": "v1.11.0",
"source": {
"source": {
...
@@ -2341,64 +2224,6 @@
...
@@ -2341,64 +2224,6 @@
"time": "2019-02-06T07:57:58+00:00"
"time": "2019-02-06T07:57:58+00:00"
},
},
{
{
"name": "symfony/polyfill-intl-icu",
"version": "v1.11.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-icu.git",
"reference": "999878a3a09d73cae157b0cf89bb6fb2cc073057"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-intl-icu/zipball/999878a3a09d73cae157b0cf89bb6fb2cc073057",
"reference": "999878a3a09d73cae157b0cf89bb6fb2cc073057",
"shasum": ""
},
"require": {
"php": ">=5.3.3",
"symfony/intl": "~2.3|~3.0|~4.0"
},
"suggest": {
"ext-intl": "For best performance"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.9-dev"
}
},
"autoload": {
"files": [
"bootstrap.php"
]
},
"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 for intl's ICU-related data and classes",
"homepage": "https://symfony.com",
"keywords": [
"compatibility",
"icu",
"intl",
"polyfill",
"portable",
"shim"
],
"time": "2019-01-07T19:39:47+00:00"
},
{
"name": "symfony/polyfill-intl-idn",
"name": "symfony/polyfill-intl-idn",
"version": "v1.11.0",
"version": "v1.11.0",
"source": {
"source": {
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment