Skip to content

Commit

Permalink
Merge pull request #660 from wouterj/small-doc-cleanups
Browse files Browse the repository at this point in the history
Various small documentation cleanups
  • Loading branch information
Ocramius authored Jan 10, 2021
2 parents 0e23c12 + 8d9f3fb commit 96bb91b
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 56 deletions.
8 changes: 3 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ title: Contributing
* The project will follow strict [object calisthenics](http://www.slideshare.net/guilhermeblanco/object-calisthenics-applied-to-php)
* Any contribution must provide tests for additional introduced conditions
* Any un-confirmed issue needs a failing test case before being accepted
* Pull requests must be sent from a new hotfix/feature branch, not from `master`.
* Pull requests must be sent from a new hotfix/feature branch

## Installation

Expand All @@ -18,12 +18,11 @@ To install the project and run the tests, you need to clone it first:
$ git clone git://github.com/Ocramius/ProxyManager.git
```

You will then need to run a composer installation:
Make sure you've [installed Composer](https://getcomposer.org/download/) and install the dependencies:

```sh
$ cd ProxyManager
$ curl -s https://getcomposer.org/installer | php
$ php composer.phar update
$ composer update
```

## Testing
Expand All @@ -35,4 +34,3 @@ $ ./vendor/bin/phpunit
```

Accepted coverage for new contributions is 80%. Any contribution not satisfying this requirement won't be merged.

4 changes: 0 additions & 4 deletions docs/access-interceptor-scope-localizer.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
title: Access Interceptor Scope Localizer Proxy
---

# Access Interceptor Scope Localizer Proxy

An access interceptor scope localizer is a smart reference proxy that allows you to dynamically define logic to be executed
Expand Down
4 changes: 0 additions & 4 deletions docs/access-interceptor-value-holder.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
title: Access Interceptor Value Holder Proxy
---

# Access Interceptor Value Holder Proxy

An *access interceptor value holder* is a smart reference proxy that allows you to dynamically define the logic that will be executed before or after any of the wrapped object's methods logic.
Expand Down
6 changes: 0 additions & 6 deletions docs/copyright.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
title: License
---

# License

Copyright (c) 2013 Marco Pivetta
Expand All @@ -11,5 +7,3 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
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.

---
6 changes: 0 additions & 6 deletions docs/credits.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
---
title: Credits
---

# Credits

The idea was originated by a [talk about Proxies in PHP OOP](https://ocramius.github.io/presentations/proxy-pattern-in-php/) that I gave at
the [@phpugffm](https://twitter.com/phpugffm) in January 2013.

---

### Contributors

- [Marco Pivetta](https://github.com/Ocramius)
Expand Down
8 changes: 2 additions & 6 deletions docs/download.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
---
title: Download / Installation
---

## Download / Installation

The suggested installation method is via [composer](https://getcomposer.org/).
The suggested installation method is via [Composer](https://getcomposer.org/):

```sh
php composer.phar require ocramius/proxy-manager:1.0.*
composer require ocramius/proxy-manager
```
4 changes: 0 additions & 4 deletions docs/generator-strategies.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
title: Generator strategies
---

# Generator strategies

ProxyManager allows you to generate classes based on generator strategies and a given `Laminas\Code\Generator\ClassGenerator` as of the [interface of a generator strategy](https://github.com/Ocramius/ProxyManager/blob/master/src/ProxyManager/GeneratorStrategy/GeneratorStrategyInterface.php).
Expand Down
4 changes: 0 additions & 4 deletions docs/lazy-loading-ghost-object.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
title: Lazy Loading Ghost Object Proxies
---

# Lazy Loading Ghost Object Proxies

A Lazy Loading Ghost is a type of proxy object.
Expand Down
4 changes: 0 additions & 4 deletions docs/lazy-loading-value-holder.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
title: Lazy Loading Value Holder Proxy
---

# Lazy Loading Value Holder Proxy

A lazy loading value holder proxy is a virtual proxy that wraps and lazily initializes a "real" instance of the proxied class.
Expand Down
4 changes: 0 additions & 4 deletions docs/null-object.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
title: Null Object Proxy
---

# Null Object Proxy

A Null Object proxy is a [null object pattern](http://en.wikipedia.org/wiki/Null_Object_pattern) implementation.
Expand Down
4 changes: 0 additions & 4 deletions docs/remote-object.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
title: Remote Object Proxy
---

# Remote Object Proxy

The remote object implementation is a mechanism that enables a local object to control another object on another server. Each
Expand Down
6 changes: 1 addition & 5 deletions docs/tuning-for-production.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
---
title: Tuning the ProxyManager for production
---

## Tuning the ProxyManager for production
# Tuning the ProxyManager for production

By default, all proxy factories generate the required proxy classes at runtime.

Expand Down

0 comments on commit 96bb91b

Please sign in to comment.