Skip to content

Commit

Permalink
Moving Namespace
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Engebretson <[email protected]>
  • Loading branch information
adamgoose committed Feb 5, 2015
1 parent 3d1009b commit 080fb4f
Show file tree
Hide file tree
Showing 17 changed files with 874 additions and 37 deletions.
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/tests export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.scrutinizer.yml export-ignore
.travis.yml export-ignore
phpunit.php export-ignore
phpunit.xml export-ignore
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/vendor
composer.phar
composer.lock
.DS_Store
Thumbs.db
.idea
55 changes: 55 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
filter:
excluded_paths: [tests/*]

checks:
php:
code_rating: true
duplication: true
variable_existence: true
useless_calls: true
use_statement_alias_conflict: true
unused_variables: true
unused_properties: true
unused_parameters: true
unused_methods: true
unreachable_code: true
sql_injection_vulnerabilities: true
security_vulnerabilities: true
precedence_mistakes: true
precedence_in_conditions: true
parameter_non_unique: true
no_property_on_interface: true
no_non_implemented_abstract_methods: true
deprecated_code_usage: true
closure_use_not_conflicting: true
closure_use_modifiable: true
avoid_useless_overridden_methods: true
avoid_conflicting_incrementers: true
assignment_of_null_return: true
avoid_usage_of_logical_operators: true
ensure_lower_case_builtin_functions: true
foreach_traversable: true
function_in_camel_caps: true
instanceof_class_exists: true
lowercase_basic_constants: true
lowercase_php_keywords: true
missing_arguments: true
no_commented_out_code: true
no_duplicate_arguments: true
no_else_if_statements: true
no_space_between_concatenation_operator: true
no_space_inside_cast_operator: true
no_trailing_whitespace: true
no_underscore_prefix_in_properties: true
no_unnecessary_if: true
no_unnecessary_function_call_in_for_loop: true
non_commented_empty_catch_block: true
php5_style_constructor: true
parameters_in_camelcaps: true
prefer_while_loop_over_for_loop: true
properties_in_camelcaps: true
require_scope_for_methods: true
require_scope_for_properties: true
spacing_around_conditional_operators: true
spacing_around_non_conditional_operators: true
spacing_of_function_arguments: true
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
language: php

php:
- 5.4
- 5.5
- 5.6
- hhvm

sudo: false

install: travis_retry composer install --no-interaction --prefer-source

script: vendor/bin/phpunit
3 changes: 3 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Laravel Contribution Guide

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](http://laravel.com/docs/contributions). Please review the entire guide before sending a pull request.
21 changes: 21 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) <Adam Engebretson>

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.
55 changes: 29 additions & 26 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,33 @@
{
"name": "illuminate/html",
"license": "MIT",
"authors": [
{
"name": "Taylor Otwell",
"email": "[email protected]"
}
],
"require": {
"php": ">=5.4.0",
"illuminate/http": "~5.0",
"illuminate/session": "~5.0",
"illuminate/support": "~5.0"
"name": "illuminate/html",
"license": "MIT",
"authors": [
{
"name": "Adam Engebretson",
"email": "[email protected]"
},
"autoload": {
"psr-4": {
"Illuminate\\Html\\": ""
},
"files": [
"helpers.php"
]
{
"name": "Taylor Otwell",
"email": "[email protected]"
}
],
"require": {
"php": ">=5.4.0",
"illuminate/http": "~5.0",
"illuminate/routing": "~5.0",
"illuminate/session": "~5.0",
"illuminate/support": "~5.0"
},
"require-dev": {
"mockery/mockery": "~0.9",
"phpunit/phpunit": "~4.0"
},
"autoload": {
"psr-4": {
"Collective\\Html\\": "src/"
},
"extra": {
"branch-alias": {
"dev-master": "5.0-dev"
}
},
"minimum-stability": "dev"
"files": [
"src/helpers.php"
]
}
}
28 changes: 28 additions & 0 deletions phpunit.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

/*
|--------------------------------------------------------------------------
| Register The Composer Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader
| for our application. We just need to utilize it! We'll require it
| into the script here so that we do not have to worry about the
| loading of any our classes "manually". Feels great to relax.
|
*/

require __DIR__.'/vendor/autoload.php';

/*
|--------------------------------------------------------------------------
| Set The Default Timezone
|--------------------------------------------------------------------------
|
| Here we will set the default timezone for PHP. PHP is notoriously mean
| if the timezone is not explicitly set. This will be used by each of
| the PHP date and date-time functions throughout the application.
|
*/

date_default_timezone_set('UTC');
26 changes: 26 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="phpunit.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
syntaxCheck="true"
strict="false"
verbose="true"
>
<testsuites>
<testsuite name="Laravel Html Test Suite">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
</phpunit>
Loading

0 comments on commit 080fb4f

Please sign in to comment.