Skip to content

Commit

Permalink
vendor
Browse files Browse the repository at this point in the history
first
  • Loading branch information
zongerli committed Oct 18, 2017
1 parent d67d2c4 commit 7924714
Show file tree
Hide file tree
Showing 5,678 changed files with 642,212 additions and 2 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
33 changes: 33 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
APP_ENV=local
APP_KEY=base64:z5vOQXKMNHpuRyN/yOZ1yuNtZmBFNYWGXjo5/txSghk=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=lara
DB_USERNAME=root
DB_PASSWORD=root

BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null

PUSHER_APP_ID=
PUSHER_KEY=
PUSHER_SECRET=

2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/node_modules
/public/storage
/storage/*.key
/vendor
/.idea
Homestead.json
Homestead.yaml
.env
7 changes: 7 additions & 0 deletions vendor/autoload.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

// autoload.php @generated by Composer

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInit4323f42cdec68f3bca1630237bb4aa51::getLoader();
17 changes: 17 additions & 0 deletions vendor/bin/php-parse
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env sh

dir=$(d=${0%[/\\]*}; cd "$d"; cd "../nikic/php-parser/bin" && pwd)

# See if we are running in Cygwin by checking for cygpath program
if command -v 'cygpath' >/dev/null 2>&1; then
# Cygwin paths start with /cygdrive/ which will break windows PHP,
# so we need to translate the dir path to windows format. However
# we could be using cygwin PHP which does not require this, so we
# test if the path to PHP starts with /cygdrive/ rather than /usr/bin
if [[ $(which php) == /cygdrive/* ]]; then
dir=$(cygpath -m "$dir");
fi
fi

dir=$(echo $dir | sed 's/ /\ /g')
"${dir}/php-parse" "$@"
4 changes: 4 additions & 0 deletions vendor/bin/php-parse.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@ECHO OFF
setlocal DISABLEDELAYEDEXPANSION
SET BIN_TARGET=%~dp0/../nikic/php-parser/bin/php-parse
php "%BIN_TARGET%" %*
17 changes: 17 additions & 0 deletions vendor/bin/phpunit
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env sh

dir=$(d=${0%[/\\]*}; cd "$d"; cd "../phpunit/phpunit" && pwd)

# See if we are running in Cygwin by checking for cygpath program
if command -v 'cygpath' >/dev/null 2>&1; then
# Cygwin paths start with /cygdrive/ which will break windows PHP,
# so we need to translate the dir path to windows format. However
# we could be using cygwin PHP which does not require this, so we
# test if the path to PHP starts with /cygdrive/ rather than /usr/bin
if [[ $(which php) == /cygdrive/* ]]; then
dir=$(cygpath -m "$dir");
fi
fi

dir=$(echo $dir | sed 's/ /\ /g')
"${dir}/phpunit" "$@"
4 changes: 4 additions & 0 deletions vendor/bin/phpunit.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@ECHO OFF
setlocal DISABLEDELAYEDEXPANSION
SET BIN_TARGET=%~dp0/../phpunit/phpunit/phpunit
php "%BIN_TARGET%" %*
17 changes: 17 additions & 0 deletions vendor/bin/psysh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env sh

dir=$(d=${0%[/\\]*}; cd "$d"; cd "../psy/psysh/bin" && pwd)

# See if we are running in Cygwin by checking for cygpath program
if command -v 'cygpath' >/dev/null 2>&1; then
# Cygwin paths start with /cygdrive/ which will break windows PHP,
# so we need to translate the dir path to windows format. However
# we could be using cygwin PHP which does not require this, so we
# test if the path to PHP starts with /cygdrive/ rather than /usr/bin
if [[ $(which php) == /cygdrive/* ]]; then
dir=$(cygpath -m "$dir");
fi
fi

dir=$(echo $dir | sed 's/ /\ /g')
"${dir}/psysh" "$@"
4 changes: 4 additions & 0 deletions vendor/bin/psysh.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@ECHO OFF
setlocal DISABLEDELAYEDEXPANSION
SET BIN_TARGET=%~dp0/../psy/psysh/bin/psysh
php "%BIN_TARGET%" %*
22 changes: 22 additions & 0 deletions vendor/classpreloader/classpreloader/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The MIT License (MIT)

Copyright (c) 2013-2014 Michael Dowling <[email protected]>
Copyright (c) 2014-2016 Graham Campbell <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
41 changes: 41 additions & 0 deletions vendor/classpreloader/classpreloader/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"name": "classpreloader/classpreloader",
"description": "Helps class loading performance by generating a single PHP file containing all of the autoloaded files for a specific use case",
"keywords": ["autoload", "class", "preload"],
"license": "MIT",
"authors": [
{
"name": "Michael Dowling",
"email": "[email protected]"
},
{
"name": "Graham Campbell",
"email": "[email protected]"
}
],
"require":{
"php": ">=5.5.9",
"nikic/php-parser": "^1.0|^2.0|^3.0"
},
"require-dev":{
"phpunit/phpunit": "^4.8|^5.0"
},
"autoload": {
"psr-4": {
"ClassPreloader\\": "src/"
}
},
"autoload-dev": {
"classmap": ["tests/stubs/"]
},
"config": {
"preferred-install": "dist"
},
"extra": {
"branch-alias": {
"dev-master": "3.1-dev"
}
},
"minimum-stability": "dev",
"prefer-stable": true
}
115 changes: 115 additions & 0 deletions vendor/classpreloader/classpreloader/src/ClassList.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
<?php

/*
* This file is part of Class Preloader.
*
* (c) Graham Campbell <[email protected]>
* (c) Michael Dowling <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace ClassPreloader;

/**
* This is the class list class.
*
* This maintains a list of classes using a sort of doubly-linked list.
*/
class ClassList
{
/**
* The head node of the list.
*
* @var \ClassPreloader\ClassNode
*/
protected $head;

/**
* The current node of the list.
*
* @var \ClassPreloader\ClassNode
*/
protected $current;

/**
* Create a new class list instance.
*
* @return void
*/
public function __construct()
{
$this->clear();
}

/**
* Clear the contents of the list and reset the head node and current node.
*
* @return void
*/
public function clear()
{
$this->head = new ClassNode();
$this->current = $this->head;
}

/**
* Traverse to the next node in the list.
*
* @return void
*/
public function next()
{
if (isset($this->current->next)) {
$this->current = $this->current->next;
} else {
$this->current->next = new ClassNode(null, $this->current);
$this->current = $this->current->next;
}
}

/**
* Insert a value at the current position in the list.
*
* Any currently set value at this position will be pushed back in the list
* after the new value.
*
* @param mixed $value
*
* @return void
*/
public function push($value)
{
if (!$this->current->value) {
$this->current->value = $value;
} else {
$temp = $this->current;
$this->current = new ClassNode($value, $temp->prev);
$this->current->next = $temp;
$temp->prev = $this->current;
if ($temp === $this->head) {
$this->head = $this->current;
} else {
$this->current->prev->next = $this->current;
}
}
}

/**
* Traverse the ClassList and return a list of classes.
*
* @return array
*/
public function getClasses()
{
$classes = [];
$current = $this->head;
while ($current && $current->value) {
$classes[] = $current->value;
$current = $current->next;
}

return array_filter($classes);
}
}
Loading

0 comments on commit 7924714

Please sign in to comment.