Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
Update boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
fredemmott committed Feb 14, 2017
1 parent f9f4db6 commit b901832
Show file tree
Hide file tree
Showing 36 changed files with 83 additions and 34 deletions.
44 changes: 44 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Contributing to hhvm-autoload
We want to make contributing to this project as easy and transparent as
possible.

## Our Development Process

All development is direclty on GitHub.

## Pull Requests
We actively welcome your pull requests.

1. Fork the repo and create your branch from `master`.
2. If you've added code that should be tested, add tests.
3. If you've changed APIs, update the documentation.
4. Ensure the test suite passes.
5. Make sure your code lints.
6. If you haven't already, complete the Contributor License Agreement ("CLA").

## Contributor License Agreement ("CLA")
In order to accept your pull request, we need you to submit a CLA. You only need
to do this once to work on any of Facebook's open source projects.

Complete your CLA here: <https://code.facebook.com/cla>

## Issues
We use GitHub issues to track public bugs. Please ensure your description is
clear and has sufficient instructions to be able to reproduce the issue.

Facebook has a [bounty program](https://www.facebook.com/whitehat/) for the safe
disclosure of security bugs. In those cases, please go through the process
outlined on that page and do not file a public issue.

## Coding Style

Coding should match `hh_format`/`hackfmt` where practical; the key parts are:

* 2 spaces for indentation rather than tabs
* 80 character line length
* indent, don't align

## License

By contributing to hhvm-autoload, you agree that your contributions will be licensed
under the LICENSE file in the root directory of this source tree.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ How It Works

The [Composer plugin API](https://getcomposer.org/doc/articles/plugins.md) allows it to re-generate the `vendor/hh_autoload.php` file automatically whenever Composer itself regenerates `vendor/autoload.php`

Contributing
============

We welcome GitHub issues and pull requests - please see CONTRIBUTING.md for details.

License
=======

Expand Down
2 changes: 1 addition & 1 deletion src/AutoloadFilesBehavior.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion src/AutoloadMap.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion src/ComposerPlugin.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion src/Config.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion src/ConfigurationException.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion src/ConfigurationLoader.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion src/Exception.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion src/Merger.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion src/Writer.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion src/builders/Builder.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion src/builders/ComposerImporter.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion src/builders/HHImporter.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion src/builders/RootImporter.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion src/builders/Scanner.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion src/filters/BasePSRFilter.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion src/filters/ClassesOnlyFilter.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion src/filters/PSR0Filter.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion src/filters/PSR4Filter.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion src/filters/PathExclusionFilter.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion tests/ComposerImporterTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion tests/ConfigurationLoaderTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion tests/RootImporterTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion tests/ScannerTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/bootstrap_test.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/hh-only/src/class.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/hh-only/src/constant.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/hh-only/src/enum.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/hh-only/src/function.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/hh-only/src/newtype.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/hh-only/src/type.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/hh-only/src/xhp_class.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/hh-only/test.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?hh // strict
/*
* Copyright (c) 2015, Facebook, Inc.
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
Expand Down

0 comments on commit b901832

Please sign in to comment.